| Portability | portable (depends on GHC) | 
|---|---|
| Stability | provisional | 
| Maintainer | gtk2hs-users@lists.sourceforge.net | 
| Safe Haskell | Safe-Infered | 
Graphics.UI.Gtk.MenuComboToolbar.MenuBar
- data MenuBar
 - class MenuShellClass o => MenuBarClass o
 - castToMenuBar :: GObjectClass obj => obj -> MenuBar
 - gTypeMenuBar :: GType
 - toMenuBar :: MenuBarClass o => o -> MenuBar
 - data PackDirection
 - menuBarNew :: IO MenuBar
 - menuBarSetPackDirection :: MenuBarClass self => self -> PackDirection -> IO ()
 - menuBarGetPackDirection :: MenuBarClass self => self -> IO PackDirection
 - menuBarSetChildPackDirection :: MenuBarClass self => self -> PackDirection -> IO ()
 - menuBarGetChildPackDirection :: MenuBarClass self => self -> IO PackDirection
 - menuBarPackDirection :: MenuBarClass self => Attr self PackDirection
 - menuBarChildPackDirection :: MenuBarClass self => Attr self PackDirection
 
Detail
The MenuBar is a subclass of MenuShell which contains one to many
 MenuItem. The result is a standard menu bar which can hold many menu
 items.
Class Hierarchy
Types
class MenuShellClass o => MenuBarClass o Source
Instances
castToMenuBar :: GObjectClass obj => obj -> MenuBarSource
toMenuBar :: MenuBarClass o => o -> MenuBarSource
data PackDirection Source
Determines how to pack a menu bar: left-to-right, right-to-left, top-to-bottom or bottom-to-top.
Instances
Constructors
menuBarNew :: IO MenuBarSource
Creates the new MenuBar
Methods
Arguments
| :: MenuBarClass self | |
| => self | |
| -> PackDirection | 
  | 
| -> IO () | 
Sets how items should be packed inside a menubar.
- Available since Gtk+ version 2.8
 
Arguments
| :: MenuBarClass self | |
| => self | |
| -> IO PackDirection | returns the pack direction  | 
Retrieves the current pack direction of the menubar. See
 menuBarSetPackDirection.
- Available since Gtk+ version 2.8
 
menuBarSetChildPackDirectionSource
Arguments
| :: MenuBarClass self | |
| => self | |
| -> PackDirection | 
  | 
| -> IO () | 
Sets how widgets should be packed inside the children of a menubar.
- Available since Gtk+ version 2.8
 
menuBarGetChildPackDirectionSource
Arguments
| :: MenuBarClass self | |
| => self | |
| -> IO PackDirection | returns the child pack direction  | 
Retrieves the current child pack direction of the menubar. See
 menuBarSetChildPackDirection.
- Available since Gtk+ version 2.8
 
Attributes
menuBarPackDirection :: MenuBarClass self => Attr self PackDirectionSource
The pack direction of the menubar. It determines how menuitems are arranged in the menubar.
Default value: PackDirectionLtr
menuBarChildPackDirection :: MenuBarClass self => Attr self PackDirectionSource
The pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged.
Default value: PackDirectionLtr