Gtk2::MenuBar(3pm)

Gtk2::MenuBar3pm

Wrapper for gtkmenubar

Hierarchy

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

Interfaces

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

Methods

widget = Gtk2::MenuBar->new

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

Properties

'child-pack-direction' (Gtk2::PackDirection : default "ltr" : readable / writable / private)

The child pack direction of the menubar

'pack-direction' (Gtk2::PackDirection : default "ltr" : readable / writable / private)

The pack direction of the menubar

Style properties

'internal-padding' (integer : default 1 : readable / private)

Amount of border space between the menubar shadow and the menu items

'shadow-type' (Gtk2::ShadowType : default "out" : readable / private)

Style of bevel around the menubar

Enums and flags

enum Gtk2::PackDirection

•

'ltr' / 'GTK_PACK_DIRECTION_LTR'

•

'rtl' / 'GTK_PACK_DIRECTION_RTL'

•

'ttb' / 'GTK_PACK_DIRECTION_TTB'

•

'btt' / 'GTK_PACK_DIRECTION_BTT'

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9
  7. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.