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")
- ... Parent: Parent element
- ... Children: First child element (bottom of Z order)
- ... Next: Next element
- ... Previous: Previous element
- ... FindChild[name]: Finds a direct child of this element with the given name
- ... FindUsableChild[name,type]: Finds a descendant of this element with the given name and element type
Methods
- LeftClick
- LeftMouseDown
- LeftMouseUp
- RightClick
- RightMouseDown
- RightMouseUp
- SetX[#]
- SetY[#]
- SetWidth[#]
- SetHeight[#]
- SetFocus
- SetZOrder[how]
- Show
- Hide
- ToggleVisible
Returns
Same as Name