ComboBox.this

Creates a new empty GtkComboBox. If text is true then constructs a new text combo box, which is a GtkComboBox just displaying strings. If you use this function to create a text combo box, you should only manipulate its data source with the following convenience functions: gtk_combo_box_append_text(), gtk_combo_box_insert_text(), gtk_combo_box_prepend_text() and gtk_combo_box_remove_text(). Since 2.4

  1. this(GtkComboBox* gtkComboBox)
  2. this(bool text)
    class ComboBox
    this
    (
    bool text = true
    )
  3. this(TreeModelIF model)

Return Value

A new GtkComboBox.

Throws

ConstructionException GTK+ fails to create the object.

Meta