|
Graphics.UI.Gtk.MenuComboToolbar.MenuBar | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
A subclass widget for MenuShell which holds MenuItem widgets
|
|
Synopsis |
|
|
|
|
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. MenuBar allows for a shadow type to be set for aesthetic purposes.
The shadow types are defined in the menuBarSetShadowType function.
|
|
Class Hierarchy
|
|
| GObject
| +----Object
| +----Widget
| +----Container
| +----MenuShell
| +----MenuBar
|
|
Types
|
|
data MenuBar |
Instances | |
|
|
class MenuShellClass o => MenuBarClass o |
| Instances | |
|
|
castToMenuBar :: GObjectClass obj => obj -> MenuBar |
|
toMenuBar :: MenuBarClass o => o -> MenuBar |
|
data PackDirection |
Determines how to pack a menu bar: left-to-right, right-to-left,
top-to-bottom or bottom-to-top.
| Constructors | PackDirectionLtr | | PackDirectionRtl | | PackDirectionTtb | | PackDirectionBtt | |
| Instances | |
|
|
Constructors
|
|
menuBarNew :: IO MenuBar |
Creates the new MenuBar
|
|
Methods
|
|
menuBarSetPackDirection |
|
|
menuBarGetPackDirection |
|
|
menuBarSetChildPackDirection |
|
|
menuBarGetChildPackDirection |
|
|
Attributes
|
|
menuBarPackDirection :: MenuBarClass self => Attr self PackDirection |
The pack direction of the menubar. It determines how menuitems are
arranged in the menubar.
Default value: PackDirectionLtr
|
|
menuBarChildPackDirection :: MenuBarClass self => Attr self PackDirection |
The pack direction of the menubar. It determines how the widgets
contained in child menuitems are arranged.
Default value: PackDirectionLtr
|
|
Produced by Haddock version 0.7 |