hsfm/HSFM-GUI-Gtk-Dialogs.html
travis-ci 48f6a2afc2 Lastest docs updated
travis build: 33
commit: f6ec802898
auto-pushed to gh-pages
2016-06-05 18:11:29 +00:00

7 lines
9.6 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.Dialogs</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-Dialogs.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSFM-GUI-Gtk-Dialogs.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.Dialogs</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:showErrorDialog">showErrorDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:showConfirmationDialog">showConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileCollisionDialog">fileCollisionDialog</a> :: <a href="https://hackage.haskell.org/package/bytestring-0.10.6.0/docs/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> (<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FCollisonMode">FCollisonMode</a>)</li><li class="src short"><a href="#v:renameDialog">renameDialog</a> :: <a href="https://hackage.haskell.org/package/bytestring-0.10.6.0/docs/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> (<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FCollisonMode">FCollisonMode</a>)</li><li class="src short"><a href="#v:showAboutDialog">showAboutDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:withConfirmationDialog">withConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:withErrorDialog">withErrorDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> a -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:textInputDialog">textInputDialog</a> :: GlibString string =&gt; string -&gt; string -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> (<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a>)</li><li class="src short"><a href="#v:showFilePropertyDialog">showFilePropertyDialog</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>] -&gt; <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -&gt; <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.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 name="v:showErrorDialog" class="def">showErrorDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-Dialogs.html#showErrorDialog" class="link">Source</a></p><div class="doc"><p>Pops up an error Dialog with the given String.</p></div></div><div class="top"><p class="src"><a name="v:showConfirmationDialog" class="def">showConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Bool.html#t:Bool">Bool</a> <a href="src/HSFM-GUI-Gtk-Dialogs.html#showConfirmationDialog" class="link">Source</a></p><div class="doc"><p>Asks the user for confirmation and returns True/False.</p></div></div><div class="top"><p class="src"><a name="v:fileCollisionDialog" class="def">fileCollisionDialog</a> :: <a href="https://hackage.haskell.org/package/bytestring-0.10.6.0/docs/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> (<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FCollisonMode">FCollisonMode</a>) <a href="src/HSFM-GUI-Gtk-Dialogs.html#fileCollisionDialog" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:renameDialog" class="def">renameDialog</a> :: <a href="https://hackage.haskell.org/package/bytestring-0.10.6.0/docs/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> (<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> <a href="HSFM-FileSystem-UtilTypes.html#t:FCollisonMode">FCollisonMode</a>) <a href="src/HSFM-GUI-Gtk-Dialogs.html#renameDialog" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:showAboutDialog" class="def">showAboutDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-Dialogs.html#showAboutDialog" class="link">Source</a></p><div class="doc"><p>Shows the about dialog from the help menu.</p></div></div><div class="top"><p class="src"><a name="v:withConfirmationDialog" class="def">withConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-Dialogs.html#withConfirmationDialog" class="link">Source</a></p><div class="doc"><p>Carry out an IO action with a confirmation dialog.
If the user presses <a href="No.html">No</a>, then do nothing.</p></div></div><div class="top"><p class="src"><a name="v:withErrorDialog" class="def">withErrorDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> a -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-Dialogs.html#withErrorDialog" class="link">Source</a></p><div class="doc"><p>Execute the given IO action. If the action throws exceptions,
visualize them via <code><a href="HSFM-GUI-Gtk-Dialogs.html#v:showErrorDialog">showErrorDialog</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:textInputDialog" class="def">textInputDialog</a> <a href="src/HSFM-GUI-Gtk-Dialogs.html#textInputDialog" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: GlibString string</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; string</td><td class="doc"><p>window title</p></td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p>initial text in input widget</p></td></tr><tr><td class="src">-&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> (<a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Maybe.html#t:Maybe">Maybe</a> <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-String.html#t:String">String</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Asks the user which directory copy mode he wants via dialog popup
and returns <code>DirCopyMode</code>.</p></div></div><div class="top"><p class="src"><a name="v:showFilePropertyDialog" class="def">showFilePropertyDialog</a> :: [<a href="HSFM-GUI-Gtk-Data.html#t:Item">Item</a>] -&gt; <a href="HSFM-GUI-Gtk-Data.html#t:MyGUI">MyGUI</a> -&gt; <a href="HSFM-GUI-Gtk-Data.html#t:MyView">MyView</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.8.1.0/docs/System-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-Dialogs.html#showFilePropertyDialog" 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>