| gtkmm 2.24.4 | 
A standard menu bar which usually holds Gtk::Menu submenu items. More...


| Public Member Functions | |
| virtual | ~MenuBar () | 
| GtkMenuBar* | gobj () | 
| Provides access to the underlying C GtkObject. | |
| const GtkMenuBar* | gobj () const | 
| Provides access to the underlying C GtkObject. | |
| MenuBar () | |
| PackDirection | get_pack_direction () const | 
| Retrieves the current pack direction of the menubar. | |
| void | set_pack_direction (PackDirection pack_dir) | 
| Sets how items should be packed inside a menubar. | |
| PackDirection | get_child_pack_direction () const | 
| Retrieves the current child pack direction of the menubar. | |
| void | set_child_pack_direction (PackDirection child_pack_dir) | 
| Sets how widgets should be packed inside the children of a menubar. | |
| Glib::PropertyProxy < PackDirection > | property_pack_direction () | 
| The pack direction of the menubar. | |
| Glib::PropertyProxy_ReadOnly < PackDirection > | property_pack_direction () const | 
| The pack direction of the menubar. | |
| Glib::PropertyProxy < PackDirection > | property_child_pack_direction () | 
| The child pack direction of the menubar. | |
| Glib::PropertyProxy_ReadOnly < PackDirection > | property_child_pack_direction () const | 
| The child pack direction of the menubar. | |
| Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::MenuBar* | wrap (GtkMenuBar* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
A standard menu bar which usually holds Gtk::Menu submenu items.
The useful methods are in the base class - Gtk::MenuShell.
The MenuBar widget looks like this:
 
| virtual Gtk::MenuBar::~MenuBar | ( | ) |  [virtual] | 
| Gtk::MenuBar::MenuBar | ( | ) | 
| PackDirection Gtk::MenuBar::get_child_pack_direction | ( | ) | const | 
Retrieves the current child pack direction of the menubar.
See set_child_pack_direction().
| PackDirection Gtk::MenuBar::get_pack_direction | ( | ) | const | 
Retrieves the current pack direction of the menubar.
See set_pack_direction().
| const GtkMenuBar* Gtk::MenuBar::gobj | ( | ) | const  [inline] | 
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::MenuShell.
| GtkMenuBar* Gtk::MenuBar::gobj | ( | ) |  [inline] | 
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::MenuShell.
| Glib::PropertyProxy<PackDirection> Gtk::MenuBar::property_child_pack_direction | ( | ) | 
The child pack direction of the menubar.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<PackDirection> Gtk::MenuBar::property_child_pack_direction | ( | ) | const | 
The child pack direction of the menubar.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<PackDirection> Gtk::MenuBar::property_pack_direction | ( | ) | const | 
The pack direction of the menubar.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<PackDirection> Gtk::MenuBar::property_pack_direction | ( | ) | 
The pack direction of the menubar.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| void Gtk::MenuBar::set_child_pack_direction | ( | PackDirection | child_pack_dir | ) | 
Sets how widgets should be packed inside the children of a menubar.
| child_pack_dir | A new Gtk::PackDirection. | 
| void Gtk::MenuBar::set_pack_direction | ( | PackDirection | pack_dir | ) | 
Sets how items should be packed inside a menubar.
| pack_dir | A new Gtk::PackDirection. | 
| Gtk::MenuBar* wrap | ( | GtkMenuBar * | object, | 
| bool | take_copy = false | ||
| ) |  [related] | 
A Glib::wrap() method for this object.
| 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. | 
 1.7.3
 1.7.3