Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newTab :: MyGUI -> IO FMView -> Item -> IO MyView
- createMyView :: MyGUI -> IO FMView -> IO MyView
- switchView :: MyGUI -> MyView -> IO FMView -> IO ()
- destroyView :: MyGUI -> MyView -> IO Int
- createIconView :: IO FMView
- createTreeView :: IO FMView
- refreshView :: MyGUI -> MyView -> Item -> IO ()
- constructView :: MyGUI -> MyView -> IO ()
Documentation
newTab :: MyGUI -> IO FMView -> Item -> IO MyView Source #
Creates a new tab with its own view and refreshes the view.
createMyView :: MyGUI -> 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 :: MyGUI -> MyView -> IO Int Source #
Destroys the current 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.