Vguielement (Data Type)¶
- Table of contents
- Vguielement (Data Type)
- Description
- Members
- Methods
- Example
Description¶
This DataType includes all of the data available to ISXVG that is related to VG UI Windows.
Members¶
-
bool
IsDrawn
-
bool
IsVisible
-
bool
IsEnabled
- vguielement
Parent
-
string
Name
-
string
Text
- ie, "EditBox", "TextField" types, etc.
-
string
ToolTip
- vguielement
Child[NAME]
- The argument for this is the "name=" field in the xml files, not the "searchKey=" that the VGUI TLO uses.
Methods¶
-
SetText[Text]
- Currently only verified to work for "EditBox" type uielements.
Example¶
echo ${VGUI[_inventory_examine].Child[_inventory_examine_name].Text}