ParentedObject

From Warcraft Wiki
Jump to navigation Jump to search

ParentedObject (inherits from UIObject) is an abstract UI type that provides support for querying the parent of a given object. Some parents are set implicitly (such as font strings and textures), and some others may be set explicitly using Region:SetParent() or Animation:SetParent().

Methods

ParentedObject:GetDebugName() - Returns the widget object's debug name.
ParentedObject:GetParent() - Returns the widget's parent object.
ParentedObject:IsForbidden() - Returns if this widget's methods may only be called from secure execution paths.
ParentedObject:SetForbidden() - Sets the widget to be forbidden for insecure code.

See also