goatee-gtk-0.2.0: A monadic take on a 2,500-year-old board game - GTK+ UI.

Safe HaskellNone

Game.Goatee.Ui.Gtk

Description

The main module for the GTK+ UI, used by clients of the UI. Also implements the UI controller.

Synopsis

Documentation

type StdUiCtrlImpl = UiCtrlImpl UiGoMSource

The standard concrete controller type. Use this type with startBoard, etc.

startBoard :: MonadUiGo go => Node -> IO (UiCtrlImpl go)Source

startNewBoard :: MonadUiGo go => Maybe (Int, Int) -> IO (UiCtrlImpl go)Source

startFile :: MonadUiGo go => FilePath -> IO (Either String (UiCtrlImpl go))Source