![]() |
![]() |
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.
Public Member Functions | |
virtual | ~Combo () |
GtkCombo* | gobj () |
Provides access to the underlying C GtkObject. | |
const GtkCombo* | gobj () const |
Provides access to the underlying C GtkObject. | |
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 () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_enable_arrows_always () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_case_sensitive () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_allow_empty () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_value_in_list () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Combo* | wrap (GtkCombo* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::HBox. |
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::HBox. |
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
|
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.
|
|
|