Difference between revisions of "LavishGUI:UIElement (Top-Level Object)"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Forms == | == Forms == | ||
− | *[[ | + | *[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''element [[LavishGUI:Elements#Notes_on_Element_Names|Fully-Qualified Name]]''']''' |
− | : Retrieves a | + | : Retrieves a UI element. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an lguielement type. |
− | *[[ | + | *[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''#''']''' |
− | : Retrieves any UI element by ID number. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an | + | : Retrieves any UI element by ID number. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an lguielement type. |
== Examples == | == Examples == | ||
+ | echo Element #: ${UIElement[fps@main hud].ID} | ||
+ | See [[LavishGUI:lguielement (Data Type)#Examples|lguielement examples]] | ||
== See Also == | == See Also == | ||
+ | *[[LavishGUI]] | ||
*[[LavishScript:Top-Level Objects|LavishScript Top-Level Objects]] | *[[LavishScript:Top-Level Objects|LavishScript Top-Level Objects]] | ||
*[[IS:Session#Top-Level Objects|Inner Space Session Top-Level Objects]] | *[[IS:Session#Top-Level Objects|Inner Space Session Top-Level Objects]] | ||
− | + | [[Category:LavishGUI]] | |
− | [[Category: | ||
− | |||
− |
Latest revision as of 21:38, 10 October 2006
Forms
- lguielement UIElement[element Fully-Qualified Name]
- Retrieves a UI element. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an lguielement type.
- lguielement UIElement[#]
- Retrieves any UI element by ID number. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an lguielement type.
Examples
echo Element #: ${UIElement[fps@main hud].ID}