hsfm/HSFM-GUI-Gtk-Icons.html
travis-ci 1ab0af9896 Lastest docs updated
travis build: 27
commit: e4bb5104e8
auto-pushed to gh-pages
2016-06-03 13:14:33 +00:00

5 lines
4.8 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.Icons</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-Icons.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/HSFM-GUI-Gtk-Icons.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.Icons</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Module for Gtk icon handling.</p></div></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:GtkIcon">GtkIcon</a><ul class="subs"><li>= <a href="#v:IFolder">IFolder</a></li><li>| <a href="#v:SymL">SymL</a></li><li>| <a href="#v:IFile">IFile</a></li><li>| <a href="#v:IError">IError</a></li></ul></li><li class="src short"><a href="#v:getIcon">getIcon</a> :: <a href="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a> -&gt; IconTheme -&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf</li><li class="src short"><a href="#v:getSymlinkIcon">getSymlinkIcon</a> :: <a href="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a> -&gt; IconTheme -&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:GtkIcon" class="def">GtkIcon</a> <a href="src/HSFM-GUI-Gtk-Icons.html#GtkIcon" class="link">Source</a> <a href="#t:GtkIcon" class="selflink">#</a></p><div class="doc"><p>Icon type we use in our GUI.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:IFolder" class="def">IFolder</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:SymL" class="def">SymL</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:IFile" class="def">IFile</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:IError" class="def">IError</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><a id="v:getIcon" class="def">getIcon</a> <a href="src/HSFM-GUI-Gtk-Icons.html#getIcon" class="link">Source</a> <a href="#v:getIcon" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a></td><td class="doc"><p>icon we want</p></td></tr><tr><td class="src">-&gt; IconTheme</td><td class="doc"><p>which icon theme to get the icon from</p></td></tr><tr><td class="src">-&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>requested icon size</p></td></tr><tr><td class="src">-&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Gets an icon from the default icon theme and falls back to project-icons
if not found. The requested icon size is not guaranteed.</p></div></div><div class="top"><p class="src"><a id="v:getSymlinkIcon" class="def">getSymlinkIcon</a> :: <a href="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a> -&gt; IconTheme -&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -&gt; <a href="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf <a href="src/HSFM-GUI-Gtk-Icons.html#getSymlinkIcon" class="link">Source</a> <a href="#v:getSymlinkIcon" 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>