Safe Haskell | None |
---|
The main module for the GTK+ UI, used by clients of the UI. Also implements the UI controller.
- type StdUiCtrlImpl = UiCtrlImpl UiGoM
- startBoard :: MonadUiGo go => Node -> IO (UiCtrlImpl go)
- startNewBoard :: MonadUiGo go => Maybe (Int, Int) -> IO (UiCtrlImpl go)
- startFile :: MonadUiGo go => FilePath -> IO (Either String (UiCtrlImpl go))
Documentation
type StdUiCtrlImpl = UiCtrlImpl UiGoMSource
The standard concrete controller type. Use this type with startBoard
,
etc.
startBoard :: MonadUiGo go => Node -> IO (UiCtrlImpl go)Source