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