Safe Haskell | None |
---|---|
Language | Haskell2010 |
A declarative representation of Bin
in GTK.
Synopsis
- data Bin widget child event where
- 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) => (ManagedPtr widget -> widget) -> Vector (Attribute widget event) -> child event -> target
- class BinChild bin (child :: * -> *) | bin -> child
Documentation
data Bin widget child event where Source #
Declarative version of a bin widget, i.e. a widget with exactly one child.
Bin :: (Typeable widget, IsContainer widget, IsBin widget, IsWidget widget, Functor child) => (ManagedPtr widget -> widget) -> Vector (Attribute widget event) -> child event -> Bin widget child event |
Instances
IsContainer ListBox (Bin ListBoxRow Widget) Source # | |
Defined in GI.Gtk.Declarative.Container.Patch | |
Functor (Bin widget child) Source # | |
(BinChild parent child, Patchable child) => Patchable (Bin parent child) Source # | |
(BinChild parent child, EventSource child) => EventSource (Bin parent child) Source # | |
Defined in GI.Gtk.Declarative.Bin | |
(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 # | |
FromWidget (Bin widget child) event (Bin widget child event) Source # | |
Defined in GI.Gtk.Declarative.Bin fromWidget :: Bin widget child event -> Bin widget child event 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) | |
=> (ManagedPtr widget -> widget) | A bin widget constructor from the underlying gi-gtk library. |
-> Vector (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.
class BinChild bin (child :: * -> *) | bin -> child Source #
Supported Bin
s.
Instances
BinChild Dialog Widget Source # | |
Defined in GI.Gtk.Declarative.Bin | |
BinChild ListBoxRow Widget Source # | |
Defined in GI.Gtk.Declarative.Bin | |
BinChild MenuItem Widget Source # | |
Defined in GI.Gtk.Declarative.Bin | |
BinChild ScrolledWindow Widget Source # | |
Defined in GI.Gtk.Declarative.Bin | |
BinChild Window Widget Source # | |
Defined in GI.Gtk.Declarative.Bin |