keera-hails-mvc-view-gtk-0.0.3.3: Haskell on Gtk rails - Gtk-based View for MVC applications

Safe HaskellNone
LanguageHaskell98

Hails.MVC.View.GtkView

Description

Implements the generic view class for the Gtk GUI manager.

Synopsis

Documentation

class GtkGUI a where Source

A GtkGUI is a collection of elements that may be initialised We use this class to make the Instantiation of View simpler.

Methods

initialise :: IO a Source

data GtkGUI a => GtkView a Source

A GtkView simply encapsulates a GtkGUI.

Constructors

GtkView a 

Instances

GtkGUI a => View (GtkView a)

Instantiates the generic View for Gtk views using the default GtkGUI initialiser and the default Gtk counterparts of the View class functions.

getGUI :: GtkGUI a => GtkView a -> a Source

Extracts the GUI from a GtkView