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

Safe HaskellNone
LanguageHaskell98

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 UiGoM Source #

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 #