4a67cfba85
travis build: 20
commit: 89b231a2c9
auto-pushed to gh-pages
8 lines
19 KiB
HTML
8 lines
19 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.Data</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
|
|
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.8.1.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.8.1.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.8.1.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.8.1.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.8.1.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.8.1.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.8.1.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.8.1.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.8.1.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 class="subs"><li><a href="#v:rcMenu">rcMenu</a> :: !Menu</li><li><a href="#v:rcFileOpen">rcFileOpen</a> :: !ImageMenuItem</li><li><a href="#v:rcFileExecute">rcFileExecute</a> :: !ImageMenuItem</li><li><a href="#v:rcFileNewRegFile">rcFileNewRegFile</a> :: !ImageMenuItem</li><li><a href="#v:rcFileNewDir">rcFileNewDir</a> :: !ImageMenuItem</li><li><a href="#v:rcFileCut">rcFileCut</a> :: !ImageMenuItem</li><li><a href="#v:rcFileCopy">rcFileCopy</a> :: !ImageMenuItem</li><li><a href="#v:rcFileRename">rcFileRename</a> :: !ImageMenuItem</li><li><a href="#v:rcFilePaste">rcFilePaste</a> :: !ImageMenuItem</li><li><a href="#v:rcFileDelete">rcFileDelete</a> :: !ImageMenuItem</li><li><a href="#v:rcFileProperty">rcFileProperty</a> :: !ImageMenuItem</li><li><a href="#v:rcFileIconView">rcFileIconView</a> :: !ImageMenuItem</li><li><a href="#v:rcFileTreeView">rcFileTreeView</a> :: !ImageMenuItem</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:FilePropertyGrid">FilePropertyGrid</a> = <a href="#v:MkFilePropertyGrid">MkFilePropertyGrid</a> {<ul class="subs"><li><a href="#v:fpropGrid">fpropGrid</a> :: !Grid</li><li><a href="#v:fpropFnEntry">fpropFnEntry</a> :: !Entry</li><li><a href="#v:fpropLocEntry">fpropLocEntry</a> :: !Entry</li><li><a href="#v:fpropTsEntry">fpropTsEntry</a> :: !Entry</li><li><a href="#v:fpropModEntry">fpropModEntry</a> :: !Entry</li><li><a href="#v:fpropAcEntry">fpropAcEntry</a> :: !Entry</li><li><a href="#v:fpropFTEntry">fpropFTEntry</a> :: !Entry</li><li><a href="#v:fpropPermEntry">fpropPermEntry</a> :: !Entry</li><li><a href="#v:fpropLDEntry">fpropLDEntry</a> :: !Entry</li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:FMSettings">FMSettings</a> = <a href="#v:MkFMSettings">MkFMSettings</a> {<ul class="subs"><li><a href="#v:showHidden">showHidden</a> :: !<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:isLazy">isLazy</a> :: !<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a></li><li><a href="#v:iconSize">iconSize</a> :: !<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:FMView">FMView</a><ul class="subs"><li>= <a href="#v:FMTreeView">FMTreeView</a> !TreeView</li><li>| <a href="#v:FMIconView">FMIconView</a> !IconView</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:Item">Item</a> = <a href="HSFM-FileSystem-FileType.html#t:File">File</a> <a href="HSFM-FileSystem-FileType.html#t:FileInfo">FileInfo</a></li><li class="src short"><a href="#v:fmViewToContainer">fmViewToContainer</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> Container</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MyGUI" class="def">MyGUI</a> <a href="src/HSFM-GUI-Gtk-Data.html#MyGUI" class="link">Source</a></p><div class="doc"><p>Monolithic object passed to various GUI functions in order
|
|
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 name="v:MkMyGUI" class="def">MkMyGUI</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:rootWin" class="def">rootWin</a> :: !Window</dt><dd class="doc"><p>main Window</p></dd><dt class="src"><a name="v:menubar" class="def">menubar</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:MenuBar">MenuBar</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:statusBar" class="def">statusBar</a> :: !Statusbar</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:clearStatusBar" class="def">clearStatusBar</a> :: !Button</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:notebook" class="def">notebook</a> :: !Notebook</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fprop" class="def">fprop</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:FilePropertyGrid">FilePropertyGrid</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:settings" class="def">settings</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMSettings">FMSettings</a>)</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:operationBuffer" class="def">operationBuffer</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FileOperation">FileOperation</a>)</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MyView" class="def">MyView</a> <a href="src/HSFM-GUI-Gtk-Data.html#MyView" class="link">Source</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 name="v:MkMyView" class="def">MkMyView</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:view" class="def">view</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a>)</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:cwd" class="def">cwd</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Control-Concurrent-MVar.html#t:MVar">MVar</a> <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>)</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rawModel" class="def">rawModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> (ListStore <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:sortedModel" class="def">sortedModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> (TypedTreeModelSort <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:filteredModel" class="def">filteredModel</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> (TypedTreeModelFilter <a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>))</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:inotify" class="def">inotify</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Control-Concurrent-MVar.html#t:MVar">MVar</a> INotify)</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:history" class="def">history</a> :: !(<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/GHC-Conc.html#t:TVar">TVar</a> ([Path Abs], [Path Abs]))</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:scroll" class="def">scroll</a> :: !ScrolledWindow</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:viewBox" class="def">viewBox</a> :: !Box</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcmenu" class="def">rcmenu</a> :: !<a href="HSFM-GUI-Gtk-Data.html#t:RightClickMenu">RightClickMenu</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:upViewB" class="def">upViewB</a> :: !Button</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:homeViewB" class="def">homeViewB</a> :: !Button</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:refreshViewB" class="def">refreshViewB</a> :: !Button</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:urlBar" class="def">urlBar</a> :: !Entry</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:MenuBar" class="def">MenuBar</a> <a href="src/HSFM-GUI-Gtk-Data.html#MenuBar" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MkMenuBar" class="def">MkMenuBar</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:menubarFileQuit" class="def">menubarFileQuit</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:menubarHelpAbout" class="def">menubarHelpAbout</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RightClickMenu" class="def">RightClickMenu</a> <a href="src/HSFM-GUI-Gtk-Data.html#RightClickMenu" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MkRightClickMenu" class="def">MkRightClickMenu</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:rcMenu" class="def">rcMenu</a> :: !Menu</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileOpen" class="def">rcFileOpen</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileExecute" class="def">rcFileExecute</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileNewRegFile" class="def">rcFileNewRegFile</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileNewDir" class="def">rcFileNewDir</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileCut" class="def">rcFileCut</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileCopy" class="def">rcFileCopy</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileRename" class="def">rcFileRename</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFilePaste" class="def">rcFilePaste</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileDelete" class="def">rcFileDelete</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileProperty" class="def">rcFileProperty</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileIconView" class="def">rcFileIconView</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:rcFileTreeView" class="def">rcFileTreeView</a> :: !ImageMenuItem</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FilePropertyGrid" class="def">FilePropertyGrid</a> <a href="src/HSFM-GUI-Gtk-Data.html#FilePropertyGrid" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MkFilePropertyGrid" class="def">MkFilePropertyGrid</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:fpropGrid" class="def">fpropGrid</a> :: !Grid</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropFnEntry" class="def">fpropFnEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropLocEntry" class="def">fpropLocEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropTsEntry" class="def">fpropTsEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropModEntry" class="def">fpropModEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropAcEntry" class="def">fpropAcEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropFTEntry" class="def">fpropFTEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropPermEntry" class="def">fpropPermEntry</a> :: !Entry</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:fpropLDEntry" class="def">fpropLDEntry</a> :: !Entry</dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FMSettings" class="def">FMSettings</a> <a href="src/HSFM-GUI-Gtk-Data.html#FMSettings" class="link">Source</a></p><div class="doc"><p>FM-wide settings.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:MkFMSettings" class="def">MkFMSettings</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:showHidden" class="def">showHidden</a> :: !<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:isLazy" class="def">isLazy</a> :: !<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:iconSize" class="def">iconSize</a> :: !<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FMView" class="def">FMView</a> <a href="src/HSFM-GUI-Gtk-Data.html#FMView" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:FMTreeView" class="def">FMTreeView</a> !TreeView</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:FMIconView" class="def">FMIconView</a> !IconView</td><td class="doc empty"> </td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:Item" class="def">Item</a> = <a href="HSFM-FileSystem-FileType.html#t:File">File</a> <a href="HSFM-FileSystem-FileType.html#t:FileInfo">FileInfo</a> <a href="src/HSFM-GUI-Gtk-Data.html#Item" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fmViewToContainer" class="def">fmViewToContainer</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:FMView">FMView</a> -> Container <a href="src/HSFM-GUI-Gtk-Data.html#fmViewToContainer" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html> |