SYNOPSIS
|
DESCRIPTION
![]() ![]() |
INHERITANCE HIERARCHY
AG_Object(3)-> AG_Widget(3)-> AG_Combo. |
INITIALIZATION
The AG_ComboNew() function allocates, initializes, and attaches a new AG_Combo widget. The string argument specifies an optional text label to be displayed at the left of the textbox. Acceptable flags include:
The AG_ComboSizeHint() function arranges for the AG_Tlist(3) widget displayed on popup to request a size large enough to display the given number of items. The AG_ComboSizeHintPixels() variant specifies the width in number of pixels. |
ITEM SELECTION
EVENTS
The
AG_Combo widget generates the following events:
|
STRUCTURE DATA
For the
AG_Combo object:
|
EXAMPLES
The following code fragment reacts to a
AG_Combo selection event by displaying a text dialog:
|
SEE ALSO
AG_Button(3), AG_Intro(3), AG_Textbox(3), AG_Tlist(3), AG_Widget(3), AG_Window(3) |
HISTORY
The AG_Combo widget first appeared in Agar 1.0. |