![]() |
Inheritance diagram for Gtk::OptionMenu:

Public Methods | |
| virtual | ~OptionMenu () |
| GtkOptionMenu* | gobj () |
| const GtkOptionMenu* | gobj () const |
| OptionMenu () | |
| void | set_menu (Menu& menu) |
| Menu* | get_menu () |
| const Menu* | get_menu () const |
| void | remove_menu () |
| int | get_history () const |
| Retrieves the index of the currently selected menu item. | |
| void | set_history (guint index) |
| Glib::SignalProxy0<void> | signal_changed () |
Protected Methods | |
| virtual void | on_changed () |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::OptionMenu* | wrap (GtkOptionMenu* object, bool take_copy=false) |
A Gtk::OptionMenu is a widget that allows the user to choose from a list of valid choices. The Gtk::OptionMenu displays the selected choice. When activated the GtkOptionMenu displays a popup Gtk::Menu which allows the user to make a new choice.
|
|
|
|
|
|
|
|
Retrieves the index of the currently selected menu item. The menu items are numbered from top to bottom, starting with 0.
|
|
|
|
|
|
|
|
|
Reimplemented from Gtk::Button. |
|
|
Reimplemented from Gtk::Button. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|