<!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.Icons</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-Icons.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.Icons</p></div><divid="description"><pclass="caption">Description</p><divclass="doc"><p>Module for Gtk icon handling.</p></div></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"><spanclass="keyword">data</span><ahref="#t:GtkIcon">GtkIcon</a><ulclass="subs"><li>= <ahref="#v:IFolder">IFolder</a></li><li>| <ahref="#v:SymL">SymL</a></li><li>| <ahref="#v:IFile">IFile</a></li><li>| <ahref="#v:IError">IError</a></li></ul></li><liclass="src short"><ahref="#v:getIcon">getIcon</a> :: <ahref="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a> -> IconTheme -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf</li><liclass="src short"><ahref="#v:getSymlinkIcon">getSymlinkIcon</a> :: <ahref="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a> -> IconTheme -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf</li></ul></div><divid="interface"><h1>Documentation</h1><divclass="top"><pclass="src"><spanclass="keyword">data</span><aid="t:GtkIcon"class="def">GtkIcon</a><ahref="src/HSFM-GUI-Gtk-Icons.html#GtkIcon"class="link">Source</a><ahref="#t:GtkIcon"class="selflink">#</a></p><divclass="doc"><p>Icon type we use in our GUI.</p></div><divclass="subs constructors"><pclass="caption">Constructors</p><table><tr><tdclass="src"><aid="v:IFolder"class="def">IFolder</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src"><aid="v:SymL"class="def">SymL</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src"><aid="v:IFile"class="def">IFile</a></td><tdclass="doc empty"> </td></tr><tr><tdclass="src"><aid="v:IError"class="def">IError</a></td><tdclass="doc empty"> </td></tr></table></div></div><divclass="top"><pclass="src"><aid="v:getIcon"class="def">getIcon</a><ahref="src/HSFM-GUI-Gtk-Icons.html#getIcon"class="link">Source</a><ahref="#v:getIcon"class="selflink">#</a></p><divclass="subs arguments"><pclass="caption">Arguments</p><table><tr><tdclass="src">:: <ahref="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a></td><tdclass="doc"><p>icon we want</p></td></tr><tr><tdclass="src">-> IconTheme</td><tdclass="doc"><p>which icon theme to get the icon from</p></td></tr><tr><tdclass="src">-><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a></td><tdclass="doc"><p>requested icon size</p></td></tr><tr><tdclass="src">-><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf</td><tdclass="doc empty"> </td></tr></table></div><divclass="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><divclass="top"><pclass="src"><aid="v:getSymlinkIcon"class="def">getSymlinkIcon</a> :: <ahref="HSFM-GUI-Gtk-Icons.html#t:GtkIcon">GtkIcon</a> -> IconTheme -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Int.html#t:Int">Int</a> -><ahref="https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO">IO</a> Pixbuf <ahref="src/HSFM-GUI-Gtk-Icons.html#getSymlinkIcon"class="link">Source</a><ahref="#v:getSymlinkIcon"class="selflink">#</a></p></div></div></div><divid="footer"><p>Produced by <ahref="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>