1Gtk2::MenuBar(3) User Contributed Perl Documentation Gtk2::MenuBar(3)
2
3
4
6 Gtk2::MenuBar - wrapper for GtkMenuBar
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::MenuShell
15 +----Gtk2::MenuBar
16
18 Glib::Object::_Unregistered::AtkImplementorIface
19 Gtk2::Buildable
20
22 widget = Gtk2::MenuBar->new
23 packdirection = $menubar->get_child_pack_direction
24 Since: gtk+ 2.8
25
26 $menubar->set_child_pack_direction ($child_pack_dir)
27 · $child_pack_dir (Gtk2::PackDirection)
28
29 Since: gtk+ 2.8
30
31 packdirection = $menubar->get_pack_direction
32 Since: gtk+ 2.8
33
34 $menubar->set_pack_direction ($pack_dir)
35 · $pack_dir (Gtk2::PackDirection)
36
37 Since: gtk+ 2.8
38
40 'child-pack-direction' (Gtk2::PackDirection : default "ltr" : readable
41 / writable / private)
42 The child pack direction of the menubar
43
44 'pack-direction' (Gtk2::PackDirection : default "ltr" : readable /
45 writable / private)
46 The pack direction of the menubar
47
49 'internal-padding' (integer : default 1 : readable / private)
50 Amount of border space between the menubar shadow and the menu
51 items
52
53 'shadow-type' (Gtk2::ShadowType : default "out" : readable / private)
54 Style of bevel around the menubar
55
57 enum Gtk2::PackDirection
58 · 'ltr' / 'GTK_PACK_DIRECTION_LTR'
59
60 · 'rtl' / 'GTK_PACK_DIRECTION_RTL'
61
62 · 'ttb' / 'GTK_PACK_DIRECTION_TTB'
63
64 · 'btt' / 'GTK_PACK_DIRECTION_BTT'
65
67 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
68 Gtk2::Container, Gtk2::MenuShell
69
71 Copyright (C) 2003-2011 by the gtk2-perl team.
72
73 This software is licensed under the LGPL. See Gtk2 for a full notice.
74
75
76
77perl v5.28.1 2019-02-02 Gtk2::MenuBar(3)