| Top |
| GtkWidget * | gtk_menu_bar_new () |
| #define | gtk_menu_bar_append() |
| #define | gtk_menu_bar_prepend() |
| #define | gtk_menu_bar_insert() |
| void | gtk_menu_bar_set_pack_direction () |
| GtkPackDirection | gtk_menu_bar_get_pack_direction () |
| void | gtk_menu_bar_set_child_pack_direction () |
| GtkPackDirection | gtk_menu_bar_get_child_pack_direction () |
| GtkPackDirection | child-pack-direction | Read / Write |
| GtkPackDirection | pack-direction | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkMenuShell
╰── GtkMenuBar
#define gtk_menu_bar_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child))
gtk_menu_bar_append is deprecated and should not be used in newly-written code.
#define gtk_menu_bar_prepend(menu,child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
gtk_menu_bar_prepend is deprecated and should not be used in newly-written code.
#define gtk_menu_bar_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
gtk_menu_bar_insert is deprecated and should not be used in newly-written code.
void gtk_menu_bar_set_pack_direction (GtkMenuBar *menubar,GtkPackDirection pack_dir);
Sets how items should be packed inside a menubar.
Since: 2.8
GtkPackDirection
gtk_menu_bar_get_pack_direction (GtkMenuBar *menubar);
Retrieves the current pack direction of the menubar.
See gtk_menu_bar_set_pack_direction().
Since: 2.8
void gtk_menu_bar_set_child_pack_direction (GtkMenuBar *menubar,GtkPackDirection child_pack_dir);
Sets how widgets should be packed inside the children of a menubar.
Since: 2.8
GtkPackDirection
gtk_menu_bar_get_child_pack_direction (GtkMenuBar *menubar);
Retrieves the current child pack direction of the menubar.
See gtk_menu_bar_set_child_pack_direction().
Since: 2.8
“child-pack-direction” property“child-pack-direction” GtkPackDirection
The child pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged.
Owner: GtkMenuBar
Flags: Read / Write
Default value: GTK_PACK_DIRECTION_LTR
Since: 2.8
“pack-direction” property“pack-direction” GtkPackDirection
The pack direction of the menubar. It determines how menuitems are arranged in the menubar.
Owner: GtkMenuBar
Flags: Read / Write
Default value: GTK_PACK_DIRECTION_LTR
Since: 2.8
“internal-padding” style property “internal-padding” int
Amount of border space between the menubar shadow and the menu items.
Owner: GtkMenuBar
Flags: Read
Allowed values: >= 0
Default value: 1
“shadow-type” style property“shadow-type” GtkShadowType
Style of bevel around the menubar.
Owner: GtkMenuBar
Flags: Read
Default value: GTK_SHADOW_OUT