1c5c742b60
travis build: 34
commit: 89710d9d1a
auto-pushed to gh-pages
10 lines
9.4 KiB
HTML
10 lines
9.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>HSFM.GUI.Gtk.MyView</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
|
window.onload = function () {pageLoad();setSynopsis("mini_HSFM-GUI-Gtk-MyView.html");};
|
|
//]]>
|
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSFM-GUI-Gtk-MyView.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hsfm-gtk</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">HSFM.GUI.Gtk.MyView</p></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:newTab">newTab</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a></li><li class="src short"><a href="#v:createMyView">createMyView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a></li><li class="src short"><a href="#v:switchView">switchView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:destroyView">destroyView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:createIconView">createIconView</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a></li><li class="src short"><a href="#v:createTreeView">createTreeView</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a></li><li class="src short"><a href="#v:refreshView">refreshView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:constructView">constructView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:newTab" class="def">newTab</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> <a href="src/HSFM-GUI-Gtk-MyView.html#newTab" class="link">Source</a> <a href="#v:newTab" class="selflink">#</a></p><div class="doc"><p>Creates a new tab with its own view and refreshes the view.</p></div></div><div class="top"><p class="src"><a id="v:createMyView" class="def">createMyView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> <a href="src/HSFM-GUI-Gtk-MyView.html#createMyView" class="link">Source</a> <a href="#v:createMyView" class="selflink">#</a></p><div class="doc"><p>Constructs the initial MyView object with a few dummy models.
|
|
It also initializes the callbacks.</p></div></div><div class="top"><p class="src"><a id="v:switchView" class="def">switchView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-MyView.html#switchView" class="link">Source</a> <a href="#v:switchView" class="selflink">#</a></p><div class="doc"><p>Switch the existing view in <code><a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a></code> with the one that the
|
|
io action returns.</p></div></div><div class="top"><p class="src"><a id="v:destroyView" class="def">destroyView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> <a href="src/HSFM-GUI-Gtk-MyView.html#destroyView" class="link">Source</a> <a href="#v:destroyView" class="selflink">#</a></p><div class="doc"><p>Destroys the given view by disconnecting the watcher
|
|
and destroying the active FMView container.</p><p>Everything that needs to be done in order to forget about a
|
|
view needs to be done here.</p><p>Returns the page in the tab list this view corresponds to.</p></div></div><div class="top"><p class="src"><a id="v:createIconView" class="def">createIconView</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> <a href="src/HSFM-GUI-Gtk-MyView.html#createIconView" class="link">Source</a> <a href="#v:createIconView" class="selflink">#</a></p><div class="doc"><p>Createss an IconView.</p></div></div><div class="top"><p class="src"><a id="v:createTreeView" class="def">createTreeView</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> <a href="src/HSFM-GUI-Gtk-MyView.html#createTreeView" class="link">Source</a> <a href="#v:createTreeView" class="selflink">#</a></p><div class="doc"><p>Creates a TreeView.</p></div></div><div class="top"><p class="src"><a id="v:refreshView" class="def">refreshView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-MyView.html#refreshView" class="link">Source</a> <a href="#v:refreshView" class="selflink">#</a></p><div class="doc"><p>Refreshes the View based on the given directory.</p><p>Throws:</p><ul><li><code><a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO-Error.html#v:userError">userError</a></code> on inappropriate type</li></ul></div></div><div class="top"><p class="src"><a id="v:constructView" class="def">constructView</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -> <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-MyView.html#constructView" class="link">Source</a> <a href="#v:constructView" class="selflink">#</a></p><div class="doc"><p>Constructs the visible View with the current underlying mutable models,
|
|
which are retrieved from <code><a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a></code>.</p><p>This sort of merges the components mygui and myview and fires up
|
|
the actual models.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html> |