| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
GI.Gtk.Declarative.Bin
Description
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) target) => (ManagedPtr widget -> widget) -> Vector (Attribute widget event) -> child event -> target event
- 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.
Constructors
| 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
| ToChildren ListBox [] (Bin ListBoxRow Widget) Source # | |
Defined in GI.Gtk.Declarative.Container.ListBox | |
| 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, Patchable child, EventSource child) => FromWidget (Bin widget child) Widget Source # | |
Defined in GI.Gtk.Declarative.Bin | |
| (a ~ b, c ~ d) => FromWidget (Bin a c) (Bin b d) Source # | |
Defined in GI.Gtk.Declarative.Bin | |
Arguments
| :: (Patchable (Bin widget child), Typeable widget, Typeable child, Typeable event, Functor child, IsContainer widget, IsBin widget, IsWidget widget, FromWidget (Bin widget child) 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 event | 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 Bins.
Instances
| BinChild ApplicationWindow Widget Source # | |
Defined in GI.Gtk.Declarative.Bin | |
| 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 | |