Extracted from Pike v8.0 release 276 as of 2016-07-29.
   

Class GTK2.ComboBox

Inheritance graph
GTK2.CellEditable GTK2.CellLayout GTK2.G.Object GTK2.G.InitiallyUnowned GTK2.Object GTK2.Widget GTK2.Container GTK2.Bin GTK2.ComboBox GTK2.ComboBoxEntry
Description

Properties: int active int add-tearoffs int column-span-column int focus-on-click int has-frame GTK2.TreeModel model int row-span-column string tearoff-title int wrap-width

Style properties: int appears-as-list int arrow-size int shadow-type

Signals: changed


Inherit Bin

inherit GTK2.Bin : Bin


Inherit CellEditable

inherit GTK2.CellEditable : CellEditable


Inherit CellLayout

inherit GTK2.CellLayout : CellLayout


Method create

GTK2.ComboBox GTK2.ComboBox(GTK2.TreeModel model_or_props)

Description

Create a new ComboBox, either empty or with a model. If a string is passed int instead, it will create a new W(ComboBox) with only text strings. If you do so, you should only manipulate it with the following functions: append_text(), insert_text(), prepend_text(), and remove_text().