Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data MenuItem event
- menuItem :: (IsMenuItem item, Typeable event, BinChild item Widget, Typeable item, IsContainer item, IsBin item, IsWidget item) => (ManagedPtr item -> item) -> Vector (Attribute item event) -> Widget event -> MenuItem event
- subMenu :: Typeable event => Text -> [MenuItem event] -> MenuItem event
Documentation
A menu item widget used for Menu
children.
Instances
Functor MenuItem Source # | |
Patchable MenuItem Source # | |
EventSource MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem | |
IsContainer Menu MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem | |
IsContainer MenuBar MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem | |
IsContainer MenuShell MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem | |
ToChildren Menu [] MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem | |
ToChildren MenuBar [] MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem |
menuItem :: (IsMenuItem item, Typeable event, BinChild item Widget, Typeable item, IsContainer item, IsBin item, IsWidget item) => (ManagedPtr item -> item) -> Vector (Attribute item event) -> Widget event -> MenuItem event Source #
Construct a single menu item for a Menu
.
subMenu :: Typeable event => Text -> [MenuItem event] -> MenuItem event Source #
Construct a sub menu for a Menu
, wit a text label and the
child menu items.
Orphan instances
IsContainer Menu MenuItem Source # | |
IsContainer MenuBar MenuItem Source # | |
IsContainer MenuShell MenuItem Source # | |
ToChildren Menu [] MenuItem Source # | |
ToChildren MenuBar [] MenuItem Source # | |