hbro-1.3.0.0: Minimal extensible web-browser

Safe HaskellNone
LanguageHaskell98

Hbro.Gui.Builder

Synopsis

Documentation

class GObjectClass a => FromGObject a where

UI elements that can be built from a GtkBuilder object (that is: an XML file)

Methods

cast :: GObject -> a

getWidget :: (MonadIO m, FromGObject a) => Builder -> Text -> m a

Return the casted GObject corresponding to the given name (set in the builder's XML file)