Safe Haskell | None |
---|---|
Language | Haskell2010 |
A declarative representation of Bin
in GTK.
Synopsis
- data Bin widget child event
- bin :: (Patchable (Bin widget child), Typeable widget, Typeable child, Typeable event, Functor child, IsContainer widget, IsBin widget, IsWidget widget, FromWidget (Bin widget child) event target, BinChild widget child) => (ManagedPtr widget -> widget) -> [Attribute widget event] -> child event -> target
Documentation
data Bin widget child event Source #
Declarative version of a bin widget, i.e. a widget with exactly one child.
Instances
IsContainer ListBox (Bin ListBoxRow Widget) Source # | |
Defined in GI.Gtk.Declarative.Container.Patch | |
Functor (Bin widget child) Source # | |
(BinChild parent child, EventSource child) => EventSource (Bin parent child) Source # | |
Defined in GI.Gtk.Declarative.Bin | |
(BinChild parent child, Patchable child) => Patchable (Bin parent child) Source # | |
(BinChild widget child, Typeable widget, Patchable child, EventSource child, Functor (Bin widget child)) => FromWidget (Bin widget child) event (Widget event) Source # | |
Defined in GI.Gtk.Declarative.Bin fromWidget :: Bin widget child event -> Widget event Source # | |
(BinChild widget child, a ~ (), Typeable widget, Patchable child, EventSource child, Functor (Bin widget child)) => FromWidget (Bin widget child) event (Markup event a) Source # | |
Defined in GI.Gtk.Declarative.Bin fromWidget :: Bin widget child event -> Markup event a Source # | |
a ~ () => FromWidget (Bin widget child) event (MarkupOf (Bin widget child) event a) Source # | |
Defined in GI.Gtk.Declarative.Bin |
:: (Patchable (Bin widget child), Typeable widget, Typeable child, Typeable event, Functor child, IsContainer widget, IsBin widget, IsWidget widget, FromWidget (Bin widget child) event target, BinChild widget child) | |
=> (ManagedPtr widget -> widget) | A bin widget constructor from the underlying gi-gtk library. |
-> [Attribute widget event] | List of |
-> child event | The bin's child widget, whose type is decided by the |
-> target | The target, whose type is decided by |
Construct a bin widget, i.e. a widget with exactly one child.