Wowpedia
Advertisement
Wowpedia
240,483
pages

Returns the widget's parent object.

parent = ParentedObject:GetParent()

Returns

parent 
UIObject? - The parent of the given widget object, otherwise returns nil

Details

  • Some properties are inherited from the parent, e.g. scale and visibility.

Example

/dump WorldMapFrame:GetParent():GetName() -- "UIParent"

Patch changes

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