ParentedObject is an abstract UI type that provides support for querying the parent of a given object. Some object parents are set implicitly (such as in the case of font strings and textures) whereas others are set explicitly using the SetParent()
method provided by the Region object type.
Defined Methods
- parent = ParentedObject:GetParent() - Returns the object's parent object
Inherited Methods
- name = ParentedObject:GetName() - Returns the widget object's name
- type = ParentedObject:GetObjectType() - Returns the object's widget type
- isType = ParentedObject:IsObjectType("type") - Returns whether the object belongs to a given widget type