Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
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 MenuBar MenuItem Source # | |
IsContainer MenuShell MenuItem Source # | |
IsContainer Menu MenuItem Source # | |
ToChildren MenuBar Vector MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem toChildren :: (ManagedPtr MenuBar -> MenuBar) -> Vector (MenuItem event) -> Children MenuItem event Source # | |
ToChildren Menu Vector MenuItem Source # | |
Defined in GI.Gtk.Declarative.Container.MenuItem toChildren :: (ManagedPtr Menu -> Menu) -> Vector (MenuItem event) -> Children MenuItem event Source # |
menuItem :: (IsMenuItem item, Typeable event, 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 -> Vector (MenuItem event) -> MenuItem event Source #
Construct a sub menu for a Menu
, wit a text label and the
child menu items.
Orphan instances
IsContainer MenuBar MenuItem Source # | |
IsContainer MenuShell MenuItem Source # | |
IsContainer Menu MenuItem Source # | |
ToChildren MenuBar Vector MenuItem Source # | |
toChildren :: (ManagedPtr MenuBar -> MenuBar) -> Vector (MenuItem event) -> Children MenuItem event Source # | |
ToChildren Menu Vector MenuItem Source # | |
toChildren :: (ManagedPtr Menu -> Menu) -> Vector (MenuItem event) -> Children MenuItem event Source # |