![]() |

A combo is a compound widget which crosses a text entry area and a pull down list. The dropdown list is implemented with the deprecated GtkList widget on the gtk+ side. ComboDropDown is a thin wrapper around GtkList containing just the functionality necessary for a Combo's list. To add and remove items use the STL-style interface that is accessible through ComboDropDown::children().
Public Types | ||||
| typedef ComboDropDown_Helpers::ComboDropDownList | ComboDropDownList | |||
Public Member Functions | ||||
| const ComboDropDownList& | children () const | |||
| ComboDropDownList& | children () | |||
| const GtkList* | gobj () const | |||
| Provides access to the underlying C GtkObject. | ||||
| GtkList* | gobj () | |||
| Provides access to the underlying C GtkObject. | ||||
| void | scroll_horizontal (ScrollType scroll_type, float position) | |||
| void | scroll_vertical (ScrollType scroll_type, float position) | |||
| Glib::SignalProxy1< void, Widget& > | signal_select_child () | |||
| ||||
| Glib::SignalProxy0<void> | signal_selection_changed () | |||
| ||||
| Glib::SignalProxy1< void, Widget& > | signal_unselect_child () | |||
| ||||
| virtual | ~ComboDropDown () | |||
Protected Member Functions | ||||
| ComboDropDown () | ||||
Friends | ||||
| class | Combo | |||
Related Functions | ||||
| (Note that these are not member functions.) | ||||
| Gtk::ComboDropDown* | wrap (GtkList* object, bool take_copy=false) | |||
| ||||
| virtual Gtk::ComboDropDown::~ComboDropDown | ( | ) | [virtual] |
| Gtk::ComboDropDown::ComboDropDown | ( | ) | [protected] |
| const ComboDropDownList& Gtk::ComboDropDown::children | ( | ) | const |
| ComboDropDownList& Gtk::ComboDropDown::children | ( | ) |
| const GtkList* Gtk::ComboDropDown::gobj | ( | ) | const [inline] |
| GtkList* Gtk::ComboDropDown::gobj | ( | ) | [inline] |
| void Gtk::ComboDropDown::scroll_horizontal | ( | ScrollType | scroll_type, | |
| float | position | |||
| ) |
| void Gtk::ComboDropDown::scroll_vertical | ( | ScrollType | scroll_type, | |
| float | position | |||
| ) |
| Glib::SignalProxy1<void,Widget&> Gtk::ComboDropDown::signal_select_child | ( | ) |
| Glib::SignalProxy0< void > Gtk::ComboDropDown::signal_selection_changed | ( | ) |
void selection_changed()
| Glib::SignalProxy1<void,Widget&> Gtk::ComboDropDown::signal_unselect_child | ( | ) |
friend class Combo [friend] |
| Gtk::ComboDropDown* wrap | ( | GtkList * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| object | The C instance |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |