|
Gtk::Combo Class ReferenceA text entry field with a dropdown list.
More...
|
Public Methods | |
virtual | ~Combo () |
GtkCombo* | gobj () |
const GtkCombo* | gobj () const |
Combo () | |
void | set_value_in_list (bool value=true, bool empty=false) |
Allow direct text entry Whether the text in the entry must be or not be in the list. | |
void | set_use_arrows (bool arrows_on=true) |
Set arrows keys to change value Up and down will scroll through the list items. | |
void | set_use_arrows_always (bool arrows_always=true) |
Set arrows keys to change if value not in list Up and down will scroll through the list items but only change the current value if the text does not match a list item.. | |
void | set_case_sensitive (bool val=true) |
Sets list case sensitive Determines if the list items and text comparisons for set_use_arrows_always() should be case sensitive. | |
void | set_item_string (Gtk::Item& item, const Glib::ustring& item_value) |
Set the current entry Glib::ustring Call this function on an item if it isn't a label or you want it to have a different value to be displayed in the entry. | |
void | remove_item_string (Gtk::Item& item) |
void | set_popdown_strings (const Glib::ListHandle<Glib::ustring>& strings) |
Insert a list of items. | |
Glib::ListHandle<Glib::ustring> | get_popdown_strings () const |
void | disable_activate () |
Entry* | get_entry () |
const Entry* | get_entry () const |
ComboDropDown* | get_list () |
const ComboDropDown* | get_list () const |
Glib::PropertyProxy<bool> | property_enable_arrow_keys () |
Glib::PropertyProxy<bool> | property_enable_arrows_always () |
Glib::PropertyProxy<bool> | property_case_sensitive () |
Glib::PropertyProxy<bool> | property_allow_empty () |
Glib::PropertyProxy<bool> | property_value_in_list () |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Combo* | wrap (GtkCombo* object, bool take_copy=false) |
A combo is a compound widget which crosses a text entry area and a pull down list. It may allow text entry or it may just allow list values depending on the settings.
Access members allow altering of the widget components.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Gtk::HBox. |
|
Reimplemented from Gtk::HBox. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets list case sensitive Determines if the list items and text comparisons for set_use_arrows_always() should be case sensitive.
|
|
Set the current entry Glib::ustring Call this function on an item if it isn't a label or you want it to have a different value to be displayed in the entry.
|
|
Insert a list of items.
|
|
Set arrows keys to change value Up and down will scroll through the list items. Useful when there is a small list of value that the list must have.
|
|
Set arrows keys to change if value not in list Up and down will scroll through the list items but only change the current value if the text does not match a list item.. Useful when there is a small list of value that the list must have.
|
|
Allow direct text entry Whether the text in the entry must be or not be in the list.
|
|
|