Forum und email

GtkCombo

DEPRECATED. Text entry field with a dropdown list.

Йерархия на обектите

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBox
                            `-- GtkHBox
                                   `-- GtkCombo

Описание

ВНИМАНИЕ! Този клас вече не се използва в PHP-GTK 2 и при писането на нови програми НЕ трябва да бъде използва Use GtkComboBox instead.

The GtkCombo widget consists of a single-line text entry field and a drop-down list. This is similar to the select element in HTML, but with a more limited functionality. It is recomended that you use GtkComboBox instead.

Constructors

-- Creates a new combo box.

Методи

disable_activate()
  Stops the GtkCombo from showing the popup list on return key.
set_case_sensitive()
  Whether the text entered is case sensitive.
set_item_string()
  Sets the string representation of a particular list item.
set_popdown_strings()
  Convenience function to set all of the items in the popup list.
set_use_arrows()
  If the arrow can be used to step through the list.
set_use_arrows_always()
  Obsolete function, does nothing.
set_value_in_list()
  Whether the value entered must match one of the values in the list.

Полета

entry:
  Entry widget to type values.
list:
  Dropdown list widget.