![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
VGUI Widget: List Box.
A box containing a listing of items. Taking up as much space as any vguiTextBox. When interacted with, gives you the choice of making a selection of an undefined selection of items.
Public Member Functions | |
| void | vguiFeederListBox (void) |
| nonvirtual string | GetItem (void) |
| nonvirtual void | SelectionComplete (string) |
| nonvirtual void | ShowPicker (void) |
| nonvirtual void | HidePicker (void) |
| nonvirtual void | SetFeederType (float feederType) |
| nonvirtual void | SetText (string feederType) |
| nonvirtual void | CallOnSelectionChanged (void(vguiWidget sender) vFunc) |
| nonvirtual void | CallOnSelectionChangedWithDelegate (void(vguiWidget sender) vFunc, vguiWidget delegateWidget) |
| virtual void | Draw (void) |
| Called in order to draw the widget. More... | |
| virtual bool | Input (float, float, float, float) |
| Called whenever an input event gets directed to the widget. More... | |
| virtual void | Spawned (void) |
| Called when the widget has fully initialized. More... | |
| void vguiFeederListBox::vguiFeederListBox | ( | void | ) |
| void vguiFeederListBox::CallOnSelectionChanged | ( | void(vguiWidget sender) | vFunc | ) |
| void vguiFeederListBox::CallOnSelectionChangedWithDelegate | ( | void(vguiWidget sender) | vFunc, |
| vguiWidget | delegateWidget | ||
| ) |
|
virtual |
Called in order to draw the widget.
Reimplemented from vguiWidget.
| string vguiFeederListBox::GetItem | ( | void | ) |
| void vguiFeederListBox::HidePicker | ( | void | ) |
|
virtual |
Called whenever an input event gets directed to the widget.
Reimplemented from vguiWidget.
| void vguiFeederListBox::SelectionComplete | ( | string | selectedString | ) |
| void vguiFeederListBox::SetFeederType | ( | float | feederType | ) |
| void vguiFeederListBox::SetText | ( | string | feederType | ) |
| void vguiFeederListBox::ShowPicker | ( | void | ) |
|
virtual |
Called when the widget has fully initialized.
When you override this, you may call super::Spawned(); to ensure the parent classes get to finish initializing also.
Reimplemented from vguiWidget.