Returns: True if Yes selected, otherwise False.
Returns: The index of the selected option, -1 for none.
title is the menu title, options the options to display and x and y specify its position,.
Returns: The created widget.
gui is the TGUIHandler object managing this wiget. x and y are its position and text is the text to display in the label.
Returns: The created widget.
gui is the TGUIHandler object managing this wiget. x and y are its position and text is the initial text in the widget. maxlen is the maximum number of characters allowed. callback is called when RETURN is pressed in the text field.
Returns: The created widget.
gui is the TGUIHandler object managing this wiget. x and y are its position and text is the text to display by the checkbox. callback is called when the checkbox is toggled.
Returns: The created widget.
gui is the TGUIHandler object managing this wiget. x, y, w and h are its position and size, and text is the text to display in the button. callback is called when the button is pressed.
Returns: The created widget.
gui is the TGUIHandler object managing this wiget. x and y are its position. options are the options for the list and selected is the currently selected item. callback is called when the selection changes.
Widgets call this themselves.
Returns: The currently focused TWidget, or null for no focus.
Returns: The last clicked TWidget. Null is returned if this is called again before another widget is clicked.
KeyHit(KEY_MOUSELEFT) and GetChar() are used to consume events for the interface.
Returns: The GUI Hanbler.
Framework | (Very) Simple GUI |
Copyright | Public Domain |
Author | Ian Cowburn |
Version | $Revision$ |