/usr/share/doc/libghc-gtk3-doc/html/Graphics-UI-Gtk-Entry-SpinButton.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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | <!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.Entry.SpinButton</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-Entry-SpinButton.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Entry-SpinButton.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.Entry.SpinButton</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail</a></li><li><a href="#g:2">Class Hierarchy</a></li><li><a href="#g:3">Types</a></li><li><a href="#g:4">Constructors</a></li><li><a href="#g:5">Methods</a></li><li><a href="#g:6">Attributes</a></li><li><a href="#g:7">Signals</a></li><li><a href="#section.orphans">Orphan instances</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Retrieve an integer or floating-point number from the user</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:SpinButton">SpinButton</a></li><li class="src short"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Entry-Entry.html#t:EntryClass">EntryClass</a> o => <a href="#t:SpinButtonClass">SpinButtonClass</a> o</li><li class="src short"><a href="#v:castToSpinButton">castToSpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></li><li class="src short"><a href="#v:gTypeSpinButton">gTypeSpinButton</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toSpinButton">toSpinButton</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> o => o -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></li><li class="src short"><a href="#v:spinButtonNew">spinButtonNew</a> :: <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></li><li class="src short"><a href="#v:spinButtonNewWithRange">spinButtonNewWithRange</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></li><li class="src short"><a href="#v:spinButtonConfigure">spinButtonConfigure</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonSetAdjustment">spinButtonSetAdjustment</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetAdjustment">spinButtonGetAdjustment</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <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-Misc-Adjustment.html#t:Adjustment">Adjustment</a></li><li class="src short"><a href="#v:spinButtonSetDigits">spinButtonSetDigits</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetDigits">spinButtonGetDigits</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:spinButtonSetIncrements">spinButtonSetIncrements</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetIncrements">spinButtonGetIncrements</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:spinButtonSetRange">spinButtonSetRange</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetRange">spinButtonGetRange</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:spinButtonGetValue">spinButtonGetValue</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:spinButtonGetValueAsInt">spinButtonGetValueAsInt</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:spinButtonSetValue">spinButtonSetValue</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><span class="keyword">data</span> <a href="#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a><ul class="subs"><li>= <a href="#v:UpdateAlways">UpdateAlways</a></li><li>| <a href="#v:UpdateIfValid">UpdateIfValid</a></li></ul></li><li class="src short"><a href="#v:spinButtonSetUpdatePolicy">spinButtonSetUpdatePolicy</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetUpdatePolicy">spinButtonGetUpdatePolicy</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <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-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></li><li class="src short"><a href="#v:spinButtonSetNumeric">spinButtonSetNumeric</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetNumeric">spinButtonGetNumeric</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:SpinType">SpinType</a><ul class="subs"><li>= <a href="#v:SpinStepForward">SpinStepForward</a></li><li>| <a href="#v:SpinStepBackward">SpinStepBackward</a></li><li>| <a href="#v:SpinPageForward">SpinPageForward</a></li><li>| <a href="#v:SpinPageBackward">SpinPageBackward</a></li><li>| <a href="#v:SpinHome">SpinHome</a></li><li>| <a href="#v:SpinEnd">SpinEnd</a></li><li>| <a href="#v:SpinUserDefined">SpinUserDefined</a></li></ul></li><li class="src short"><a href="#v:spinButtonSpin">spinButtonSpin</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonSetWrap">spinButtonSetWrap</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetWrap">spinButtonGetWrap</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:spinButtonSetSnapToTicks">spinButtonSetSnapToTicks</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonGetSnapToTicks">spinButtonGetSnapToTicks</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:spinButtonUpdate">spinButtonUpdate</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:spinButtonAdjustment">spinButtonAdjustment</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></li><li class="src short"><a href="#v:spinButtonClimbRate">spinButtonClimbRate</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:spinButtonDigits">spinButtonDigits</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:spinButtonSnapToTicks">spinButtonSnapToTicks</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:spinButtonNumeric">spinButtonNumeric</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:spinButtonWrap">spinButtonWrap</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:spinButtonUpdatePolicy">spinButtonUpdatePolicy</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></li><li class="src short"><a href="#v:spinButtonValue">spinButtonValue</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:onInput">onInput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb)</li><li class="src short"><a href="#v:afterInput">afterInput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb)</li><li class="src short"><a href="#v:onOutput">onOutput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb)</li><li class="src short"><a href="#v:afterOutput">afterOutput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb)</li><li class="src short"><a href="#v:onValueSpinned">onValueSpinned</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb)</li><li class="src short"><a href="#v:afterValueSpinned">afterValueSpinned</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb)</li></ul></div><div id="interface"><h1 id="g:1">Detail</h1><div class="doc"><p>A <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></code> is an ideal way to allow the user to set the value of some
attribute. Rather than having to directly type a number into a <code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code>,
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></code> allows the user to click on one of two arrows to increment or
decrement the displayed value. A value can still be typed in, with the bonus
that it can be checked to ensure it is in a given range.</p><p>The main properties of a <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></code> are through a <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code>. See the
<code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> section for more details about an adjustment's properties.</p></div><h1 id="g:2">Class Hierarchy</h1><div class="doc"><pre>| <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a></code>
| +----<code>Object</code>
| +----<code><a href="Graphics-UI-Gtk-Abstract-Widget.html#t:Widget">Widget</a></code>
| +----<code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code>
| +----SpinButton
</pre></div><h1 id="g:3">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:SpinButton" class="def">SpinButton</a> <a href="src/Graphics-UI-Gtk-Types.html#SpinButton" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></p><div class="subs instances"><p id="control.i:SpinButton" class="caption collapser" onclick="toggleSection('i:SpinButton')">Instances</p><div id="section.i:SpinButton" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinButton:Eq:1" class="instance expander" onclick="toggleSection('i:id:SpinButton: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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3890" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButton: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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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:SpinButton:Ord:2" class="instance expander" onclick="toggleSection('i:id:SpinButton: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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3890" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButton: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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</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:SpinButton:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:SpinButton: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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3902" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButton: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-Entry-SpinButton.html#t:SpinButton">SpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</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:SpinButton:SpinButtonClass:4" class="instance expander" onclick="toggleSection('i:id:SpinButton:SpinButtonClass:4')"></span> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3899" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButton:SpinButtonClass:4" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinButton:EntryClass:5" class="instance expander" onclick="toggleSection('i:id:SpinButton:EntryClass:5')"></span> <a href="Graphics-UI-Gtk-Entry-Entry.html#t:EntryClass">EntryClass</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3900" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButton:EntryClass:5" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinButton:WidgetClass:6" class="instance expander" onclick="toggleSection('i:id:SpinButton:WidgetClass:6')"></span> <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:WidgetClass">WidgetClass</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3901" class="link">Source</a> <a href="#t:SpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButton:WidgetClass:6" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Graphics-UI-Gtk-Entry-Entry.html#t:EntryClass">EntryClass</a> o => <a id="t:SpinButtonClass" class="def">SpinButtonClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#SpinButtonClass" class="link">Source</a> <a href="#t:SpinButtonClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:SpinButtonClass" class="caption collapser" onclick="toggleSection('i:SpinButtonClass')">Instances</p><div id="section.i:SpinButtonClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:SpinButtonClass:SpinButtonClass:1" class="instance expander" onclick="toggleSection('i:ic:SpinButtonClass:SpinButtonClass:1')"></span> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-3899" class="link">Source</a> <a href="#t:SpinButtonClass" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:ic:SpinButtonClass:SpinButtonClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:castToSpinButton" class="def">castToSpinButton</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-Entry-SpinButton.html#t:SpinButton">SpinButton</a> <a href="src/Graphics-UI-Gtk-Types.html#castToSpinButton" class="link">Source</a> <a href="#v:castToSpinButton" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gTypeSpinButton" class="def">gTypeSpinButton</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a> <a href="src/Graphics-UI-Gtk-Types.html#gTypeSpinButton" class="link">Source</a> <a href="#v:gTypeSpinButton" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toSpinButton" class="def">toSpinButton</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> o => o -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a> <a href="src/Graphics-UI-Gtk-Types.html#toSpinButton" class="link">Source</a> <a href="#v:toSpinButton" class="selflink">#</a></p></div><h1 id="g:4">Constructors</h1><div class="top"><p class="src"><a id="v:spinButtonNew" class="def">spinButtonNew</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonNew" class="link">Source</a> <a href="#v:spinButtonNew" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>adjustment</code> - the <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> object that this spin
button should use.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>climbRate</code> - specifies how much the spin button
changes when an arrow is clicked on.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>digits</code> - the number of decimal places to display.</p></td></tr><tr><td class="src">-> <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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonNewWithRange" class="def">spinButtonNewWithRange</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonNewWithRange" class="link">Source</a> <a href="#v:spinButtonNewWithRange" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>min</code> - Minimum allowable value</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>max</code> - Maximum allowable value</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>step</code> - Increment added or subtracted by spinning the
widget</p></td></tr><tr><td class="src">-> <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-Entry-SpinButton.html#t:SpinButton">SpinButton</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>This is a convenience constructor that allows creation of a numeric
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></code> without manually creating an adjustment. The value is initially
set to the minimum value and a page increment of 10 * <code>step</code> is the default.
The precision of the spin button is equivalent to the precision of <code>step</code>.</p><p>Note that the way in which the precision is derived works best if <code>step</code>
is a power of ten. If the resulting precision is not suitable for your
needs, use <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetDigits">spinButtonSetDigits</a></code> to correct it.</p></div></div><h1 id="g:5">Methods</h1><div class="top"><p class="src"><a id="v:spinButtonConfigure" class="def">spinButtonConfigure</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonConfigure" class="link">Source</a> <a href="#v:spinButtonConfigure" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>adjustment</code> - a <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code>.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>climbRate</code> - the new climb rate.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>digits</code> - the number of decimal places to display in the
spin button.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Changes the properties of an existing spin button. The adjustment, climb
rate, and number of decimal places are all changed accordingly, after this
function call.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetAdjustment" class="def">spinButtonSetAdjustment</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetAdjustment" class="link">Source</a> <a href="#v:spinButtonSetAdjustment" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p><code>adjustment</code> - a <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> to replace the existing
adjustment</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Replaces the <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> associated with the spin button.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetAdjustment" class="def">spinButtonGetAdjustment</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetAdjustment" class="link">Source</a> <a href="#v:spinButtonGetAdjustment" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Misc-Adjustment.html#t:Adjustment">Adjustment</a></td><td class="doc"><p>returns the <code><a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a></code> of <code>spinButton</code></p></td></tr></table></div><div class="doc"><p>Get the adjustment associated with a <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></code></p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetDigits" class="def">spinButtonSetDigits</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetDigits" class="link">Source</a> <a href="#v:spinButtonSetDigits" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>digits</code> - the number of digits after the decimal point to be
displayed for the spin button's value</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Set the precision to be displayed by <code>spinButton</code>. Up to 20 digit
precision is allowed.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetDigits" class="def">spinButtonGetDigits</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetDigits" class="link">Source</a> <a href="#v:spinButtonGetDigits" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns the current precision</p></td></tr></table></div><div class="doc"><p>Fetches the precision of <code>spinButton</code>. See <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetDigits">spinButtonSetDigits</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetIncrements" class="def">spinButtonSetIncrements</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetIncrements" class="link">Source</a> <a href="#v:spinButtonSetIncrements" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>step</code> - increment applied for a button 1 press.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>page</code> - increment applied for a button 2 press.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the step and page increments for the spin button. This affects how
quickly the value changes when the spin button's arrows are activated.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetIncrements" class="def">spinButtonGetIncrements</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetIncrements" class="link">Source</a> <a href="#v:spinButtonGetIncrements" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>)</td><td class="doc"><p><code>(step, page)</code> - step increment and page increment</p></td></tr></table></div><div class="doc"><p>Gets the current step and page the increments used by the spin button. See
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetIncrements">spinButtonSetIncrements</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetRange" class="def">spinButtonSetRange</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetRange" class="link">Source</a> <a href="#v:spinButtonSetRange" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>min</code> - minimum allowable value</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>max</code> - maximum allowable value</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the minimum and maximum allowable values for the spin button</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetRange" class="def">spinButtonGetRange</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetRange" class="link">Source</a> <a href="#v:spinButtonGetRange" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a>)</td><td class="doc"><p><code>(min, max)</code> - minimum and maximum allowed value</p></td></tr></table></div><div class="doc"><p>Gets the range allowed for the spin button. See <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetRange">spinButtonSetRange</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetValue" class="def">spinButtonGetValue</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetValue" class="link">Source</a> <a href="#v:spinButtonGetValue" class="selflink">#</a></p><div class="doc"><p>Get the value of the spin button as a floating point value.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetValueAsInt" class="def">spinButtonGetValueAsInt</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetValueAsInt" class="link">Source</a> <a href="#v:spinButtonGetValueAsInt" class="selflink">#</a></p><div class="doc"><p>Get the value of the spin button as an integral value.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetValue" class="def">spinButtonSetValue</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</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="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetValue" class="link">Source</a> <a href="#v:spinButtonSetValue" class="selflink">#</a></p><div class="doc"><p>Set the value of the spin button.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:SpinButtonUpdatePolicy" class="def">SpinButtonUpdatePolicy</a> <a href="src/Graphics-UI-Gtk-General-Enums.html#SpinButtonUpdatePolicy" class="link">Source</a> <a href="#t:SpinButtonUpdatePolicy" class="selflink">#</a></p><div class="doc"><p>Whether to clamp or ignore illegal values.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:UpdateAlways" class="def">UpdateAlways</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:UpdateIfValid" class="def">UpdateIfValid</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SpinButtonUpdatePolicy" class="caption collapser" onclick="toggleSection('i:SpinButtonUpdatePolicy')">Instances</p><div id="section.i:SpinButtonUpdatePolicy" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinButtonUpdatePolicy:Enum:1" class="instance expander" onclick="toggleSection('i:id:SpinButtonUpdatePolicy:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></span> <a href="src/Graphics-UI-Gtk-General-Enums.html#line-433" class="link">Source</a> <a href="#t:SpinButtonUpdatePolicy" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButtonUpdatePolicy:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinButtonUpdatePolicy:Eq:2" class="instance expander" onclick="toggleSection('i:id:SpinButtonUpdatePolicy:Eq:2')"></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-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></span> <a href="src/Graphics-UI-Gtk-General-Enums.html#line-433" class="link">Source</a> <a href="#t:SpinButtonUpdatePolicy" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButtonUpdatePolicy:Eq:2" 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-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</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-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</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:SpinButtonUpdatePolicy:Show:3" class="instance expander" onclick="toggleSection('i:id:SpinButtonUpdatePolicy:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></span> <a href="src/Graphics-UI-Gtk-General-Enums.html#line-433" class="link">Source</a> <a href="#t:SpinButtonUpdatePolicy" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinButtonUpdatePolicy:Show:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:spinButtonSetUpdatePolicy" class="def">spinButtonSetUpdatePolicy</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetUpdatePolicy" class="link">Source</a> <a href="#v:spinButtonSetUpdatePolicy" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></td><td class="doc"><p><code>policy</code> - a <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></code> value</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the update behavior of a spin button. This determines whether the
spin button is always updated or only when a valid value is set.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetUpdatePolicy" class="def">spinButtonGetUpdatePolicy</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetUpdatePolicy" class="link">Source</a> <a href="#v:spinButtonGetUpdatePolicy" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <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-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a></td><td class="doc"><p>returns the current update policy</p></td></tr></table></div><div class="doc"><p>Gets the update behavior of a spin button. See
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetUpdatePolicy">spinButtonSetUpdatePolicy</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetNumeric" class="def">spinButtonSetNumeric</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetNumeric" class="link">Source</a> <a href="#v:spinButtonSetNumeric" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>numeric</code> - flag indicating if only numeric entry is allowed.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the flag that determines if non-numeric text can be typed into the
spin button.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetNumeric" class="def">spinButtonGetNumeric</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetNumeric" class="link">Source</a> <a href="#v:spinButtonGetNumeric" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if only numeric text can be entered</p></td></tr></table></div><div class="doc"><p>Returns whether non-numeric text can be typed into the spin button. See
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetNumeric">spinButtonSetNumeric</a></code>.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:SpinType" class="def">SpinType</a> <a href="src/Graphics-UI-Gtk-General-Enums.html#SpinType" class="link">Source</a> <a href="#t:SpinType" class="selflink">#</a></p><div class="doc"><p>Spin a SpinButton with the following method.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:SpinStepForward" class="def">SpinStepForward</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SpinStepBackward" class="def">SpinStepBackward</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SpinPageForward" class="def">SpinPageForward</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SpinPageBackward" class="def">SpinPageBackward</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SpinHome" class="def">SpinHome</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SpinEnd" class="def">SpinEnd</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a id="v:SpinUserDefined" class="def">SpinUserDefined</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:SpinType" class="caption collapser" onclick="toggleSection('i:SpinType')">Instances</p><div id="section.i:SpinType" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinType:Enum:1" class="instance expander" onclick="toggleSection('i:id:SpinType:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a></span> <a href="src/Graphics-UI-Gtk-General-Enums.html#line-442" class="link">Source</a> <a href="#t:SpinType" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinType:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:SpinType:Eq:2" class="instance expander" onclick="toggleSection('i:id:SpinType:Eq:2')"></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-Entry-SpinButton.html#t:SpinType">SpinType</a></span> <a href="src/Graphics-UI-Gtk-General-Enums.html#line-442" class="link">Source</a> <a href="#t:SpinType" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinType:Eq:2" 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-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</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-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</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:SpinType:Show:3" class="instance expander" onclick="toggleSection('i:id:SpinType:Show:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a></span> <a href="src/Graphics-UI-Gtk-General-Enums.html#line-442" class="link">Source</a> <a href="#t:SpinType" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:id:SpinType:Show:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a>] -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:spinButtonSpin" class="def">spinButtonSpin</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSpin" class="link">Source</a> <a href="#v:spinButtonSpin" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a></td><td class="doc"><p><code>direction</code> - a <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinType">SpinType</a></code> indicating the direction to spin.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></td><td class="doc"><p><code>increment</code> - step increment to apply in the specified
direction.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Increment or decrement a spin button's value in a specified direction by
a specified amount.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetWrap" class="def">spinButtonSetWrap</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetWrap" class="link">Source</a> <a href="#v:spinButtonSetWrap" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>wrap</code> - a flag indicating if wrapping behavior is performed.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the flag that determines if a spin button value wraps around to the
opposite limit when the upper or lower limit of the range is exceeded.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetWrap" class="def">spinButtonGetWrap</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetWrap" class="link">Source</a> <a href="#v:spinButtonGetWrap" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the spin button wraps around</p></td></tr></table></div><div class="doc"><p>Returns whether the spin button's value wraps around to the opposite
limit when the upper or lower limit of the range is exceeded. See
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetWrap">spinButtonSetWrap</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSetSnapToTicks" class="def">spinButtonSetSnapToTicks</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSetSnapToTicks" class="link">Source</a> <a href="#v:spinButtonSetSnapToTicks" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>snapToTicks</code> - a flag indicating if invalid values should be
corrected.</p></td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the policy as to whether values are corrected to the nearest step
increment when a spin button is activated after providing an invalid value.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonGetSnapToTicks" class="def">spinButtonGetSnapToTicks</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonGetSnapToTicks" class="link">Source</a> <a href="#v:spinButtonGetSnapToTicks" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self</td><td class="doc empty"> </td></tr><tr><td class="src">=> self</td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if values are snapped to the nearest step.</p></td></tr></table></div><div class="doc"><p>Returns whether the values are corrected to the nearest step. See
<code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:spinButtonSetSnapToTicks">spinButtonSetSnapToTicks</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonUpdate" class="def">spinButtonUpdate</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => self -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonUpdate" class="link">Source</a> <a href="#v:spinButtonUpdate" class="selflink">#</a></p><div class="doc"><p>Manually force an update of the spin button.</p></div></div><h1 id="g:6">Attributes</h1><div class="top"><p class="src"><a id="v:spinButtonAdjustment" class="def">spinButtonAdjustment</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Misc-Adjustment.html#t:Adjustment">Adjustment</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonAdjustment" class="link">Source</a> <a href="#v:spinButtonAdjustment" class="selflink">#</a></p><div class="doc"><p>The adjustment that holds the value of the spinbutton.</p></div></div><div class="top"><p class="src"><a id="v:spinButtonClimbRate" class="def">spinButtonClimbRate</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonClimbRate" class="link">Source</a> <a href="#v:spinButtonClimbRate" class="selflink">#</a></p><div class="doc"><p>The acceleration rate when you hold down a button.</p><p>Allowed values: >= 0</p><p>Default value: 0</p></div></div><div class="top"><p class="src"><a id="v:spinButtonDigits" class="def">spinButtonDigits</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonDigits" class="link">Source</a> <a href="#v:spinButtonDigits" class="selflink">#</a></p><div class="doc"><p>The number of decimal places to display.</p><p>Allowed values: <= 20</p><p>Default value: 0</p></div></div><div class="top"><p class="src"><a id="v:spinButtonSnapToTicks" class="def">spinButtonSnapToTicks</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonSnapToTicks" class="link">Source</a> <a href="#v:spinButtonSnapToTicks" class="selflink">#</a></p><div class="doc"><p>Whether erroneous values are automatically changed to a spin button's
nearest step increment.</p><p>Default value: <code>False</code></p></div></div><div class="top"><p class="src"><a id="v:spinButtonNumeric" class="def">spinButtonNumeric</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonNumeric" class="link">Source</a> <a href="#v:spinButtonNumeric" class="selflink">#</a></p><div class="doc"><p>Whether non-numeric characters should be ignored.</p><p>Default value: <code>False</code></p></div></div><div class="top"><p class="src"><a id="v:spinButtonWrap" class="def">spinButtonWrap</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonWrap" class="link">Source</a> <a href="#v:spinButtonWrap" class="selflink">#</a></p><div class="doc"><p>Whether a spin button should wrap upon reaching its limits.</p><p>Default value: <code>False</code></p></div></div><div class="top"><p class="src"><a id="v:spinButtonUpdatePolicy" class="def">spinButtonUpdatePolicy</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonUpdatePolicy">SpinButtonUpdatePolicy</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonUpdatePolicy" class="link">Source</a> <a href="#v:spinButtonUpdatePolicy" class="selflink">#</a></p><div class="doc"><p>Whether the spin button should update always, or only when the value is
legal.</p><p>Default value: <code><a href="Graphics-UI-Gtk-Entry-SpinButton.html#v:UpdateAlways">UpdateAlways</a></code></p></div></div><div class="top"><p class="src"><a id="v:spinButtonValue" class="def">spinButtonValue</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> self => <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#spinButtonValue" class="link">Source</a> <a href="#v:spinButtonValue" class="selflink">#</a></p><div class="doc"><p>Reads the current value, or sets a new value.</p><p>Default value: 0</p></div></div><h1 id="g:7">Signals</h1><div class="top"><p class="src"><a id="v:onInput" class="def">onInput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb) <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#onInput" class="link">Source</a> <a href="#v:onInput" class="selflink">#</a></p><div class="doc"><p>Install a custom input handler.</p><ul><li>This signal is called upon each time the value of the SpinButton is set
by spinButtonSetValue. The function can return Nothing if the value is no
good.</li></ul></div></div><div class="top"><p class="src"><a id="v:afterInput" class="def">afterInput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb) <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#afterInput" class="link">Source</a> <a href="#v:afterInput" class="selflink">#</a></p><div class="doc"><p>Install a custom input handler.</p><ul><li>This signal is called upon each time the value of the SpinButton is set
by spinButtonSetValue. The function can return Nothing if the value is no
good.</li></ul></div></div><div class="top"><p class="src"><a id="v:onOutput" class="def">onOutput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb) <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#onOutput" class="link">Source</a> <a href="#v:onOutput" class="selflink">#</a></p><div class="doc"><p>Install a custom output handler.</p><ul><li>This handler makes it possible to query the current value and to render
something completely different to the screen using entrySetText. The
return value must be False in order to let the default output routine run
after this signal returns.</li></ul></div></div><div class="top"><p class="src"><a id="v:afterOutput" class="def">afterOutput</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb) <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#afterOutput" class="link">Source</a> <a href="#v:afterOutput" class="selflink">#</a></p><div class="doc"><p>Install a custom output handler.</p><ul><li>This handler makes it possible to query the current value and to render
something completely different to the screen using entrySetText. The
return value must be False in order to let the default output routine run
after this signal returns.</li></ul></div></div><div class="top"><p class="src"><a id="v:onValueSpinned" class="def">onValueSpinned</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb) <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#onValueSpinned" class="link">Source</a> <a href="#v:onValueSpinned" class="selflink">#</a></p><div class="doc"><p>The value of the spin button has changed.</p></div></div><div class="top"><p class="src"><a id="v:afterValueSpinned" class="def">afterValueSpinned</a> :: <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButtonClass">SpinButtonClass</a> sb => sb -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</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="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:ConnectId">ConnectId</a> sb) <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#afterValueSpinned" class="link">Source</a> <a href="#v:afterValueSpinned" class="selflink">#</a></p><div class="doc"><p>The value of the spin button has changed.</p></div></div><h1>Orphan instances</h1><div id="section.orphans" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:EditableClass:EditableClass:1" class="instance expander" onclick="toggleSection('i:o:ic:EditableClass:EditableClass:1')"></span> <a href="Graphics-UI-Gtk-Entry-Editable.html#t:EditableClass">EditableClass</a> <a href="Graphics-UI-Gtk-Entry-SpinButton.html#t:SpinButton">SpinButton</a></span> <a href="src/Graphics-UI-Gtk-Entry-SpinButton.html#line-121" class="link">Source</a> <a href="#v:-36-fEditableClassSpinButton" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div id="section.i:o:ic:EditableClass:EditableClass:1" class="inst-details hide"></div></td></tr></table></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>
|