Links |
---|
Returns the object's widget type.
type = UIObject:GetObjectType()
Returns
- type
- string - The name of an widget type, e.g. "Frame" or "Button".
Example
/dump CreateFrame("Button"):GetObjectType() -- "Button"
Patch changes
Patch 1.11.0 (2006-06-19): Added
Region:GetObjectType()
[1]Patch 1.10.0 (2006-03-28): Added
Frame:GetObjectType()
,Texture:GetObjectType()
andFontString:GetObjectType()
[2]- Previously was
Frame:GetFrameType()
, which remained an alias for a time
- Previously was
See also
References
- ^
slouken 2006-05-12. Re: Upcoming 1.11 Changes - Concise List. Archived from the original on 2006-05-12.
- ^
slouken 2006-01-19. Re: Upcoming 1.10 Changes - Concise List. Archived from the original on 2006-01-19.