Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newTab :: MyGUI -> Notebook -> IO FMView -> Item -> Int -> IO MyView
- createMyView :: MyGUI -> Notebook -> IO FMView -> IO MyView
- switchView :: MyGUI -> MyView -> IO FMView -> IO ()
- destroyView :: MyView -> IO Int
- createIconView :: IO FMView
- createTreeView :: IO FMView
- refreshView :: MyGUI -> MyView -> Item -> IO ()
- constructView :: MyGUI -> MyView -> IO ()
Documentation
newTab :: MyGUI -> Notebook -> IO FMView -> Item -> Int -> IO MyView Source #
Creates a new tab with its own view and refreshes the view.
createMyView :: MyGUI -> Notebook -> IO FMView -> IO MyView Source #
Constructs the initial MyView object with a few dummy models. It also initializes the callbacks.
switchView :: MyGUI -> MyView -> IO FMView -> IO () Source #
Switch the existing view in MyView
with the one that the
io action returns.
destroyView :: MyView -> IO Int Source #
Destroys the given view by disconnecting the watcher and destroying the active FMView container.
Everything that needs to be done in order to forget about a view needs to be done here.
Returns the page in the tab list this view corresponds to.
createIconView :: IO FMView Source #
Createss an IconView.
createTreeView :: IO FMView Source #
Creates a TreeView.