Pike v8.1 release 6

Method GTK2.ComboBox()->create()


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