/usr/share/doc/libghc-gtk3-doc/html/Graphics-UI-Gtk-General-Style.html is in libghc-gtk3-doc 0.14.8-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <!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>Graphics.UI.Gtk.General.Style</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-General-Style.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-General-Style.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">gtk3-0.14.8: Binding to the Gtk+ 3 graphical user interface library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.UI.Gtk.General.Style</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Description</a></li><li><a href="#g:2">Types</a></li><li><a href="#g:3">Methods</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Customization of widgets.</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:Style">Style</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:StyleClass">StyleClass</a> o</li><li class="src short"><a href="#v:castToStyle">castToStyle</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></li><li class="src short"><a href="#v:gTypeStyle">gTypeStyle</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toStyle">toStyle</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:StyleClass">StyleClass</a> o => o -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></li><li class="src short"><a href="#v:styleGetForeground">styleGetForeground</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetBackground">styleGetBackground</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetLight">styleGetLight</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetMiddle">styleGetMiddle</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetDark">styleGetDark</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetText">styleGetText</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetBase">styleGetBase</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li><li class="src short"><a href="#v:styleGetAntiAliasing">styleGetAntiAliasing</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></li></ul></div><div id="interface"><h1 id="g:1">Description</h1><div class="doc"><p>Styles are attached to widgets and determine how particular parts are
drawn and with what color. Thus they are should be seen as mandatory when
one implements a new custom widgets via <code><a href="Graphics-UI-Gtk-Misc-DrawingArea.html#t:DrawingArea">DrawingArea</a></code>. Although the
parameterized drawing function don't have to be used, it is strongly
advisable (and more robust) to make use of the predefined graphics contexts
for the different states of a widget (retrieved by
<code><a href="Graphics-UI-Gtk-Abstract-Widget.html#v:widgetGetState">widgetGetState</a></code>).</p></div><h1 id="g:2">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Style" class="def">Style</a> <a href="src/Graphics-UI-Gtk-Types.html#Style" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Style" class="caption collapser" onclick="toggleSection('i:Style')">Instances</p><div id="section.i:Style" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Eq:1" class="instance expander" onclick="toggleSection('i:id:Style:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1335" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:Ord:2" class="instance expander" onclick="toggleSection('i:id:Style:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1335" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(<)</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(<=)</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(>)</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(>=)</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:Style:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1345" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Style:StyleClass:4" class="instance expander" onclick="toggleSection('i:id:Style:StyleClass:4')"></span> <a href="Graphics-UI-Gtk-General-Style.html#t:StyleClass">StyleClass</a> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1344" class="link">Source</a> <a href="#t:Style" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:Style:StyleClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a id="t:StyleClass" class="def">StyleClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#StyleClass" class="link">Source</a> <a href="#t:StyleClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:StyleClass" class="caption collapser" onclick="toggleSection('i:StyleClass')">Instances</p><div id="section.i:StyleClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:StyleClass:StyleClass:1" class="instance expander" onclick="toggleSection('i:ic:StyleClass:StyleClass:1')"></span> <a href="Graphics-UI-Gtk-General-Style.html#t:StyleClass">StyleClass</a> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-1344" class="link">Source</a> <a href="#t:StyleClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:StyleClass:StyleClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:castToStyle" class="def">castToStyle</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> <a href="src/Graphics-UI-Gtk-Types.html#castToStyle" class="link">Source</a> <a href="#v:castToStyle" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gTypeStyle" class="def">gTypeStyle</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a> <a href="src/Graphics-UI-Gtk-Types.html#gTypeStyle" class="link">Source</a> <a href="#v:gTypeStyle" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toStyle" class="def">toStyle</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:StyleClass">StyleClass</a> o => o -> <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> <a href="src/Graphics-UI-Gtk-Types.html#toStyle" class="link">Source</a> <a href="#v:toStyle" class="selflink">#</a></p></div><h1 id="g:3">Methods</h1><div class="top"><p class="src"><a id="v:styleGetForeground" class="def">styleGetForeground</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetForeground" class="link">Source</a> <a href="#v:styleGetForeground" class="selflink">#</a></p><div class="doc"><p>Retrieve the the foreground color.</p><ul><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetBackground" class="def">styleGetBackground</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetBackground" class="link">Source</a> <a href="#v:styleGetBackground" class="selflink">#</a></p><div class="doc"><p>Retrieve the background color.</p><ul><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetLight" class="def">styleGetLight</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetLight" class="link">Source</a> <a href="#v:styleGetLight" class="selflink">#</a></p><div class="doc"><p>Retrieve a light color.</p><ul><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetMiddle" class="def">styleGetMiddle</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetMiddle" class="link">Source</a> <a href="#v:styleGetMiddle" class="selflink">#</a></p><div class="doc"><p>Retrieve a middle color.</p><ul><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetDark" class="def">styleGetDark</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetDark" class="link">Source</a> <a href="#v:styleGetDark" class="selflink">#</a></p><div class="doc"><p>Retrieve a dark color.</p><ul><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetText" class="def">styleGetText</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetText" class="link">Source</a> <a href="#v:styleGetText" class="selflink">#</a></p><div class="doc"><p>Retrieve the text color.</p><ul><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetBase" class="def">styleGetBase</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetBase" class="link">Source</a> <a href="#v:styleGetBase" class="selflink">#</a></p><div class="doc"><p>Retrieve the base color.</p><ul><li>The base color is the standard text background of a widget.</li><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div><div class="top"><p class="src"><a id="v:styleGetAntiAliasing" class="def">styleGetAntiAliasing</a> :: <a href="Graphics-UI-Gtk-General-Style.html#t:Style">Style</a> -> <a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a> <a href="src/Graphics-UI-Gtk-General-Structs.html#styleGetAntiAliasing" class="link">Source</a> <a href="#v:styleGetAntiAliasing" class="selflink">#</a></p><div class="doc"><p>Retrieve the color for drawing anti-aliased text.</p><ul><li>The anti-aliasing color is the color which is used when the rendering
of a character does not make it clear if a certain pixel shoud be set
or not. This color is between the text and the base color.</li><li>The parameter <code>state</code> determines for which widget
state (one of <code><a href="Graphics-UI-Gtk-General-Enums.html#t:StateType">StateType</a></code>) the <code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Color">Color</a></code> should be retrieved.
Use <code>widgetGetState</code> to determine the current state of the
widget.</li></ul></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|