Gambas Documentation - /comp/gb.gtk/combobox

/comp/gb.gtk/combobox

# ComboBox (gb.gtk)

Implements a text box combined with a popup list box.

(The picture shows two comboboxes, the second being read-only).

This class inherits Control.
This class is
Creates a new ComboBox control.
creatable
.
This class acts like a
Returns a combo-box item from its index.
read-only
array.

Properties | Methods | Events
--- | --- | ---

Action
Returns or sets the background color used by the control.
Background
Border
Returns the number of elements in the popup list box.
Count
Returns the current selected item of the popup list box.
Current
Use this property for assigning a custom cursor to a control.
Cursor
Indicates that the control is in design mode.
Design
Returns or sets if a control accepts drops.
Drop
Indicates that the control is enabled.
Enabled
Returns or sets if a control will expand if included in a container that arranges its contents.
Expand
Returns or sets the font used to draw text in the control.
Font
Returns or sets the foreground color used by the control.
Foreground
H Handle HasFocus Height Hovered Id Ignore
Returns the index of the current selected item of the popup list box.
Index
Left Length List MaxLength
Returns or sets the appearence of the cursor when it points inside the control.
Mouse
Name Next NoTabFocus Parent Password PopupMenu Pos Previous Proxy ReadOnly ScreenX ScreenY Selected Selection Sorted Tag Text ToolTip Top Tracking Visible W Width Window X Y

Add Clear Delete Drag Find Grab Hide Insert Lower Move MoveScaled Popup Raise Refresh Remove Reparent Resize ResizeScaled Select SelectAll SetFocus Show Unselect

Activate Change Click DblClick Drag DragLeave DragMove Drop Enter GotFocus KeyPress KeyRelease Leave LostFocus Menu MouseDown MouseDrag MouseMove MouseUp MouseWheel