hbro-1.4.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

Instances

FromGObject Label 
FromGObject Entry 
FromGObject HBox 
FromGObject ScrolledWindow 
FromGObject Window 

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)

getMainWindow :: (MonadIO m, MonadReader r m, Has Builder r) => m Window