Wowpedia
Advertisement
Wowpedia
240,442
pages

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

  • WoW Icon update.png Patch 1.11.0 / API (2006-06-19): Added Region:GetObjectType()[1]
  • WoW Icon update.png Patch 1.10.0 / API (2006-03-28): Added Frame:GetObjectType(), Texture:GetObjectType() and FontString:GetObjectType()[2]
    Previously was Frame:GetFrameType(), which remained an alias for a time

See also

External links

References

  1. ^ Blizzard Entertainment slouken 2006-05-12. Re: Upcoming 1.11 Changes - Concise List. Archived from the original on 2006-05-12.
  2. ^ Blizzard Entertainment slouken 2006-01-19. Re: Upcoming 1.10 Changes - Concise List. Archived from the original on 2006-01-19.
Advertisement