Safe Haskell | None |
---|---|
Language | Haskell2010 |
A declarative representation of Widget
in GTK without children.
Synopsis
- data SingleWidget widget event
- widget :: (Typeable widget, Typeable event, Functor (Attribute widget), IsWidget widget, FromWidget (SingleWidget widget) event target) => (ManagedPtr widget -> widget) -> Vector (Attribute widget event) -> target
Documentation
data SingleWidget widget event Source #
Declarative version of a leaf widget, i.e. a widget without any children.
Instances
:: (Typeable widget, Typeable event, Functor (Attribute widget), IsWidget widget, FromWidget (SingleWidget widget) event target) | |
=> (ManagedPtr widget -> widget) | A widget constructor from the underlying gi-gtk library. |
-> Vector (Attribute widget event) | List of |
-> target | The target, whose type is decided by |
Construct a leaf widget, i.e. one without any children.