<!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.Callbacks.Utils</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[
</script></head><body><divid="package-header"><ulclass="links"id="page-menu"><li><ahref="src/HSFM-GUI-Gtk-Callbacks-Utils.html">Source</a></li><li><ahref="index.html">Contents</a></li><li><ahref="doc-index.html">Index</a></li></ul><pclass="caption">hsfm-gtk</p></div><divid="content"><divid="module-header"><tableclass="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><pclass="caption">HSFM.GUI.Gtk.Callbacks.Utils</p></div><divid="synopsis"><pid="control.syn"class="caption expander"onclick="toggleSection('syn')">Synopsis</p><ulid="section.syn"class="hide"onclick="toggleSection('syn')"><liclass="src short"><ahref="#v:doFileOperation">doFileOperation</a> :: <ahref="HSFM-FileSystem-UtilTypes.html#t:FileOperation">FileOperation</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</li><liclass="src short"><ahref="#v:_doFileOperation">_doFileOperation</a> :: [Path b1] -> Path Abs -> (Path b1 -> Path Abs -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> b) -> (Path b1 -> Path Abs -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> 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/System-IO.html#t:IO">IO</a> ()</li><liclass="src short"><ahref="#v:goDir">goDir</a> :: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Bool.html#t:Bool">Bool</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> ()</li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><aid="v:doFileOperation"class="def">doFileOperation</a> :: <ahref="HSFM-FileSystem-UtilTypes.html#t:FileOperation">FileOperation</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-Callbacks-Utils.html#doFileOperation"class="link">Source</a><ahref="#v:doFileOperation"class="selflink">#</a></p><divclass="doc"><p>Carries out a file operation with the appropriate error handling
allowing the user to react to various exceptions with further input.</p></div></div><divclass="top"><pclass="src"><aid="v:_doFileOperation"class="def">_doFileOperation</a> :: [Path b1] -> Path Abs -> (Path b1 -> Path Abs -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> b) -> (Path b1 -> Path Abs -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> 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/System-IO.html#t:IO">IO</a> () <ahref="src/HSFM-GUI-Gtk-Callbacks-Utils.html#_doFileOperation"class="link">Source</a><ahref="#v:_doFileOperation"class="selflink">#</a></p></div><divclass="top"><pclass="src"><aid="v:goDir"class="def">goDir</a><ahref="src/HSFM-GUI-Gtk-Callbacks-Utils.html#goDir"class="link">Source</a><ahref="#v:goDir"class="selflink">#</a></p><divclass="subs arguments"><pclass="caption">Arguments</p><table><tr><tdclass="src">:: <ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Bool.html#t:Bool">Bool</a></td><tdclass="doc"><p>whether to update the history</p></td></tr><tr><tdclass="src">-><ahref="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src">-><ahref="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src">-><ahref="HSFM-GUI-Gtk-Data.html#t:Item">Item</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src">-><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> ()</td><tdclass="doc empty"> </td></tr></table></div><divclass="doc"><p>Helper that is invoked for any directory change operations.</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>