1
2@c %start of fragment
3
4@deftp Class <gtk-menu-bar>
5Derives from @code{<gtk-menu-shell>}.
6
7This class defines the following slots:
8
9@table @code
10@item pack-direction
11The pack direction of the menubar
12
13@item child-pack-direction
14The child pack direction of the menubar
15
16@end table
17
18@end deftp
19
20@deffn Function gtk-menu-bar-new  @result{}@tie{} (ret@tie{}@code{<gtk-widget>})
21Creates the new @code{<gtk-menu-bar>}
22
23@table @var
24@item ret
25the @code{<gtk-menu-bar>}
26
27@end table
28
29@end deffn
30
31@deffn Function gtk-menu-bar-set-pack-direction  (self@tie{}@code{<gtk-menu-bar>}) (pack_dir@tie{}@code{<gtk-pack-direction>})
32@deffnx Method set-pack-direction
33Sets how items should be packed inside a menubar.
34
35@table @var
36@item menubar
37a @code{<gtk-menu-bar>}.
38
39@item pack-dir
40a new @code{<gtk-pack-direction>}.
41
42@end table
43
44Since 2.8
45
46@end deffn
47
48@deffn Function gtk-menu-bar-get-pack-direction  (self@tie{}@code{<gtk-menu-bar>}) @result{}@tie{} (ret@tie{}@code{<gtk-pack-direction>})
49@deffnx Method get-pack-direction
50Retrieves the current pack direction of the menubar. See
51@code{gtk-menu-bar-set-pack-direction}.
52
53@table @var
54@item menubar
55a @code{<gtk-menu-bar>}
56
57@item ret
58the pack direction
59
60@end table
61
62Since 2.8
63
64@end deffn
65
66
67@c %end of fragment
68