<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>HSFM.GUI.Gtk.MyView</title><linkhref="ocean.css"rel="stylesheet"type="text/css"title="Ocean"/><scriptsrc="haddock-util.js"type="text/javascript"></script><scriptsrc="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"type="text/javascript"></script><scripttype="text/javascript">//<![CDATA[
It also initializes the callbacks.</p></div></div><divclass="top"><pclass="src"><aid="v:switchView"class="def">switchView</a> :: <ahref="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -><ahref="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a><ahref="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <ahref="src/HSFM-GUI-Gtk-MyView.html#switchView"class="link">Source</a><ahref="#v:switchView"class="selflink">#</a></p><divclass="doc"><p>Switch the existing view in <code><ahref="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a></code> with the one that the
io action returns.</p></div></div><divclass="top"><pclass="src"><aid="v:destroyView"class="def">destroyView</a> :: <ahref="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -><ahref="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a><ahref="src/HSFM-GUI-Gtk-MyView.html#destroyView"class="link">Source</a><ahref="#v:destroyView"class="selflink">#</a></p><divclass="doc"><p>Destroys the given view by disconnecting the watcher
view needs to be done here.</p><p>Returns the page in the tab list this view corresponds to.</p></div></div><divclass="top"><pclass="src"><aid="v:createIconView"class="def">createIconView</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a><ahref="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a><ahref="src/HSFM-GUI-Gtk-MyView.html#createIconView"class="link">Source</a><ahref="#v:createIconView"class="selflink">#</a></p><divclass="doc"><p>Createss an IconView.</p></div></div><divclass="top"><pclass="src"><aid="v:createTreeView"class="def">createTreeView</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a><ahref="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a><ahref="src/HSFM-GUI-Gtk-MyView.html#createTreeView"class="link">Source</a><ahref="#v:createTreeView"class="selflink">#</a></p><divclass="doc"><p>Creates a TreeView.</p></div></div><divclass="top"><pclass="src"><aid="v:refreshView"class="def">refreshView</a> :: <ahref="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -><ahref="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -><ahref="HSFM-GUI-Gtk-Data.html#t:Item">Item</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <ahref="src/HSFM-GUI-Gtk-MyView.html#refreshView"class="link">Source</a><ahref="#v:refreshView"class="selflink">#</a></p><divclass="doc"><p>Refreshes the View based on the given directory.</p><p>Throws:</p><ul><li><code><ahref="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><divclass="top"><pclass="src"><aid="v:constructView"class="def">constructView</a> :: <ahref="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -><ahref="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> () <ahref="src/HSFM-GUI-Gtk-MyView.html#constructView"class="link">Source</a><ahref="#v:constructView"class="selflink">#</a></p><divclass="doc"><p>Constructs the visible View with the current underlying mutable models,
which are retrieved from <code><ahref="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><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>