1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
<title>gtkmm: Gtk::SpinButton Class Reference</title>
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
10
<!-- Generated by Doxygen 1.7.3 -->
13
<table cellspacing="0" cellpadding="0">
15
<tr style="height: 56px;">
16
<td style="padding-left: 0.5em;">
17
<div id="projectname">gtkmm <span id="projectnumber">2.24.2</span></div>
23
<div id="navrow1" class="tabs">
25
<li><a href="index.html"><span>Main Page</span></a></li>
26
<li><a href="pages.html"><span>Related Pages</span></a></li>
27
<li><a href="modules.html"><span>Modules</span></a></li>
28
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
29
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
32
<div id="navrow2" class="tabs2">
34
<li><a href="annotated.html"><span>Class List</span></a></li>
35
<li><a href="classes.html"><span>Class Index</span></a></li>
36
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
37
<li><a href="functions.html"><span>Class Members</span></a></li>
40
<div id="nav-path" class="navpath">
42
<li class="navelem"><a class="el" href="namespaceGtk.html">Gtk</a> </li>
43
<li class="navelem"><a class="el" href="classGtk_1_1SpinButton.html">SpinButton</a> </li>
49
<a href="#pub-methods">Public Member Functions</a> |
50
<a href="#pro-methods">Protected Member Functions</a> |
51
<a href="#related">Related Functions</a> </div>
52
<div class="headertitle">
53
<h1>Gtk::SpinButton Class Reference<div class="ingroups"><a class="el" href="group__Widgets.html">Widgets</a></div></h1> </div>
55
<div class="contents">
56
<!-- doxytag: class="Gtk::SpinButton" --><!-- doxytag: inherits="Gtk::Entry" -->
57
<p>numeric <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> with up/down buttons Slightly misnamed, this should be called a SpinEntry. <a href="#_details">More...</a></p>
58
<div class="dynheader">
59
Inheritance diagram for Gtk::SpinButton:</div>
60
<div class="dyncontent">
61
<div class="center"><img src="classGtk_1_1SpinButton__inherit__graph.png" border="0" usemap="#Gtk_1_1SpinButton_inherit__map" alt="Inheritance graph"/></div>
62
<map name="Gtk_1_1SpinButton_inherit__map" id="Gtk_1_1SpinButton_inherit__map">
63
<area shape="rect" id="node2" href="classGtk_1_1Entry.html" title="A single line text entry field." alt="" coords="200,406,280,437"/><area shape="rect" id="node4" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="76,326,167,357"/><area shape="rect" id="node6" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="5,246,93,277"/><area shape="rect" id="node8" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="96,166,187,197"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="145,86,265,117"/><area shape="rect" id="node18" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="264,246,368,277"/><area shape="rect" id="node12" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="152,6,259,37"/><area shape="rect" id="node14" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,246,240,277"/><area shape="rect" id="node16" href="classGtk_1_1Editable.html" title="Base class for text-editing widgets." alt="" coords="191,326,289,357"/><area shape="rect" id="node21" href="classGtk_1_1CellEditable.html" title="Interface for widgets which are used for editing cells." alt="" coords="313,326,433,357"/></map>
64
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
65
<div class="dynheader">
66
Collaboration diagram for Gtk::SpinButton:</div>
67
<div class="dyncontent">
68
<div class="center"><img src="classGtk_1_1SpinButton__coll__graph.png" border="0" usemap="#Gtk_1_1SpinButton_coll__map" alt="Collaboration graph"/></div>
69
<map name="Gtk_1_1SpinButton_coll__map" id="Gtk_1_1SpinButton_coll__map">
70
<area shape="rect" id="node2" href="classGtk_1_1Entry.html" title="A single line text entry field." alt="" coords="200,406,280,437"/><area shape="rect" id="node4" href="classGtk_1_1Widget.html" title="Abstract Widget (Base class for all widgets)" alt="" coords="76,326,167,357"/><area shape="rect" id="node6" href="classGtk_1_1Object.html" title="Gtk::Object is the base class for all widgets, and for a few non-widget objects such as Gtk::Adjustme..." alt="" coords="5,246,93,277"/><area shape="rect" id="node8" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="96,166,187,197"/><area shape="rect" id="node10" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="145,86,265,117"/><area shape="rect" id="node18" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="264,246,368,277"/><area shape="rect" id="node12" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="152,6,259,37"/><area shape="rect" id="node14" href="classAtk_1_1Implementor.html" title="Atk::Implementor" alt="" coords="117,246,240,277"/><area shape="rect" id="node16" href="classGtk_1_1Editable.html" title="Base class for text-editing widgets." alt="" coords="191,326,289,357"/><area shape="rect" id="node21" href="classGtk_1_1CellEditable.html" title="Interface for widgets which are used for editing cells." alt="" coords="313,326,433,357"/></map>
71
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
73
<p><a href="classGtk_1_1SpinButton-members.html">List of all members.</a></p>
74
<table class="memberdecls">
75
<tr><td colspan="2"><h2><a name="pub-methods"></a>
76
Public Member Functions</h2></td></tr>
77
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a40e3184b62402b739c7c1ea02309aa19">~SpinButton</a> ()</td></tr>
78
<tr><td class="memItemLeft" align="right" valign="top">GtkSpinButton* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a8f8d443a53121273bd7b464a347690da">gobj</a> ()</td></tr>
79
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a8f8d443a53121273bd7b464a347690da"></a><br/></td></tr>
80
<tr><td class="memItemLeft" align="right" valign="top">const GtkSpinButton* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a3728f504486a2397ca7536760b898088">gobj</a> () const </td></tr>
81
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GtkObject. <a href="#a3728f504486a2397ca7536760b898088"></a><br/></td></tr>
82
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a42ce311c125de708c3e6515925c13dfc">SpinButton</a> (double climb_rate=0.0, guint digits=0)</td></tr>
83
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ac8a144aa0618ac8d8b28fab67f798766">SpinButton</a> (<a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>& adjustment, double climb_rate=0.0, guint digits=0)</td></tr>
84
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a00906ac8a5967354a70a3a7da9a5568e">configure</a> (<a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>& adjustment, double climb_rate, guint digits)</td></tr>
85
<tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the properties of an existing spin button. <a href="#a00906ac8a5967354a70a3a7da9a5568e"></a><br/></td></tr>
86
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a16200655a04dd029da1fbfd596ab6f20">set_adjustment</a> (<a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>& adjustment)</td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Replaces the <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a> associated with <em>spin_button</em>. <a href="#a16200655a04dd029da1fbfd596ab6f20"></a><br/></td></tr>
88
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ae1e334e711e195441c5b1533bd05ca2a">unset_adjustment</a> ()</td></tr>
89
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a4b2f9aa7a87f4397afad5c1c1c31e4c6">get_adjustment</a> ()</td></tr>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the adjustment associated with a <a class="el" href="classGtk_1_1SpinButton.html" title="numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry.">Gtk::SpinButton</a>. <a href="#a4b2f9aa7a87f4397afad5c1c1c31e4c6"></a><br/></td></tr>
91
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a332cde0fe1ebfb064b42511929e65b2a">get_adjustment</a> () const </td></tr>
92
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the adjustment associated with a <a class="el" href="classGtk_1_1SpinButton.html" title="numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry.">Gtk::SpinButton</a>. <a href="#a332cde0fe1ebfb064b42511929e65b2a"></a><br/></td></tr>
93
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a2d6913e87673bf34b04afd4595ffd797">set_digits</a> (guint digits)</td></tr>
94
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the precision to be displayed by <em>spin_button</em>. <a href="#a2d6913e87673bf34b04afd4595ffd797"></a><br/></td></tr>
95
<tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a664ee6d6352b7ce8592cc85d574306d6">get_digits</a> () const </td></tr>
96
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetches the precision of <em>spin_button</em>. <a href="#a664ee6d6352b7ce8592cc85d574306d6"></a><br/></td></tr>
97
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a879b8eff06f35012b00453aad93f8a72">set_increments</a> (double step, double page)</td></tr>
98
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the step and page increments for spin_button. <a href="#a879b8eff06f35012b00453aad93f8a72"></a><br/></td></tr>
99
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a74ccc3346bd25baea54497e921c52240">get_increments</a> (double& step, double& page) const </td></tr>
100
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current step and page the increments used by <em>spin_button</em>. <a href="#a74ccc3346bd25baea54497e921c52240"></a><br/></td></tr>
101
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a7fdcf657e0776f2ca748e6f653b2d404">set_range</a> (double <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01572.html#ga49f0c87cb0e1bf950f5c2d49aa106573">min</a>, double <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01572.html#gae5cffdfdf0bb1552028045ceedfe7617">max</a>)</td></tr>
102
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the minimum and maximum allowable values for <em>spin_button</em>. <a href="#a7fdcf657e0776f2ca748e6f653b2d404"></a><br/></td></tr>
103
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a1aa7ec8593d1f19116e22d9c166439d4">get_range</a> (double&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01572.html#ga49f0c87cb0e1bf950f5c2d49aa106573">min</a>, double&<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01572.html#gae5cffdfdf0bb1552028045ceedfe7617">max</a>) const </td></tr>
104
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the range allowed for <em>spin_button</em>. <a href="#a1aa7ec8593d1f19116e22d9c166439d4"></a><br/></td></tr>
105
<tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a9762bfb226e37e7131e0cc9ac550b047">get_value</a> () const </td></tr>
106
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value in the <em>spin_button</em>. <a href="#a9762bfb226e37e7131e0cc9ac550b047"></a><br/></td></tr>
107
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#abe5bad2f0322f3aa10ada0659079fc81">get_value_as_int</a> () const </td></tr>
108
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value <em>spin_button</em> represented as an integer. <a href="#abe5bad2f0322f3aa10ada0659079fc81"></a><br/></td></tr>
109
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a6ccada5358fee59092b2cbf89c7bdc89">set_value</a> (double <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01580.html#ga1c9e781d8d15a3814a601f471797c825">value</a>)</td></tr>
110
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value of <em>spin_button</em>. <a href="#a6ccada5358fee59092b2cbf89c7bdc89"></a><br/></td></tr>
111
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a7933bec9c5616db5c0091454c9706c73">set_update_policy</a> (<a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a> policy)</td></tr>
112
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the update behavior of a spin button. <a href="#a7933bec9c5616db5c0091454c9706c73"></a><br/></td></tr>
113
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a8e1401062c9c3c4cb00bb57b6c7d311d">get_update_policy</a> () const </td></tr>
114
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the update behavior of a spin button. <a href="#a8e1401062c9c3c4cb00bb57b6c7d311d"></a><br/></td></tr>
115
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a02b4b86b909c1c3410cfd8c77dbaa804">set_numeric</a> (bool numeric=true)</td></tr>
116
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the flag that determines if non-numeric text can be typed into the spin button. <a href="#a02b4b86b909c1c3410cfd8c77dbaa804"></a><br/></td></tr>
117
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a66087e4f732b5d4c55452e4fa155654e">get_numeric</a> () const </td></tr>
118
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether non-numeric text can be typed into the spin button. <a href="#a66087e4f732b5d4c55452e4fa155654e"></a><br/></td></tr>
119
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a740503c08f262b4386afd7812615652d">spin</a> (<a class="el" href="group__gtkmmEnums.html#ga1fdcff1634130369780165ddce65575c">SpinType</a> direction, double increment)</td></tr>
120
<tr><td class="mdescLeft"> </td><td class="mdescRight">Increment or decrement a spin button's value in a specified direction by a specified amount. <a href="#a740503c08f262b4386afd7812615652d"></a><br/></td></tr>
121
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ad0aae779878e48a65b612b2b3ca37c61">set_wrap</a> (bool wrap=true)</td></tr>
122
<tr><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="#ad0aae779878e48a65b612b2b3ca37c61"></a><br/></td></tr>
123
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a49c643c563f06ffe97f44abc9ea787e4">get_wrap</a> () const </td></tr>
124
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the spin button's value wraps around to the opposite limit when the upper or lower limit of the range is exceeded. <a href="#a49c643c563f06ffe97f44abc9ea787e4"></a><br/></td></tr>
125
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a167aa3cc1c5e12f644f30d81860847bc">set_snap_to_ticks</a> (bool snap_to_ticks=true)</td></tr>
126
<tr><td class="mdescLeft"> </td><td class="mdescRight">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. <a href="#a167aa3cc1c5e12f644f30d81860847bc"></a><br/></td></tr>
127
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a985bafd7f7ada668cc689d647d6ce500">get_snap_to_ticks</a> () const </td></tr>
128
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether the values are corrected to the nearest step. <a href="#a985bafd7f7ada668cc689d647d6ce500"></a><br/></td></tr>
129
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a8f55a8c35d4de7e59780ba987d1971b5">update</a> ()</td></tr>
130
<tr><td class="mdescLeft"> </td><td class="mdescRight">Manually force an update of the spin button. <a href="#a8f55a8c35d4de7e59780ba987d1971b5"></a><br/></td></tr>
131
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< int, double* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a7ef752e4382db54d50af0143b09878e1">signal_input</a> ()</td></tr>
132
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> text to a number. <a href="#a7ef752e4382db54d50af0143b09878e1"></a><br/></td></tr>
133
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a22426edb09e3e708997f185597d1d214">signal_output</a> ()</td></tr>
134
<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Adjustment</a> position to text. <a href="#a22426edb09e3e708997f185597d1d214"></a><br/></td></tr>
135
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a2e8e0166cb9b90771b4846e0f86bdac7">signal_wrapped</a> ()</td></tr>
136
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ae4d5846dafa899e75e885a55a36762a9">signal_value_changed</a> ()</td></tr>
137
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
138
< <a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ae20f29d41a832360895937194c583336">property_adjustment</a> ()</td></tr>
139
<tr><td class="mdescLeft"> </td><td class="mdescRight">The adjustment that holds the value of the spinbutton. <a href="#ae20f29d41a832360895937194c583336"></a><br/></td></tr>
140
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
141
< <a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a18043f94fae4de9431a4838e8f7d31b2">property_adjustment</a> () const </td></tr>
142
<tr><td class="mdescLeft"> </td><td class="mdescRight">The adjustment that holds the value of the spinbutton. <a href="#a18043f94fae4de9431a4838e8f7d31b2"></a><br/></td></tr>
143
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#add8acf819c492df458fafdd948f0082d">property_climb_rate</a> ()</td></tr>
144
<tr><td class="mdescLeft"> </td><td class="mdescRight">The acceleration rate when you hold down a button. <a href="#add8acf819c492df458fafdd948f0082d"></a><br/></td></tr>
145
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
146
< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a1e6878061ea0955fe5d8d9c31d490208">property_climb_rate</a> () const </td></tr>
147
<tr><td class="mdescLeft"> </td><td class="mdescRight">The acceleration rate when you hold down a button. <a href="#a1e6878061ea0955fe5d8d9c31d490208"></a><br/></td></tr>
148
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ac6970c78e33f2bfd3c0b7da5a3d5e8bb">property_digits</a> ()</td></tr>
149
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of decimal places to display. <a href="#ac6970c78e33f2bfd3c0b7da5a3d5e8bb"></a><br/></td></tr>
150
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
151
< guint > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#aa6e669db8261777cbf7ee4e2fd9d4024">property_digits</a> () const </td></tr>
152
<tr><td class="mdescLeft"> </td><td class="mdescRight">The number of decimal places to display. <a href="#aa6e669db8261777cbf7ee4e2fd9d4024"></a><br/></td></tr>
153
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a63de21459a3732d532959632ad858c08">property_snap_to_ticks</a> ()</td></tr>
154
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether erroneous values are automatically changed to a spin button's nearest step increment. <a href="#a63de21459a3732d532959632ad858c08"></a><br/></td></tr>
155
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
156
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a9bcb41e2071c616391850817ba704e53">property_snap_to_ticks</a> () const </td></tr>
157
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether erroneous values are automatically changed to a spin button's nearest step increment. <a href="#a9bcb41e2071c616391850817ba704e53"></a><br/></td></tr>
158
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a6cc039a29425fc1b583c7bc9b6d7aa39">property_numeric</a> ()</td></tr>
159
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether non-numeric characters should be ignored. <a href="#a6cc039a29425fc1b583c7bc9b6d7aa39"></a><br/></td></tr>
160
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
161
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ab06f3dbe58bd6efa18b3a86f254b1d10">property_numeric</a> () const </td></tr>
162
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether non-numeric characters should be ignored. <a href="#ab06f3dbe58bd6efa18b3a86f254b1d10"></a><br/></td></tr>
163
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a0f1abc51109ccabc456e0ae8a661f0ce">property_wrap</a> ()</td></tr>
164
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether a spin button should wrap upon reaching its limits. <a href="#a0f1abc51109ccabc456e0ae8a661f0ce"></a><br/></td></tr>
165
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
166
< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#aec3e5618cb9945671cbd490fe3697415">property_wrap</a> () const </td></tr>
167
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether a spin button should wrap upon reaching its limits. <a href="#aec3e5618cb9945671cbd490fe3697415"></a><br/></td></tr>
168
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
169
< <a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a545fdd00939d4808ed45022441f34cfb">property_update_policy</a> ()</td></tr>
170
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the spin button should update always, or only when the value is legal. <a href="#a545fdd00939d4808ed45022441f34cfb"></a><br/></td></tr>
171
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
172
< <a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#af01a4d39bad5a1d11a48665961194d1a">property_update_policy</a> () const </td></tr>
173
<tr><td class="mdescLeft"> </td><td class="mdescRight">Whether the spin button should update always, or only when the value is legal. <a href="#af01a4d39bad5a1d11a48665961194d1a"></a><br/></td></tr>
174
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a2c42a562dc9c999ab83417bdfd743276">property_value</a> ()</td></tr>
175
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reads the current value, or sets a new value. <a href="#a2c42a562dc9c999ab83417bdfd743276"></a><br/></td></tr>
176
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
177
< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ac1170a68044e3742a034314aad9fcf71">property_value</a> () const </td></tr>
178
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reads the current value, or sets a new value. <a href="#ac1170a68044e3742a034314aad9fcf71"></a><br/></td></tr>
179
<tr><td colspan="2"><h2><a name="pro-methods"></a>
180
Protected Member Functions</h2></td></tr>
181
<tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#a8b63a8393761d9f80b80d77727860b7c">on_input</a> (double* new_value)</td></tr>
182
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#aaeb45a00950c9162ed70ccdb788d84f0">on_output</a> ()</td></tr>
183
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#ad827e3ef8cbd4ab89a953924d29213b7">on_value_changed</a> ()</td></tr>
184
<tr><td colspan="2"><h2><a name="related"></a>
185
Related Functions</h2></td></tr>
186
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
187
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGtk_1_1SpinButton.html">Gtk::SpinButton</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtk_1_1SpinButton.html#aab144a3980161b5ebe36cf643ee52b16">wrap</a> (GtkSpinButton* object, bool take_copy=false)</td></tr>
188
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#aab144a3980161b5ebe36cf643ee52b16"></a><br/></td></tr>
190
<hr/><a name="_details"></a><h2>Detailed Description</h2>
191
<div class="textblock"><p>numeric <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> with up/down buttons Slightly misnamed, this should be called a SpinEntry. </p>
192
<p>The <a class="el" href="classGtk_1_1SpinButton.html" title="numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry.">SpinButton</a> widget looks like this: </p>
194
<img src="spinbutton1.png" alt="spinbutton1.png"/>
196
</div><hr/><h2>Constructor & Destructor Documentation</h2>
197
<a class="anchor" id="a40e3184b62402b739c7c1ea02309aa19"></a><!-- doxytag: member="Gtk::SpinButton::~SpinButton" ref="a40e3184b62402b739c7c1ea02309aa19" args="()" -->
198
<div class="memitem">
199
<div class="memproto">
200
<table class="memname">
202
<td class="memname">virtual Gtk::SpinButton::~SpinButton </td>
204
<td class="paramname"></td><td>)</td>
205
<td><code> [virtual]</code></td>
213
<a class="anchor" id="a42ce311c125de708c3e6515925c13dfc"></a><!-- doxytag: member="Gtk::SpinButton::SpinButton" ref="a42ce311c125de708c3e6515925c13dfc" args="(double climb_rate=0.0, guint digits=0)" -->
214
<div class="memitem">
215
<div class="memproto">
216
<table class="memname">
218
<td class="memname">Gtk::SpinButton::SpinButton </td>
220
<td class="paramtype">double </td>
221
<td class="paramname"><em>climb_rate</em> = <code>0.0</code>, </td>
224
<td class="paramkey"></td>
226
<td class="paramtype">guint </td>
227
<td class="paramname"><em>digits</em> = <code>0</code> </td>
240
<a class="anchor" id="ac8a144aa0618ac8d8b28fab67f798766"></a><!-- doxytag: member="Gtk::SpinButton::SpinButton" ref="ac8a144aa0618ac8d8b28fab67f798766" args="(Adjustment &adjustment, double climb_rate=0.0, guint digits=0)" -->
241
<div class="memitem">
242
<div class="memproto">
243
<table class="memname">
245
<td class="memname">Gtk::SpinButton::SpinButton </td>
247
<td class="paramtype"><a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>& </td>
248
<td class="paramname"><em>adjustment</em>, </td>
251
<td class="paramkey"></td>
253
<td class="paramtype">double </td>
254
<td class="paramname"><em>climb_rate</em> = <code>0.0</code>, </td>
257
<td class="paramkey"></td>
259
<td class="paramtype">guint </td>
260
<td class="paramname"><em>digits</em> = <code>0</code> </td>
265
<td></td><td><code> [explicit]</code></td>
273
<hr/><h2>Member Function Documentation</h2>
274
<a class="anchor" id="a00906ac8a5967354a70a3a7da9a5568e"></a><!-- doxytag: member="Gtk::SpinButton::configure" ref="a00906ac8a5967354a70a3a7da9a5568e" args="(Adjustment &adjustment, double climb_rate, guint digits)" -->
275
<div class="memitem">
276
<div class="memproto">
277
<table class="memname">
279
<td class="memname">void Gtk::SpinButton::configure </td>
281
<td class="paramtype"><a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>& </td>
282
<td class="paramname"><em>adjustment</em>, </td>
285
<td class="paramkey"></td>
287
<td class="paramtype">double </td>
288
<td class="paramname"><em>climb_rate</em>, </td>
291
<td class="paramkey"></td>
293
<td class="paramtype">guint </td>
294
<td class="paramname"><em>digits</em> </td>
305
<p>Changes the properties of an existing spin button. </p>
306
<p>The adjustment, climb rate, and number of decimal places are all changed accordingly, after this function call. </p>
307
<dl><dt><b>Parameters:</b></dt><dd>
308
<table class="params">
309
<tr><td class="paramname">adjustment</td><td>A <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a>. </td></tr>
310
<tr><td class="paramname">climb_rate</td><td>The new climb rate. </td></tr>
311
<tr><td class="paramname">digits</td><td>The number of decimal places to display in the spin button. </td></tr>
318
<a class="anchor" id="a4b2f9aa7a87f4397afad5c1c1c31e4c6"></a><!-- doxytag: member="Gtk::SpinButton::get_adjustment" ref="a4b2f9aa7a87f4397afad5c1c1c31e4c6" args="()" -->
319
<div class="memitem">
320
<div class="memproto">
321
<table class="memname">
323
<td class="memname"><a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>* Gtk::SpinButton::get_adjustment </td>
325
<td class="paramname"></td><td>)</td>
332
<p>Get the adjustment associated with a <a class="el" href="classGtk_1_1SpinButton.html" title="numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry.">Gtk::SpinButton</a>. </p>
333
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a> of <em>spin_button</em>. </dd></dl>
337
<a class="anchor" id="a332cde0fe1ebfb064b42511929e65b2a"></a><!-- doxytag: member="Gtk::SpinButton::get_adjustment" ref="a332cde0fe1ebfb064b42511929e65b2a" args="() const " -->
338
<div class="memitem">
339
<div class="memproto">
340
<table class="memname">
342
<td class="memname">const <a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>* Gtk::SpinButton::get_adjustment </td>
344
<td class="paramname"></td><td>)</td>
351
<p>Get the adjustment associated with a <a class="el" href="classGtk_1_1SpinButton.html" title="numeric Entry with up/down buttons Slightly misnamed, this should be called a SpinEntry.">Gtk::SpinButton</a>. </p>
352
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a> of <em>spin_button</em>. </dd></dl>
356
<a class="anchor" id="a664ee6d6352b7ce8592cc85d574306d6"></a><!-- doxytag: member="Gtk::SpinButton::get_digits" ref="a664ee6d6352b7ce8592cc85d574306d6" args="() const " -->
357
<div class="memitem">
358
<div class="memproto">
359
<table class="memname">
361
<td class="memname">guint Gtk::SpinButton::get_digits </td>
363
<td class="paramname"></td><td>)</td>
370
<p>Fetches the precision of <em>spin_button</em>. </p>
371
<p>See <a class="el" href="classGtk_1_1SpinButton.html#a2d6913e87673bf34b04afd4595ffd797" title="Set the precision to be displayed by spin_button.">set_digits()</a>. </p>
372
<dl class="return"><dt><b>Returns:</b></dt><dd>The current precision. </dd></dl>
376
<a class="anchor" id="a74ccc3346bd25baea54497e921c52240"></a><!-- doxytag: member="Gtk::SpinButton::get_increments" ref="a74ccc3346bd25baea54497e921c52240" args="(double &step, double &page) const " -->
377
<div class="memitem">
378
<div class="memproto">
379
<table class="memname">
381
<td class="memname">void Gtk::SpinButton::get_increments </td>
383
<td class="paramtype">double & </td>
384
<td class="paramname"><em>step</em>, </td>
387
<td class="paramkey"></td>
389
<td class="paramtype">double & </td>
390
<td class="paramname"><em>page</em> </td>
395
<td></td><td> const</td>
401
<p>Gets the current step and page the increments used by <em>spin_button</em>. </p>
402
<p>See <a class="el" href="classGtk_1_1SpinButton.html#a879b8eff06f35012b00453aad93f8a72" title="Sets the step and page increments for spin_button.">set_increments()</a>. </p>
403
<dl><dt><b>Parameters:</b></dt><dd>
404
<table class="params">
405
<tr><td class="paramname">step</td><td>Location to store step increment, or <code>0</code>. </td></tr>
406
<tr><td class="paramname">page</td><td>Location to store page increment, or <code>0</code>. </td></tr>
413
<a class="anchor" id="a66087e4f732b5d4c55452e4fa155654e"></a><!-- doxytag: member="Gtk::SpinButton::get_numeric" ref="a66087e4f732b5d4c55452e4fa155654e" args="() const " -->
414
<div class="memitem">
415
<div class="memproto">
416
<table class="memname">
418
<td class="memname">bool Gtk::SpinButton::get_numeric </td>
420
<td class="paramname"></td><td>)</td>
427
<p>Returns whether non-numeric text can be typed into the spin button. </p>
428
<p>See <a class="el" href="classGtk_1_1SpinButton.html#a02b4b86b909c1c3410cfd8c77dbaa804" title="Sets the flag that determines if non-numeric text can be typed into the spin button.">set_numeric()</a>. </p>
429
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if only numeric text can be entered. </dd></dl>
433
<a class="anchor" id="a1aa7ec8593d1f19116e22d9c166439d4"></a><!-- doxytag: member="Gtk::SpinButton::get_range" ref="a1aa7ec8593d1f19116e22d9c166439d4" args="(double &min, double &max) const " -->
434
<div class="memitem">
435
<div class="memproto">
436
<table class="memname">
438
<td class="memname">void Gtk::SpinButton::get_range </td>
440
<td class="paramtype">double & </td>
441
<td class="paramname"><em>min</em>, </td>
444
<td class="paramkey"></td>
446
<td class="paramtype">double & </td>
447
<td class="paramname"><em>max</em> </td>
452
<td></td><td> const</td>
458
<p>Gets the range allowed for <em>spin_button</em>. </p>
459
<p>See <a class="el" href="classGtk_1_1SpinButton.html#a7fdcf657e0776f2ca748e6f653b2d404" title="Sets the minimum and maximum allowable values for spin_button.">set_range()</a>. </p>
460
<dl><dt><b>Parameters:</b></dt><dd>
461
<table class="params">
462
<tr><td class="paramname">min</td><td>Location to store minimum allowed value, or <code>0</code>. </td></tr>
463
<tr><td class="paramname">max</td><td>Location to store maximum allowed value, or <code>0</code>. </td></tr>
470
<a class="anchor" id="a985bafd7f7ada668cc689d647d6ce500"></a><!-- doxytag: member="Gtk::SpinButton::get_snap_to_ticks" ref="a985bafd7f7ada668cc689d647d6ce500" args="() const " -->
471
<div class="memitem">
472
<div class="memproto">
473
<table class="memname">
475
<td class="memname">bool Gtk::SpinButton::get_snap_to_ticks </td>
477
<td class="paramname"></td><td>)</td>
484
<p>Returns whether the values are corrected to the nearest step. </p>
485
<p>See <a class="el" href="classGtk_1_1SpinButton.html#a167aa3cc1c5e12f644f30d81860847bc" title="Sets the policy as to whether values are corrected to the nearest step increment when a spin button i...">set_snap_to_ticks()</a>. </p>
486
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if values are snapped to the nearest step. </dd></dl>
490
<a class="anchor" id="a8e1401062c9c3c4cb00bb57b6c7d311d"></a><!-- doxytag: member="Gtk::SpinButton::get_update_policy" ref="a8e1401062c9c3c4cb00bb57b6c7d311d" args="() const " -->
491
<div class="memitem">
492
<div class="memproto">
493
<table class="memname">
495
<td class="memname"><a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a> Gtk::SpinButton::get_update_policy </td>
497
<td class="paramname"></td><td>)</td>
504
<p>Gets the update behavior of a spin button. </p>
505
<p>See <a class="el" href="classGtk_1_1SpinButton.html#a7933bec9c5616db5c0091454c9706c73" title="Sets the update behavior of a spin button.">set_update_policy()</a>. </p>
506
<dl class="return"><dt><b>Returns:</b></dt><dd>The current update policy. </dd></dl>
510
<a class="anchor" id="a9762bfb226e37e7131e0cc9ac550b047"></a><!-- doxytag: member="Gtk::SpinButton::get_value" ref="a9762bfb226e37e7131e0cc9ac550b047" args="() const " -->
511
<div class="memitem">
512
<div class="memproto">
513
<table class="memname">
515
<td class="memname">double Gtk::SpinButton::get_value </td>
517
<td class="paramname"></td><td>)</td>
524
<p>Get the value in the <em>spin_button</em>. </p>
525
<dl class="return"><dt><b>Returns:</b></dt><dd>The value of <em>spin_button</em>. </dd></dl>
529
<a class="anchor" id="abe5bad2f0322f3aa10ada0659079fc81"></a><!-- doxytag: member="Gtk::SpinButton::get_value_as_int" ref="abe5bad2f0322f3aa10ada0659079fc81" args="() const " -->
530
<div class="memitem">
531
<div class="memproto">
532
<table class="memname">
534
<td class="memname">int Gtk::SpinButton::get_value_as_int </td>
536
<td class="paramname"></td><td>)</td>
543
<p>Get the value <em>spin_button</em> represented as an integer. </p>
544
<dl class="return"><dt><b>Returns:</b></dt><dd>The value of <em>spin_button</em>. </dd></dl>
548
<a class="anchor" id="a49c643c563f06ffe97f44abc9ea787e4"></a><!-- doxytag: member="Gtk::SpinButton::get_wrap" ref="a49c643c563f06ffe97f44abc9ea787e4" args="() const " -->
549
<div class="memitem">
550
<div class="memproto">
551
<table class="memname">
553
<td class="memname">bool Gtk::SpinButton::get_wrap </td>
555
<td class="paramname"></td><td>)</td>
562
<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. </p>
563
<p>See <a class="el" href="classGtk_1_1SpinButton.html#ad0aae779878e48a65b612b2b3ca37c61" title="Sets the flag that determines if a spin button value wraps around to the opposite limit when the uppe...">set_wrap()</a>. </p>
564
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the spin button wraps around. </dd></dl>
568
<a class="anchor" id="a3728f504486a2397ca7536760b898088"></a><!-- doxytag: member="Gtk::SpinButton::gobj" ref="a3728f504486a2397ca7536760b898088" args="() const " -->
569
<div class="memitem">
570
<div class="memproto">
571
<table class="memname">
573
<td class="memname">const GtkSpinButton* Gtk::SpinButton::gobj </td>
575
<td class="paramname"></td><td>)</td>
576
<td> const<code> [inline]</code></td>
582
<p>Provides access to the underlying C GtkObject. </p>
584
<p>Reimplemented from <a class="el" href="classGtk_1_1Entry.html#a7326d9d26b0ab988731fbad3fc79997c">Gtk::Entry</a>.</p>
588
<a class="anchor" id="a8f8d443a53121273bd7b464a347690da"></a><!-- doxytag: member="Gtk::SpinButton::gobj" ref="a8f8d443a53121273bd7b464a347690da" args="()" -->
589
<div class="memitem">
590
<div class="memproto">
591
<table class="memname">
593
<td class="memname">GtkSpinButton* Gtk::SpinButton::gobj </td>
595
<td class="paramname"></td><td>)</td>
596
<td><code> [inline]</code></td>
602
<p>Provides access to the underlying C GtkObject. </p>
604
<p>Reimplemented from <a class="el" href="classGtk_1_1Entry.html#a3f966098e1d30379f7a200b27d0540d0">Gtk::Entry</a>.</p>
608
<a class="anchor" id="a8b63a8393761d9f80b80d77727860b7c"></a><!-- doxytag: member="Gtk::SpinButton::on_input" ref="a8b63a8393761d9f80b80d77727860b7c" args="(double *new_value)" -->
609
<div class="memitem">
610
<div class="memproto">
611
<table class="memname">
613
<td class="memname">virtual int Gtk::SpinButton::on_input </td>
615
<td class="paramtype">double * </td>
616
<td class="paramname"><em>new_value</em></td><td>)</td>
617
<td><code> [protected, virtual]</code></td>
625
<a class="anchor" id="aaeb45a00950c9162ed70ccdb788d84f0"></a><!-- doxytag: member="Gtk::SpinButton::on_output" ref="aaeb45a00950c9162ed70ccdb788d84f0" args="()" -->
626
<div class="memitem">
627
<div class="memproto">
628
<table class="memname">
630
<td class="memname">virtual bool Gtk::SpinButton::on_output </td>
632
<td class="paramname"></td><td>)</td>
633
<td><code> [protected, virtual]</code></td>
641
<a class="anchor" id="ad827e3ef8cbd4ab89a953924d29213b7"></a><!-- doxytag: member="Gtk::SpinButton::on_value_changed" ref="ad827e3ef8cbd4ab89a953924d29213b7" args="()" -->
642
<div class="memitem">
643
<div class="memproto">
644
<table class="memname">
646
<td class="memname">virtual void Gtk::SpinButton::on_value_changed </td>
648
<td class="paramname"></td><td>)</td>
649
<td><code> [protected, virtual]</code></td>
657
<a class="anchor" id="ae20f29d41a832360895937194c583336"></a><!-- doxytag: member="Gtk::SpinButton::property_adjustment" ref="ae20f29d41a832360895937194c583336" args="()" -->
658
<div class="memitem">
659
<div class="memproto">
660
<table class="memname">
662
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>*> Gtk::SpinButton::property_adjustment </td>
664
<td class="paramname"></td><td>)</td>
671
<p>The adjustment that holds the value of the spinbutton. </p>
672
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
673
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
677
<a class="anchor" id="a18043f94fae4de9431a4838e8f7d31b2"></a><!-- doxytag: member="Gtk::SpinButton::property_adjustment" ref="a18043f94fae4de9431a4838e8f7d31b2" args="() const " -->
678
<div class="memitem">
679
<div class="memproto">
680
<table class="memname">
682
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="classGtk_1_1Adjustment.html">Gtk::Adjustment</a>*> Gtk::SpinButton::property_adjustment </td>
684
<td class="paramname"></td><td>)</td>
691
<p>The adjustment that holds the value of the spinbutton. </p>
692
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
693
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
697
<a class="anchor" id="add8acf819c492df458fafdd948f0082d"></a><!-- doxytag: member="Gtk::SpinButton::property_climb_rate" ref="add8acf819c492df458fafdd948f0082d" args="()" -->
698
<div class="memitem">
699
<div class="memproto">
700
<table class="memname">
702
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><double> Gtk::SpinButton::property_climb_rate </td>
704
<td class="paramname"></td><td>)</td>
711
<p>The acceleration rate when you hold down a button. </p>
712
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
713
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
717
<a class="anchor" id="a1e6878061ea0955fe5d8d9c31d490208"></a><!-- doxytag: member="Gtk::SpinButton::property_climb_rate" ref="a1e6878061ea0955fe5d8d9c31d490208" args="() const " -->
718
<div class="memitem">
719
<div class="memproto">
720
<table class="memname">
722
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><double> Gtk::SpinButton::property_climb_rate </td>
724
<td class="paramname"></td><td>)</td>
731
<p>The acceleration rate when you hold down a button. </p>
732
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
733
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
737
<a class="anchor" id="ac6970c78e33f2bfd3c0b7da5a3d5e8bb"></a><!-- doxytag: member="Gtk::SpinButton::property_digits" ref="ac6970c78e33f2bfd3c0b7da5a3d5e8bb" args="()" -->
738
<div class="memitem">
739
<div class="memproto">
740
<table class="memname">
742
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><guint> Gtk::SpinButton::property_digits </td>
744
<td class="paramname"></td><td>)</td>
751
<p>The number of decimal places to display. </p>
752
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
753
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
757
<a class="anchor" id="aa6e669db8261777cbf7ee4e2fd9d4024"></a><!-- doxytag: member="Gtk::SpinButton::property_digits" ref="aa6e669db8261777cbf7ee4e2fd9d4024" args="() const " -->
758
<div class="memitem">
759
<div class="memproto">
760
<table class="memname">
762
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><guint> Gtk::SpinButton::property_digits </td>
764
<td class="paramname"></td><td>)</td>
771
<p>The number of decimal places to display. </p>
772
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
773
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
777
<a class="anchor" id="a6cc039a29425fc1b583c7bc9b6d7aa39"></a><!-- doxytag: member="Gtk::SpinButton::property_numeric" ref="a6cc039a29425fc1b583c7bc9b6d7aa39" args="()" -->
778
<div class="memitem">
779
<div class="memproto">
780
<table class="memname">
782
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::SpinButton::property_numeric </td>
784
<td class="paramname"></td><td>)</td>
791
<p>Whether non-numeric characters should be ignored. </p>
792
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
793
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
797
<a class="anchor" id="ab06f3dbe58bd6efa18b3a86f254b1d10"></a><!-- doxytag: member="Gtk::SpinButton::property_numeric" ref="ab06f3dbe58bd6efa18b3a86f254b1d10" args="() const " -->
798
<div class="memitem">
799
<div class="memproto">
800
<table class="memname">
802
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::SpinButton::property_numeric </td>
804
<td class="paramname"></td><td>)</td>
811
<p>Whether non-numeric characters should be ignored. </p>
812
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
813
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
817
<a class="anchor" id="a9bcb41e2071c616391850817ba704e53"></a><!-- doxytag: member="Gtk::SpinButton::property_snap_to_ticks" ref="a9bcb41e2071c616391850817ba704e53" args="() const " -->
818
<div class="memitem">
819
<div class="memproto">
820
<table class="memname">
822
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::SpinButton::property_snap_to_ticks </td>
824
<td class="paramname"></td><td>)</td>
831
<p>Whether erroneous values are automatically changed to a spin button's nearest step increment. </p>
832
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
833
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
837
<a class="anchor" id="a63de21459a3732d532959632ad858c08"></a><!-- doxytag: member="Gtk::SpinButton::property_snap_to_ticks" ref="a63de21459a3732d532959632ad858c08" args="()" -->
838
<div class="memitem">
839
<div class="memproto">
840
<table class="memname">
842
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::SpinButton::property_snap_to_ticks </td>
844
<td class="paramname"></td><td>)</td>
851
<p>Whether erroneous values are automatically changed to a spin button's nearest step increment. </p>
852
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
853
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
857
<a class="anchor" id="a545fdd00939d4808ed45022441f34cfb"></a><!-- doxytag: member="Gtk::SpinButton::property_update_policy" ref="a545fdd00939d4808ed45022441f34cfb" args="()" -->
858
<div class="memitem">
859
<div class="memproto">
860
<table class="memname">
862
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><<a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a>> Gtk::SpinButton::property_update_policy </td>
864
<td class="paramname"></td><td>)</td>
871
<p>Whether the spin button should update always, or only when the value is legal. </p>
872
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
873
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
877
<a class="anchor" id="af01a4d39bad5a1d11a48665961194d1a"></a><!-- doxytag: member="Gtk::SpinButton::property_update_policy" ref="af01a4d39bad5a1d11a48665961194d1a" args="() const " -->
878
<div class="memitem">
879
<div class="memproto">
880
<table class="memname">
882
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><<a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a>> Gtk::SpinButton::property_update_policy </td>
884
<td class="paramname"></td><td>)</td>
891
<p>Whether the spin button should update always, or only when the value is legal. </p>
892
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
893
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
897
<a class="anchor" id="a2c42a562dc9c999ab83417bdfd743276"></a><!-- doxytag: member="Gtk::SpinButton::property_value" ref="a2c42a562dc9c999ab83417bdfd743276" args="()" -->
898
<div class="memitem">
899
<div class="memproto">
900
<table class="memname">
902
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><double> Gtk::SpinButton::property_value </td>
904
<td class="paramname"></td><td>)</td>
911
<p>Reads the current value, or sets a new value. </p>
912
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
913
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
917
<a class="anchor" id="ac1170a68044e3742a034314aad9fcf71"></a><!-- doxytag: member="Gtk::SpinButton::property_value" ref="ac1170a68044e3742a034314aad9fcf71" args="() const " -->
918
<div class="memitem">
919
<div class="memproto">
920
<table class="memname">
922
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><double> Gtk::SpinButton::property_value </td>
924
<td class="paramname"></td><td>)</td>
931
<p>Reads the current value, or sets a new value. </p>
932
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
933
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
937
<a class="anchor" id="aec3e5618cb9945671cbd490fe3697415"></a><!-- doxytag: member="Gtk::SpinButton::property_wrap" ref="aec3e5618cb9945671cbd490fe3697415" args="() const " -->
938
<div class="memitem">
939
<div class="memproto">
940
<table class="memname">
942
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><bool> Gtk::SpinButton::property_wrap </td>
944
<td class="paramname"></td><td>)</td>
951
<p>Whether a spin button should wrap upon reaching its limits. </p>
952
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
953
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
957
<a class="anchor" id="a0f1abc51109ccabc456e0ae8a661f0ce"></a><!-- doxytag: member="Gtk::SpinButton::property_wrap" ref="a0f1abc51109ccabc456e0ae8a661f0ce" args="()" -->
958
<div class="memitem">
959
<div class="memproto">
960
<table class="memname">
962
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><bool> Gtk::SpinButton::property_wrap </td>
964
<td class="paramname"></td><td>)</td>
971
<p>Whether a spin button should wrap upon reaching its limits. </p>
972
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
973
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>
977
<a class="anchor" id="a16200655a04dd029da1fbfd596ab6f20"></a><!-- doxytag: member="Gtk::SpinButton::set_adjustment" ref="a16200655a04dd029da1fbfd596ab6f20" args="(Adjustment &adjustment)" -->
978
<div class="memitem">
979
<div class="memproto">
980
<table class="memname">
982
<td class="memname">void Gtk::SpinButton::set_adjustment </td>
984
<td class="paramtype"><a class="el" href="classGtk_1_1Adjustment.html">Adjustment</a>& </td>
985
<td class="paramname"><em>adjustment</em></td><td>)</td>
992
<p>Replaces the <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a> associated with <em>spin_button</em>. </p>
993
<dl><dt><b>Parameters:</b></dt><dd>
994
<table class="params">
995
<tr><td class="paramname">adjustment</td><td>A <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Gtk::Adjustment</a> to replace the existing adjustment. </td></tr>
1002
<a class="anchor" id="a2d6913e87673bf34b04afd4595ffd797"></a><!-- doxytag: member="Gtk::SpinButton::set_digits" ref="a2d6913e87673bf34b04afd4595ffd797" args="(guint digits)" -->
1003
<div class="memitem">
1004
<div class="memproto">
1005
<table class="memname">
1007
<td class="memname">void Gtk::SpinButton::set_digits </td>
1009
<td class="paramtype">guint </td>
1010
<td class="paramname"><em>digits</em></td><td>)</td>
1015
<div class="memdoc">
1017
<p>Set the precision to be displayed by <em>spin_button</em>. </p>
1018
<p>Up to 20 digit precision is allowed. </p>
1019
<dl><dt><b>Parameters:</b></dt><dd>
1020
<table class="params">
1021
<tr><td class="paramname">digits</td><td>The number of digits after the decimal point to be displayed for the spin button's value. </td></tr>
1028
<a class="anchor" id="a879b8eff06f35012b00453aad93f8a72"></a><!-- doxytag: member="Gtk::SpinButton::set_increments" ref="a879b8eff06f35012b00453aad93f8a72" args="(double step, double page)" -->
1029
<div class="memitem">
1030
<div class="memproto">
1031
<table class="memname">
1033
<td class="memname">void Gtk::SpinButton::set_increments </td>
1035
<td class="paramtype">double </td>
1036
<td class="paramname"><em>step</em>, </td>
1039
<td class="paramkey"></td>
1041
<td class="paramtype">double </td>
1042
<td class="paramname"><em>page</em> </td>
1051
<div class="memdoc">
1053
<p>Sets the step and page increments for spin_button. </p>
1054
<p>This affects how quickly the value changes when the spin button's arrows are activated. </p>
1055
<dl><dt><b>Parameters:</b></dt><dd>
1056
<table class="params">
1057
<tr><td class="paramname">step</td><td>Increment applied for a button 1 press. </td></tr>
1058
<tr><td class="paramname">page</td><td>Increment applied for a button 2 press. </td></tr>
1065
<a class="anchor" id="a02b4b86b909c1c3410cfd8c77dbaa804"></a><!-- doxytag: member="Gtk::SpinButton::set_numeric" ref="a02b4b86b909c1c3410cfd8c77dbaa804" args="(bool numeric=true)" -->
1066
<div class="memitem">
1067
<div class="memproto">
1068
<table class="memname">
1070
<td class="memname">void Gtk::SpinButton::set_numeric </td>
1072
<td class="paramtype">bool </td>
1073
<td class="paramname"><em>numeric</em> = <code>true</code></td><td>)</td>
1078
<div class="memdoc">
1080
<p>Sets the flag that determines if non-numeric text can be typed into the spin button. </p>
1081
<dl><dt><b>Parameters:</b></dt><dd>
1082
<table class="params">
1083
<tr><td class="paramname">numeric</td><td>Flag indicating if only numeric entry is allowed. </td></tr>
1090
<a class="anchor" id="a7fdcf657e0776f2ca748e6f653b2d404"></a><!-- doxytag: member="Gtk::SpinButton::set_range" ref="a7fdcf657e0776f2ca748e6f653b2d404" args="(double min, double max)" -->
1091
<div class="memitem">
1092
<div class="memproto">
1093
<table class="memname">
1095
<td class="memname">void Gtk::SpinButton::set_range </td>
1097
<td class="paramtype">double </td>
1098
<td class="paramname"><em>min</em>, </td>
1101
<td class="paramkey"></td>
1103
<td class="paramtype">double </td>
1104
<td class="paramname"><em>max</em> </td>
1113
<div class="memdoc">
1115
<p>Sets the minimum and maximum allowable values for <em>spin_button</em>. </p>
1116
<dl><dt><b>Parameters:</b></dt><dd>
1117
<table class="params">
1118
<tr><td class="paramname">min</td><td>Minimum allowable value. </td></tr>
1119
<tr><td class="paramname">max</td><td>Maximum allowable value. </td></tr>
1126
<a class="anchor" id="a167aa3cc1c5e12f644f30d81860847bc"></a><!-- doxytag: member="Gtk::SpinButton::set_snap_to_ticks" ref="a167aa3cc1c5e12f644f30d81860847bc" args="(bool snap_to_ticks=true)" -->
1127
<div class="memitem">
1128
<div class="memproto">
1129
<table class="memname">
1131
<td class="memname">void Gtk::SpinButton::set_snap_to_ticks </td>
1133
<td class="paramtype">bool </td>
1134
<td class="paramname"><em>snap_to_ticks</em> = <code>true</code></td><td>)</td>
1139
<div class="memdoc">
1141
<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>
1142
<dl><dt><b>Parameters:</b></dt><dd>
1143
<table class="params">
1144
<tr><td class="paramname">snap_to_ticks</td><td>A flag indicating if invalid values should be corrected. </td></tr>
1151
<a class="anchor" id="a7933bec9c5616db5c0091454c9706c73"></a><!-- doxytag: member="Gtk::SpinButton::set_update_policy" ref="a7933bec9c5616db5c0091454c9706c73" args="(SpinButtonUpdatePolicy policy)" -->
1152
<div class="memitem">
1153
<div class="memproto">
1154
<table class="memname">
1156
<td class="memname">void Gtk::SpinButton::set_update_policy </td>
1158
<td class="paramtype"><a class="el" href="group__gtkmmEnums.html#gad6ac4f99aa79bca0ff4daa89d6e5e8db">SpinButtonUpdatePolicy</a> </td>
1159
<td class="paramname"><em>policy</em></td><td>)</td>
1164
<div class="memdoc">
1166
<p>Sets the update behavior of a spin button. </p>
1167
<p>This determines whether the spin button is always updated or only when a valid value is set. </p>
1168
<dl><dt><b>Parameters:</b></dt><dd>
1169
<table class="params">
1170
<tr><td class="paramname">policy</td><td>A Gtk::SpinButtonUpdatePolicy value. </td></tr>
1177
<a class="anchor" id="a6ccada5358fee59092b2cbf89c7bdc89"></a><!-- doxytag: member="Gtk::SpinButton::set_value" ref="a6ccada5358fee59092b2cbf89c7bdc89" args="(double value)" -->
1178
<div class="memitem">
1179
<div class="memproto">
1180
<table class="memname">
1182
<td class="memname">void Gtk::SpinButton::set_value </td>
1184
<td class="paramtype">double </td>
1185
<td class="paramname"><em>value</em></td><td>)</td>
1190
<div class="memdoc">
1192
<p>Set the value of <em>spin_button</em>. </p>
1193
<dl><dt><b>Parameters:</b></dt><dd>
1194
<table class="params">
1195
<tr><td class="paramname">value</td><td>The new value. </td></tr>
1202
<a class="anchor" id="ad0aae779878e48a65b612b2b3ca37c61"></a><!-- doxytag: member="Gtk::SpinButton::set_wrap" ref="ad0aae779878e48a65b612b2b3ca37c61" args="(bool wrap=true)" -->
1203
<div class="memitem">
1204
<div class="memproto">
1205
<table class="memname">
1207
<td class="memname">void Gtk::SpinButton::set_wrap </td>
1209
<td class="paramtype">bool </td>
1210
<td class="paramname"><em>wrap</em> = <code>true</code></td><td>)</td>
1215
<div class="memdoc">
1217
<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>
1218
<dl><dt><b>Parameters:</b></dt><dd>
1219
<table class="params">
1220
<tr><td class="paramname">wrap</td><td>A flag indicating if wrapping behavior is performed. </td></tr>
1227
<a class="anchor" id="a7ef752e4382db54d50af0143b09878e1"></a><!-- doxytag: member="Gtk::SpinButton::signal_input" ref="a7ef752e4382db54d50af0143b09878e1" args="()" -->
1228
<div class="memitem">
1229
<div class="memproto">
1230
<table class="memname">
1232
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< int,double* > Gtk::SpinButton::signal_input </td>
1234
<td class="paramname"></td><td>)</td>
1239
<div class="memdoc">
1241
<p>Convert the <a class="el" href="classGtk_1_1Entry.html" title="A single line text entry field.">Entry</a> text to a number. </p>
1242
<p>The computed number should be written to <code>*new_value</code>. </p>
1243
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
1244
<li><code>false</code>: No conversion done, continue with default handler. </li>
1245
<li><code>true</code>: Conversion successful, don't call default handler. </li>
1246
<li><code>Gtk::INPUT_ERROR</code>: Conversion failed, don't call default handler.</li>
1249
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>int on_my_input(double* new_value)</code> </dd></dl>
1253
<a class="anchor" id="a22426edb09e3e708997f185597d1d214"></a><!-- doxytag: member="Gtk::SpinButton::signal_output" ref="a22426edb09e3e708997f185597d1d214" args="()" -->
1254
<div class="memitem">
1255
<div class="memproto">
1256
<table class="memname">
1258
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< bool > Gtk::SpinButton::signal_output </td>
1260
<td class="paramname"></td><td>)</td>
1265
<div class="memdoc">
1267
<p>Convert the <a class="el" href="classGtk_1_1Adjustment.html" title="A class representing an adjustable bounded value.">Adjustment</a> position to text. </p>
1268
<p>The computed text should be written via <a class="el" href="classGtk_1_1Entry.html#aaee5b96d2ffea0342aa4c93fbfe24433" title="Sets the text in the widget to the given value, replacing the current contents.">Gtk::Entry::set_text()</a>. </p>
1269
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
1270
<li><code>false</code>: No conversion done, continue with default handler. </li>
1271
<li><code>true</code>: Conversion successful, don't call default handler.</li>
1274
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>bool on_my_output()</code> </dd></dl>
1278
<a class="anchor" id="ae4d5846dafa899e75e885a55a36762a9"></a><!-- doxytag: member="Gtk::SpinButton::signal_value_changed" ref="ae4d5846dafa899e75e885a55a36762a9" args="()" -->
1279
<div class="memitem">
1280
<div class="memproto">
1281
<table class="memname">
1283
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< void > Gtk::SpinButton::signal_value_changed </td>
1285
<td class="paramname"></td><td>)</td>
1290
<div class="memdoc">
1291
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_value_changed()</code> </dd></dl>
1295
<a class="anchor" id="a2e8e0166cb9b90771b4846e0f86bdac7"></a><!-- doxytag: member="Gtk::SpinButton::signal_wrapped" ref="a2e8e0166cb9b90771b4846e0f86bdac7" args="()" -->
1296
<div class="memitem">
1297
<div class="memproto">
1298
<table class="memname">
1300
<td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>< bool > Gtk::SpinButton::signal_wrapped </td>
1302
<td class="paramname"></td><td>)</td>
1307
<div class="memdoc">
1308
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>bool on_my_wrapped()</code> </dd></dl>
1312
<a class="anchor" id="a740503c08f262b4386afd7812615652d"></a><!-- doxytag: member="Gtk::SpinButton::spin" ref="a740503c08f262b4386afd7812615652d" args="(SpinType direction, double increment)" -->
1313
<div class="memitem">
1314
<div class="memproto">
1315
<table class="memname">
1317
<td class="memname">void Gtk::SpinButton::spin </td>
1319
<td class="paramtype"><a class="el" href="group__gtkmmEnums.html#ga1fdcff1634130369780165ddce65575c">SpinType</a> </td>
1320
<td class="paramname"><em>direction</em>, </td>
1323
<td class="paramkey"></td>
1325
<td class="paramtype">double </td>
1326
<td class="paramname"><em>increment</em> </td>
1335
<div class="memdoc">
1337
<p>Increment or decrement a spin button's value in a specified direction by a specified amount. </p>
1338
<dl><dt><b>Parameters:</b></dt><dd>
1339
<table class="params">
1340
<tr><td class="paramname">direction</td><td>A Gtk::SpinType indicating the direction to spin. </td></tr>
1341
<tr><td class="paramname">increment</td><td>Step increment to apply in the specified direction. </td></tr>
1348
<a class="anchor" id="ae1e334e711e195441c5b1533bd05ca2a"></a><!-- doxytag: member="Gtk::SpinButton::unset_adjustment" ref="ae1e334e711e195441c5b1533bd05ca2a" args="()" -->
1349
<div class="memitem">
1350
<div class="memproto">
1351
<table class="memname">
1353
<td class="memname">void Gtk::SpinButton::unset_adjustment </td>
1355
<td class="paramname"></td><td>)</td>
1360
<div class="memdoc">
1364
<a class="anchor" id="a8f55a8c35d4de7e59780ba987d1971b5"></a><!-- doxytag: member="Gtk::SpinButton::update" ref="a8f55a8c35d4de7e59780ba987d1971b5" args="()" -->
1365
<div class="memitem">
1366
<div class="memproto">
1367
<table class="memname">
1369
<td class="memname">void Gtk::SpinButton::update </td>
1371
<td class="paramname"></td><td>)</td>
1376
<div class="memdoc">
1378
<p>Manually force an update of the spin button. </p>
1382
<hr/><h2>Friends And Related Function Documentation</h2>
1383
<a class="anchor" id="aab144a3980161b5ebe36cf643ee52b16"></a><!-- doxytag: member="Gtk::SpinButton::wrap" ref="aab144a3980161b5ebe36cf643ee52b16" args="(GtkSpinButton *object, bool take_copy=false)" -->
1384
<div class="memitem">
1385
<div class="memproto">
1386
<table class="memname">
1388
<td class="memname"><a class="el" href="classGtk_1_1SpinButton.html">Gtk::SpinButton</a>* wrap </td>
1390
<td class="paramtype">GtkSpinButton * </td>
1391
<td class="paramname"><em>object</em>, </td>
1394
<td class="paramkey"></td>
1396
<td class="paramtype">bool </td>
1397
<td class="paramname"><em>take_copy</em> = <code>false</code> </td>
1402
<td></td><td><code> [related]</code></td>
1406
<div class="memdoc">
1408
<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
1409
<dl><dt><b>Parameters:</b></dt><dd>
1410
<table class="params">
1411
<tr><td class="paramname">object</td><td>The C instance. </td></tr>
1412
<tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
1416
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
1420
<hr/>The documentation for this class was generated from the following file:<ul>
1421
<li>gtkmm/spinbutton.h</li>
1424
<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 8 2011 13:31:47 for gtkmm by 
1425
<a href="http://www.doxygen.org/index.html">
1426
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>