LavishGUI:lguielement (Data Type)
Jump to navigation
Jump to search
Description
Members
- string Name: Name of the element
- int ID: Unique ID number of the element
- int X: X position relative to its parent
- int Y: Y position relative to its parent
- int AbsoluteX: X position relative to the display
- int AbsoluteY: Y position relative to the display
- int Width: Width of the element
- int Height: Height of the element
- bool Visible: True if the element is visible
- bool AlwaysOnTop: True if the element is "always on top"
- bool MouseOver: True if the element has mouse focus
- bool Focus: True of the element has keyboard focus
- string Type: Element type (such as "button")
- isuielement Parent: Parent element
- isuielement Children: First child element (bottom of Z order)
- isuielement Next: Next element
- isuielement Previous: Previous element
- isuielement FindChild[name]: Finds a direct child of this element with the given name
- isuielement FindUsableChild[name,type]: Finds a descendant of this element with the given name and element type
- GetType[ui element type]: Grabs this element as the given UI element type, if possible
Methods
- LeftClick
- LeftMouseDown
- LeftMouseUp
- RightClick
- RightMouseDown
- RightMouseUp
- SetX[#]
- SetY[#]
- SetWidth[#]
- SetHeight[#]
- SetFocus
- SetZOrder[how]
- Show
- Hide
- ToggleVisible
Returns
Same as Name