Gtk2::MenuBar(3) User Contributed Perl Documentation Gtk2::MenuBar(3)

Gtk2::MenuBar - wrapper for GtkMenuBar

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::MenuShell
                         +----Gtk2::MenuBar

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable

packdirection = $menubar->get_child_pack_direction

Since: gtk+ 2.8

$menubar->set_child_pack_direction ($child_pack_dir)

$child_pack_dir (Gtk2::PackDirection)

Since: gtk+ 2.8

packdirection = $menubar->get_pack_direction

Since: gtk+ 2.8

$menubar->set_pack_direction ($pack_dir)

$pack_dir (Gtk2::PackDirection)

Since: gtk+ 2.8

'child-pack-direction' (Gtk2::PackDirection : default "ltr" : readable / writable / private / static-nick / static-blurb)
The child pack direction of the menubar
'pack-direction' (Gtk2::PackDirection : default "ltr" : readable / writable / private / static-nick / static-blurb)
The pack direction of the menubar

'internal-padding' (integer : default 1 : readable / private / static-nick / static-blurb)
Amount of border space between the menubar shadow and the menu items
'shadow-type' (Gtk2::ShadowType : default "out" : readable / private / static-nick / static-blurb)
Style of bevel around the menubar

  • 'ltr' / 'GTK_PACK_DIRECTION_LTR'
  • 'rtl' / 'GTK_PACK_DIRECTION_RTL'
  • 'ttb' / 'GTK_PACK_DIRECTION_TTB'
  • 'btt' / 'GTK_PACK_DIRECTION_BTT'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::MenuShell

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-05-29 perl v5.36.0