wowpedia
Main Menu


Returns the object's widget type.

objectType = FrameScriptObject:GetObjectType()

Returns

objectType
string

Example

/dump CreateFrame("Button"):GetObjectType() -- "Button"