New upstream version 3.24.18
This commit is contained in:
@ -215,7 +215,7 @@ the user</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy"><span class="returnvalue">GtkSpinButtonUpdatePolicy</span></a>
|
||||
<a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy"><span class="returnvalue">GtkSpinButtonUpdatePolicy</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkSpinButton.html#gtk-spin-button-get-update-policy" title="gtk_spin_button_get_update_policy ()">gtk_spin_button_get_update_policy</a> <span class="c_punctuation">()</span>
|
||||
@ -276,7 +276,7 @@ the user</p>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a></td>
|
||||
<td class="property_type"><a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkSpinButton.html#GtkSpinButton--update-policy" title="The “update-policy” property">update-policy</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -302,7 +302,7 @@ the user</p>
|
||||
<col width="200px" class="style_properties_flags">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></td>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkSpinButton.html#GtkSpinButton--s-shadow-type" title="The “shadow-type” style property">shadow-type</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr></tbody>
|
||||
@ -355,19 +355,19 @@ the user</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButton-struct">GtkSpinButton</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkSpinButton.html#GtkSpinButton-struct" title="struct GtkSpinButton">GtkSpinButton</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy">GtkSpinButtonUpdatePolicy</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy">GtkSpinButtonUpdatePolicy</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinType">GtkSpinType</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkSpinButton.html#GtkSpinType" title="enum GtkSpinType">GtkSpinType</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GTK-INPUT-ERROR:CAPS">GTK_INPUT_ERROR</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkSpinButton.html#GTK-INPUT-ERROR:CAPS" title="GTK_INPUT_ERROR">GTK_INPUT_ERROR</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -968,7 +968,7 @@ gtk_spin_button_set_value (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="gtk-spin-button-set-update-policy"></a><h3>gtk_spin_button_set_update_policy ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_spin_button_set_update_policy (<em class="parameter"><code><a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a> *spin_button</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a> policy</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a> policy</code></em>);</pre>
|
||||
<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>
|
||||
@ -988,7 +988,7 @@ or only when a valid value is set.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>policy</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a> value</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a> value</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1031,7 +1031,7 @@ into the spin button.</p>
|
||||
<a name="gtk-spin-button-spin"></a><h3>gtk_spin_button_spin ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_spin_button_spin (<em class="parameter"><code><a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a> *spin_button</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinType"><span class="type">GtkSpinType</span></a> direction</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkSpinButton.html#GtkSpinType" title="enum GtkSpinType"><span class="type">GtkSpinType</span></a> direction</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> increment</code></em>);</pre>
|
||||
<p>Increment or decrement a spin button’s value in a specified
|
||||
direction by a specified amount.</p>
|
||||
@ -1051,7 +1051,7 @@ direction by a specified amount.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>direction</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinType"><span class="type">GtkSpinType</span></a> indicating the direction to spin</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkSpinButton.html#GtkSpinType" title="enum GtkSpinType"><span class="type">GtkSpinType</span></a> indicating the direction to spin</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1309,7 +1309,7 @@ See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-snap-to-ticks"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-spin-button-get-update-policy"></a><h3>gtk_spin_button_get_update_policy ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy"><span class="returnvalue">GtkSpinButtonUpdatePolicy</span></a>
|
||||
<pre class="programlisting"><a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy"><span class="returnvalue">GtkSpinButtonUpdatePolicy</span></a>
|
||||
gtk_spin_button_get_update_policy (<em class="parameter"><code><a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a> *spin_button</code></em>);</pre>
|
||||
<p>Gets the update behavior of a spin button.
|
||||
See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-update-policy" title="gtk_spin_button_set_update_policy ()"><code class="function">gtk_spin_button_set_update_policy()</code></a>.</p>
|
||||
@ -1391,6 +1391,126 @@ exceeded. See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-wrap"
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkSpinButton.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkSpinButton-struct"></a><h3>struct GtkSpinButton</h3>
|
||||
<pre class="programlisting">struct GtkSpinButton;</pre>
|
||||
<p>The <a class="link" href="GtkSpinButton.html#GtkSpinButton-struct" title="struct GtkSpinButton"><span class="type">GtkSpinButton</span></a> contains only private data and should
|
||||
not be directly modified.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkSpinButtonUpdatePolicy"></a><h3>enum GtkSpinButtonUpdatePolicy</h3>
|
||||
<p>The spin button update policy determines whether the spin button displays
|
||||
values even if they are outside the bounds of its adjustment.
|
||||
See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-update-policy" title="gtk_spin_button_set_update_policy ()"><code class="function">gtk_spin_button_set_update_policy()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkSpinButtonUpdatePolicy.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-UPDATE-ALWAYS:CAPS"></a>GTK_UPDATE_ALWAYS</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>When refreshing your <a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a>, the value is
|
||||
always displayed</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-UPDATE-IF-VALID:CAPS"></a>GTK_UPDATE_IF_VALID</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>When refreshing your <a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a>, the value is
|
||||
only displayed if it is valid within the bounds of the spin button's
|
||||
adjustment</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkSpinType"></a><h3>enum GtkSpinType</h3>
|
||||
<p>The values of the GtkSpinType enumeration are used to specify the
|
||||
change to make in <a class="link" href="GtkSpinButton.html#gtk-spin-button-spin" title="gtk_spin_button_spin ()"><code class="function">gtk_spin_button_spin()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkSpinType.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-STEP-FORWARD:CAPS"></a>GTK_SPIN_STEP_FORWARD</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Increment by the adjustments step increment.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-STEP-BACKWARD:CAPS"></a>GTK_SPIN_STEP_BACKWARD</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Decrement by the adjustments step increment.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-PAGE-FORWARD:CAPS"></a>GTK_SPIN_PAGE_FORWARD</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Increment by the adjustments page increment.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-PAGE-BACKWARD:CAPS"></a>GTK_SPIN_PAGE_BACKWARD</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Decrement by the adjustments page increment.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-HOME:CAPS"></a>GTK_SPIN_HOME</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Go to the adjustments lower bound.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-END:CAPS"></a>GTK_SPIN_END</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Go to the adjustments upper bound.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-SPIN-USER-DEFINED:CAPS"></a>GTK_SPIN_USER_DEFINED</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Change by a specified amount.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-INPUT-ERROR:CAPS"></a><h3>GTK_INPUT_ERROR</h3>
|
||||
<pre class="programlisting">#define GTK_INPUT_ERROR -1
|
||||
</pre>
|
||||
<p>Constant to return from a signal handler for the <a class="link" href="GtkSpinButton.html#GtkSpinButton-input" title="The “input” signal"><span class="type">“input”</span></a>
|
||||
signal in case of conversion failure.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkSpinButton.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkSpinButton--adjustment"></a><h3>The <code class="literal">“adjustment”</code> property</h3>
|
||||
@ -1440,7 +1560,7 @@ exceeded. See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-wrap"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkSpinButton--update-policy"></a><h3>The <code class="literal">“update-policy”</code> property</h3>
|
||||
<pre class="programlisting"> “update-policy” <a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a></pre>
|
||||
<pre class="programlisting"> “update-policy” <a class="link" href="GtkSpinButton.html#GtkSpinButtonUpdatePolicy" title="enum GtkSpinButtonUpdatePolicy"><span class="type">GtkSpinButtonUpdatePolicy</span></a></pre>
|
||||
<p>Whether the spin button should update always, or only when the value is legal.</p>
|
||||
<p>Owner: GtkSpinButton</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1469,7 +1589,7 @@ exceeded. See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-wrap"
|
||||
<a name="GtkSpinButton.style-property-details"></a><h2>Style Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkSpinButton--s-shadow-type"></a><h3>The <code class="literal">“shadow-type”</code> style property</h3>
|
||||
<pre class="programlisting"> “shadow-type” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></pre>
|
||||
<pre class="programlisting"> “shadow-type” <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></pre>
|
||||
<p>Style of bevel around the spin button.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkSpinButton:shadow-type</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1487,9 +1607,9 @@ exceeded. See <a class="link" href="GtkSpinButton.html#gtk-spin-button-set-wrap"
|
||||
<a name="GtkSpinButton-change-value"></a><h3>The <code class="literal">“change-value”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a> *spin_button,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkScrollType"><span class="type">GtkScrollType</span></a> scroll,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::change-value signal is a keybinding signal
|
||||
<p>The ::change-value signal is a <a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted when the user initiates a value change. </p>
|
||||
<p>Applications should not connect to it, but may emit it with
|
||||
@ -1513,7 +1633,7 @@ programmatically.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>scroll</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkScrollType"><span class="type">GtkScrollType</span></a> to specify the speed and amount of change</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> to specify the speed and amount of change</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1569,7 +1689,7 @@ the entry and set <em class="parameter"><code>new_value</code></em>
|
||||
<div class="refsect3">
|
||||
<a name="GtkSpinButton-input.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> for a successful conversion, <code class="literal">FALSE</code> if the input
|
||||
was not handled, and <a href="https://developer.gnome.org/gtk4/GtkSpinButton.html#GTK-INPUT-ERROR:CAPS"><code class="literal">GTK_INPUT_ERROR</code></a> if the conversion failed.</p>
|
||||
was not handled, and <a class="link" href="GtkSpinButton.html#GTK-INPUT-ERROR:CAPS" title="GTK_INPUT_ERROR"><code class="literal">GTK_INPUT_ERROR</code></a> if the conversion failed.</p>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user