# Class GTK2.ComboBox

Inheritance graph

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().