Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 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 :: 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 # |