Copyright | (c) 2011-2016 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
- setTitleFromFileName :: HoodleState -> IO ()
- newCanvasId :: CanvasInfoMap -> CanvasId
- initCanvasInfo :: HoodleState -> UnitHoodle -> CanvasId -> IO (CanvasInfo a)
- minimalCanvasInfo :: CanvasId -> IO (CanvasInfo a)
- connectDefaultEventCanvasInfo :: HoodleState -> UnitHoodle -> CanvasInfo a -> IO (CanvasInfo a)
- reinitCanvasInfoStage1 :: UnitHoodle -> CanvasInfo a -> IO (CanvasInfo a)
- reinitCanvasInfoStage2 :: HoodleState -> UnitHoodle -> CanvasInfo a -> IO (CanvasInfo a)
- eventConnect :: HoodleState -> UnitHoodle -> WindowConfig -> IO (UnitHoodle, WindowConfig)
- constructFrame :: HoodleState -> UnitHoodle -> WindowConfig -> IO (UnitHoodle, Widget, WindowConfig)
- constructFrame' :: (AllEvent -> IO ()) -> CanvasInfoBox -> UnitHoodle -> WindowConfig -> IO (UnitHoodle, Widget, WindowConfig)
- registerFrameToContainer :: Window -> Box -> Widget -> IO ()
- createTab :: (AllEvent -> IO ()) -> Notebook -> VBox -> IO (Int, UUID, Button)
Documentation
setTitleFromFileName :: HoodleState -> IO () Source #
set frame title according to file name
newCanvasId :: CanvasInfoMap -> CanvasId Source #
initCanvasInfo :: HoodleState -> UnitHoodle -> CanvasId -> IO (CanvasInfo a) Source #
initialize CanvasInfo with creating windows and connect events
minimalCanvasInfo :: CanvasId -> IO (CanvasInfo a) Source #
only creating windows
connectDefaultEventCanvasInfo :: HoodleState -> UnitHoodle -> CanvasInfo a -> IO (CanvasInfo a) Source #
only connect events
reinitCanvasInfoStage1 :: UnitHoodle -> CanvasInfo a -> IO (CanvasInfo a) Source #
recreate windows from old canvas info but no event connect
reinitCanvasInfoStage2 :: HoodleState -> UnitHoodle -> CanvasInfo a -> IO (CanvasInfo a) Source #
event connect
eventConnect :: HoodleState -> UnitHoodle -> WindowConfig -> IO (UnitHoodle, WindowConfig) Source #
event connecting for all windows
constructFrame :: HoodleState -> UnitHoodle -> WindowConfig -> IO (UnitHoodle, Widget, WindowConfig) Source #
default construct frame
constructFrame' :: (AllEvent -> IO ()) -> CanvasInfoBox -> UnitHoodle -> WindowConfig -> IO (UnitHoodle, Widget, WindowConfig) Source #
construct frames with template