hsfm/HSFM-GUI-Gtk-Data.html

8 lines
20 KiB
HTML
Raw Normal View History

<!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.Data</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[
2016-06-01 17:32:51 +00:00
window.onload = function () {pageLoad();setSynopsis("mini_HSFM-GUI-Gtk-Data.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSFM-GUI-Gtk-Data.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.Data</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"><span class="keyword">data</span> <a href="#t:MyGUI">MyGUI</a> = <a href="#v:MkMyGUI">MkMyGUI</a> {<ul class="subs"><li><a href="#v:rootWin">rootWin</a> :: !Window</li><li><a href="#v:menubar">menubar</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:MenuBar">MenuBar</a></li><li><a href="#v:statusBar">statusBar</a> :: !Statusbar</li><li><a href="#v:clearStatusBar">clearStatusBar</a> :: !Button</li><li><a href="#v:notebook">notebook</a> :: !Notebook</li><li><a href="#v:fprop">fprop</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:FilePropertyGrid">FilePropertyGrid</a></li><li><a href="#v:settings">settings</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMSettings">FMSettings</a>)</li><li><a href="#v:operationBuffer">operationBuffer</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FileOperation">FileOperation</a>)</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:MyView">MyView</a> = <a href="#v:MkMyView">MkMyView</a> {<ul class="subs"><li><a href="#v:view">view</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a>)</li><li><a href="#v:cwd">cwd</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Control-Concurrent-MVar.html#t:MVar">MVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>)</li><li><a href="#v:rawModel">rawModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> (ListStore <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</li><li><a href="#v:sortedModel">sortedModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> (TypedTreeModelSort <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</li><li><a href="#v:filteredModel">filteredModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> (TypedTreeModelFilter <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</li><li><a href="#v:inotify">inotify</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Control-Concurrent-MVar.html#t:MVar">MVar</a> INotify)</li><li><a href="#v:history">history</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> ([Path Abs], [Path Abs]))</li><li><a href="#v:scroll">scroll</a> :: !ScrolledWindow</li><li><a href="#v:viewBox">viewBox</a> :: !Box</li><li><a href="#v:rcmenu">rcmenu</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:RightClickMenu">RightClickMenu</a></li><li><a href="#v:upViewB">upViewB</a> :: !Button</li><li><a href="#v:homeViewB">homeViewB</a> :: !Button</li><li><a href="#v:refreshViewB">refreshViewB</a> :: !Button</li><li><a href="#v:urlBar">urlBar</a> :: !Entry</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:MenuBar">MenuBar</a> = <a href="#v:MkMenuBar">MkMenuBar</a> {<ul class="subs"><li><a href="#v:menubarFileQuit">menubarFileQuit</a> :: !ImageMenuItem</li><li><a href="#v:menubarHelpAbout">menubarHelpAbout</a> :: !ImageMenuItem</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:RightClickMenu">RightClickMenu</a> = <a href="#v:MkRightClickMenu">MkRightClickMenu</a> {<ul
2016-06-01 17:32:51 +00:00
to keep the API stable and not alter the parameters too much.
This only holds GUI widgets that are needed to be read during
runtime.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MkMyGUI" class="def">MkMyGUI</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:rootWin" class="def">rootWin</a> :: !Window</dfn><div class="doc"><p>main Window</p></div></li><li><dfn class="src"><a id="v:menubar" class="def">menubar</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:MenuBar">MenuBar</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:statusBar" class="def">statusBar</a> :: !Statusbar</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:clearStatusBar" class="def">clearStatusBar</a> :: !Button</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:notebook" class="def">notebook</a> :: !Notebook</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:fprop" class="def">fprop</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:FilePropertyGrid">FilePropertyGrid</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:settings" class="def">settings</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMSettings">FMSettings</a>)</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:operationBuffer" class="def">operationBuffer</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FileOperation">FileOperation</a>)</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MyView" class="def">MyView</a> <a href="src/HSFM-GUI-Gtk-Data.html#MyView" class="link">Source</a> <a href="#t:MyView" class="selflink">#</a></p><div class="doc"><p>This describes the contents of the current view and is separated from MyGUI,
because we might want to have multiple views.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MkMyView" class="def">MkMyView</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:view" class="def">view</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a>)</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:cwd" class="def">cwd</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Control-Concurrent-MVar.html#t:MVar">MVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>)</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:rawModel" class="def">rawModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> (ListStore <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:sortedModel" class="def">sortedModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> (TypedTreeModelSort <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:filteredModel" class="def">filteredModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> (TypedTreeModelFilter <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:inotify" class="def">inotify</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Control-Concurrent-MVar.html#t:MVar">MVar</a> INotify)</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:history" class="def">history</a> :: !(<a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/GHC-Conc.html#t:TVar">TVar</a> ([Path Abs], [Path Abs]))</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:scroll" class="def">scroll</a> :: !ScrolledWindow</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:viewBox" class="def">viewBox</a> :: !Box</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:rcmenu" class="def">rcmenu</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:RightClickMenu">RightClickMenu</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:upViewB" class="def">upViewB</a> :: !Button</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:homeViewB" class="def">homeViewB</a> :: !Button</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:refreshViewB" class="def">refreshViewB</a> :: !Button</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:urlBar" class="def">urlBar</a> :: !Entry</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MenuBar" class="def">MenuBar</a> <a href="src/HSFM-GUI-Gtk-Data.html#MenuBar" class="link">Source</a> <a href="#t:MenuBar" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MkMenuBar" class="def">MkMenuBar</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:menubarFileQuit" class="def">menubarFileQuit</a> :: !ImageMenuItem</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menubarHelpAbout" class="def">menubarHelpAbout</a> :: !ImageMenuItem</dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:RightClickMenu" class="def">RightClickMenu</a> <a href="src/HSFM-GUI-Gtk-Data.html#RightClickMenu" class="link">Sourc