Difference between revisions of "LavishGUI:UIElement (Top-Level Object)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Forms ==
 
== Forms ==
*[[ISSession:isuielement (Data Type)|isuielement]] '''UIElement['''element name''']'''
+
*[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''element [[LavishGUI:Elements#Notes_on_Element_Names|Fully-Qualified Name]]''']'''
: Retrieves a top-level 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 isuielement type.
+
: 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.
*[[ISSession:isuielement (Data Type)|isuielement]] '''UIElement['''#''']'''
+
*[[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 isuielement type.
+
: 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 ==
See [[ISSession:isuielement (Data Type)#Examples|isuielement 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]]
  
{{TLO-Stub}}
+
[[Category:LavishGUI]]
[[Category:Inner Space]]
 
[[Category:Inner Space Session]]
 
[[Category:Inner Space Session Top-Level Objects]]
 

Latest revision as of 21:38, 10 October 2006

Forms

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.
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}

See lguielement examples

See Also