0c82156757
travis build: 29
commit: 7998ea33de
auto-pushed to gh-pages
5 lines
17 KiB
HTML
5 lines
17 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.Callbacks</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-Callbacks.html");};
|
|
//]]>
|
|
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSFM-GUI-Gtk-Callbacks.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.Callbacks</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:setGUICallbacks">setGUICallbacks</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> ()</li><li class="src short"><a href="#v:setViewCallbacks">setViewCallbacks</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><li class="src short"><a href="#v:openTerminalHere">openTerminalHere</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/System-Posix-Types.html#t:ProcessID">ProcessID</a></li><li class="src short"><a href="#v:closeTab">closeTab</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><li class="src short"><a href="#v:newTab-39-">newTab'</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><li class="src short"><a href="#v:opeInNewTab">opeInNewTab</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</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:del">del</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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><li class="src short"><a href="#v:moveInit">moveInit</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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><li class="src short"><a href="#v:copyInit">copyInit</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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><li class="src short"><a href="#v:operationFinal">operationFinal</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/Data-Maybe.html#t:Maybe">Maybe</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:newFile">newFile</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><li class="src short"><a href="#v:newDir">newDir</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><li class="src short"><a href="#v:renameF">renameF</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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><li class="src short"><a href="#v:urlGoTo">urlGoTo</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><li class="src short"><a href="#v:goHome">goHome</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><li class="src short"><a href="#v:execute">execute</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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><li class="src short"><a href="#v:open">open</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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><li class="src short"><a href="#v:upDir">upDir</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><li class="src short"><a href="#v:goHistoryPrev">goHistoryPrev</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><li class="src short"><a href="#v:goHistoryNext">goHistoryNext</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:setGUICallbacks" class="def">setGUICallbacks</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="src/HSFM-GUI-Gtk-Callbacks.html#setGUICallbacks" class="link">Source</a> <a href="#v:setGUICallbacks" class="selflink">#</a></p><div class="doc"><p>Set callbacks for the whole gui, on hotkeys, events and stuff.</p></div></div><div class="top"><p class="src"><a id="v:setViewCallbacks" class="def">setViewCallbacks</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-Callbacks.html#setViewCallbacks" class="link">Source</a> <a href="#v:setViewCallbacks" class="selflink">#</a></p><div class="doc"><p>Set callbacks specific to a given view, on hotkeys, events and stuff.</p></div></div><div class="top"><p class="src"><a id="v:openTerminalHere" class="def">openTerminalHere</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/System-Posix-Types.html#t:ProcessID">ProcessID</a> <a href="src/HSFM-GUI-Gtk-Callbacks.html#openTerminalHere" class="link">Source</a> <a href="#v:openTerminalHere" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:closeTab" class="def">closeTab</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-Callbacks.html#closeTab" class="link">Source</a> <a href="#v:closeTab" class="selflink">#</a></p><div class="doc"><p>Closes the current tab, but only if there is more than one tab.</p></div></div><div class="top"><p class="src"><a id="v:newTab-39-" class="def">newTab'</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-Callbacks.html#newTab%27" class="link">Source</a> <a href="#v:newTab-39-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:opeInNewTab" class="def">opeInNewTab</a> :: <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</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-Callbacks.html#opeInNewTab" class="link">Source</a> <a href="#v:opeInNewTab" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:del" class="def">del</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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-Callbacks.html#del" class="link">Source</a> <a href="#v:del" class="selflink">#</a></p><div class="doc"><p>Supposed to be used with <code>withRows</code>. Deletes a file or directory.</p></div></div><div class="top"><p class="src"><a id="v:moveInit" class="def">moveInit</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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-Callbacks.html#moveInit" class="link">Source</a> <a href="#v:moveInit" class="selflink">#</a></p><div class="doc"><p>Initializes a file move operation.</p></div></div><div class="top"><p class="src"><a id="v:copyInit" class="def">copyInit</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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-Callbacks.html#copyInit" class="link">Source</a> <a href="#v:copyInit" class="selflink">#</a></p><div class="doc"><p>Supposed to be used with <code>withRows</code>. Initializes a file copy operation.</p></div></div><div class="top"><p class="src"><a id="v:operationFinal" class="def">operationFinal</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/Data-Maybe.html#t:Maybe">Maybe</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-Callbacks.html#operationFinal" class="link">Source</a> <a href="#v:operationFinal" class="selflink">#</a></p><div class="doc"><p>Finalizes a file operation, such as copy or move.</p></div></div><div class="top"><p class="src"><a id="v:newFile" class="def">newFile</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-Callbacks.html#newFile" class="link">Source</a> <a href="#v:newFile" class="selflink">#</a></p><div class="doc"><p>Create a new file.</p></div></div><div class="top"><p class="src"><a id="v:newDir" class="def">newDir</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-Callbacks.html#newDir" class="link">Source</a> <a href="#v:newDir" class="selflink">#</a></p><div class="doc"><p>Create a new directory.</p></div></div><div class="top"><p class="src"><a id="v:renameF" class="def">renameF</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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-Callbacks.html#renameF" class="link">Source</a> <a href="#v:renameF" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:urlGoTo" class="def">urlGoTo</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-Callbacks.html#urlGoTo" class="link">Source</a> <a href="#v:urlGoTo" class="selflink">#</a></p><div class="doc"><p>Go to the url given at the <code><a href="HSFM-GUI-Gtk-Data.html#v:urlBar">urlBar</a></code> and visualize it in the given
|
|
treeView.</p><p>If the url is invalid, does nothing.</p></div></div><div class="top"><p class="src"><a id="v:goHome" class="def">goHome</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-Callbacks.html#goHome" class="link">Source</a> <a href="#v:goHome" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:execute" class="def">execute</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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-Callbacks.html#execute" class="link">Source</a> <a href="#v:execute" class="selflink">#</a></p><div class="doc"><p>Execute a given file.</p></div></div><div class="top"><p class="src"><a id="v:open" class="def">open</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</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-Callbacks.html#open" class="link">Source</a> <a href="#v:open" class="selflink">#</a></p><div class="doc"><p>Supposed to be used with <code>withRows</code>. Opens a file or directory.</p></div></div><div class="top"><p class="src"><a id="v:upDir" class="def">upDir</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-Callbacks.html#upDir" class="link">Source</a> <a href="#v:upDir" class="selflink">#</a></p><div class="doc"><p>Go up one directory and visualize it in the treeView.</p></div></div><div class="top"><p class="src"><a id="v:goHistoryPrev" class="def">goHistoryPrev</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-Callbacks.html#goHistoryPrev" class="link">Source</a> <a href="#v:goHistoryPrev" class="selflink">#</a></p><div class="doc"><p>Go "back" in the history.</p></div></div><div class="top"><p class="src"><a id="v:goHistoryNext" class="def">goHistoryNext</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-Callbacks.html#goHistoryNext" class="link">Source</a> <a href="#v:goHistoryNext" class="selflink">#</a></p><div class="doc"><p>Go "forth" in the history.</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> |