1f6ceb06c8
travis build: 30
commit: 05a62cb382
auto-pushed to gh-pages
7 lines
10 KiB
HTML
7 lines
10 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 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-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.9.0.0/docs/Data-String.html#t:String">String</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:showConfirmationDialog">showConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html#t:String">String</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/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.8.1/docs/Data-ByteString.html#t:ByteString">ByteString</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/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.8.1/docs/Data-ByteString.html#t:ByteString">ByteString</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/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.9.0.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.9.0.0/docs/Data-String.html#t:String">String</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-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.9.0.0/docs/System-IO.html#t:IO">IO</a> 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:textInputDialog">textInputDialog</a> :: GlibString string => string -> string -> <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/Data-Maybe.html#t:Maybe">Maybe</a> <a href="https://hackage.haskell.org/package/base-4.9.0.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>] -> <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:showErrorDialog" class="def">showErrorDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html#t:String">String</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-Dialogs.html#showErrorDialog" class="link">Source</a> <a href="#v:showErrorDialog" class="selflink">#</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 id="v:showConfirmationDialog" class="def">showConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html#t:String">String</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/Data-Bool.html#t:Bool">Bool</a> <a href="src/HSFM-GUI-Gtk-Dialogs.html#showConfirmationDialog" class="link">Source</a> <a href="#v:showConfirmationDialog" class="selflink">#</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 id="v:fileCollisionDialog" class="def">fileCollisionDialog</a> :: <a href="https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#t:ByteString">ByteString</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/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> <a href="#v:fileCollisionDialog" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:renameDialog" class="def">renameDialog</a> :: <a href="https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#t:ByteString">ByteString</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/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> <a href="#v:renameDialog" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:showAboutDialog" class="def">showAboutDialog</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-Dialogs.html#showAboutDialog" class="link">Source</a> <a href="#v:showAboutDialog" class="selflink">#</a></p><div class="doc"><p>Shows the about dialog from the help menu.</p></div></div><div class="top"><p class="src"><a id="v:withConfirmationDialog" class="def">withConfirmationDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html#t:String">String</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-IO.html#t:IO">IO</a> () <a href="src/HSFM-GUI-Gtk-Dialogs.html#withConfirmationDialog" class="link">Source</a> <a href="#v:withConfirmationDialog" class="selflink">#</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 id="v:withErrorDialog" class="def">withErrorDialog</a> :: <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> 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-Dialogs.html#withErrorDialog" class="link">Source</a> <a href="#v:withErrorDialog" class="selflink">#</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 id="v:textInputDialog" class="def">textInputDialog</a> <a href="src/HSFM-GUI-Gtk-Dialogs.html#textInputDialog" class="link">Source</a> <a href="#v:textInputDialog" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: GlibString string</td><td class="doc empty"> </td></tr><tr><td class="src">=> string</td><td class="doc"><p>window title</p></td></tr><tr><td class="src">-> string</td><td class="doc"><p>initial text in input widget</p></td></tr><tr><td class="src">-> <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/Data-Maybe.html#t:Maybe">Maybe</a> <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-String.html#t:String">String</a>)</td><td class="doc empty"> </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 id="v:showFilePropertyDialog" class="def">showFilePropertyDialog</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-Dialogs.html#showFilePropertyDialog" class="link">Source</a> <a href="#v:showFilePropertyDialog" class="selflink">#</a></p></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> |