Changes between Version 2 and Version 3 of GtkMenus
- Timestamp:
- 11/03/11 22:43:17 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GtkMenus
v2 v3 7 7 == Creating the Menu Bar == 8 8 9 The menu bar itself is created as an instance of '!MenuBar'. The menubar is a regular Gtk widget and can be located anywhere you choose, but for the classic menu-at-the-top, place the menubar to the top of a non-expandable 'VBox' before adding itthe window.9 The menu bar itself is created as an instance of '!MenuBar'. The menubar is a regular Gtk widget and can be located anywhere you choose, but for the classic menu-at-the-top, place the menubar at the top of a non-expandable 'VBox' before adding it to the window. 10 10 11 11 The following 'createMenu' definition shows how to construct and add the menubar to a window class. (A complete example is given at the bottom of this page.)