gi-gtk-declarative-0.3.0: Declarative GTK+ programming in Haskell

Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Declarative.Widget.Conversions

Contents

Description

Orphan instances for automatically converting between different widget types. As these use UndecidableInstances, they are kept here in solitary confinement.

Orphan instances

FromWidget widget Widget => FromWidget widget BoxChild Source #

Any widget that can be converted to a Widget can be wrapped as a BoxChild with the default properties.

Instance details

Methods

fromWidget :: (Typeable widget, Typeable event) => widget event -> BoxChild event Source #