New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="ButtonWidgets.html" title="Buttons and Toggles">
|
||||
<link rel="prev" href="GtkSwitch.html" title="GtkSwitch">
|
||||
<link rel="next" href="GtkVolumeButton.html" title="GtkVolumeButton">
|
||||
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -85,7 +85,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<span class="returnvalue">gdouble</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkScaleButton.html#gtk-scale-button-get-value" title="gtk_scale_button_get_value ()">gtk_scale_button_get_value</a> <span class="c_punctuation">()</span>
|
||||
@ -134,7 +134,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
|
||||
<td class="property_type"><span class="type">GStrv</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkScaleButton.html#GtkScaleButton--icons" title="The “icons” property">icons</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -144,7 +144,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
|
||||
<td class="property_type"><span class="type">gdouble</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkScaleButton.html#GtkScaleButton--value" title="The “value” property">value</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -163,17 +163,17 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScaleButton.html#GtkScaleButton-popdown" title="The “popdown” signal">popdown</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScaleButton.html#GtkScaleButton-popup" title="The “popup” signal">popup</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScaleButton.html#GtkScaleButton-value-changed" title="The “value-changed” signal">value-changed</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -193,8 +193,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkScaleButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -232,10 +232,10 @@ it from a plain <a class="link" href="GtkButton.html" title="GtkButton"><span cl
|
||||
<a name="gtk-scale-button-new"></a><h3>gtk_scale_button_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_scale_button_new (<em class="parameter"><code><a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> step</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **icons</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> min</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> max</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> step</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **icons</code></em>);</pre>
|
||||
<p>Creates a <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a>, with a range between <em class="parameter"><code>min</code></em>
|
||||
and <em class="parameter"><code>max</code></em>
|
||||
, with
|
||||
@ -252,7 +252,7 @@ a stepping of <em class="parameter"><code>step</code></em>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>size</p></td>
|
||||
<td class="parameter_description"><p> a stock icon size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>). </p></td>
|
||||
<td class="parameter_description"><p>a stock icon size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>). </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> int]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -273,8 +273,8 @@ or up/down arrow event occurs (usually 2)</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icons</p></td>
|
||||
<td class="parameter_description"><p> a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
||||
array of icon names, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you want to set the list
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated
|
||||
array of icon names, or <code class="literal">NULL</code> if you want to set the list
|
||||
later with <a class="link" href="GtkScaleButton.html#gtk-scale-button-set-icons" title="gtk_scale_button_set_icons ()"><code class="function">gtk_scale_button_set_icons()</code></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
@ -325,7 +325,7 @@ See <a class="link" href="GtkRange.html#gtk-range-set-adjustment" title="gtk_ran
|
||||
<a name="gtk-scale-button-set-icons"></a><h3>gtk_scale_button_set_icons ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scale_button_set_icons (<em class="parameter"><code><a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **icons</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> **icons</code></em>);</pre>
|
||||
<p>Sets the icons to be used by the scale button.
|
||||
For details, see the <a class="link" href="GtkScaleButton.html#GtkScaleButton--icons" title="The “icons” property"><span class="type">“icons”</span></a> property.</p>
|
||||
<div class="refsect3">
|
||||
@ -344,7 +344,7 @@ For details, see the <a class="link" href="GtkScaleButton.html#GtkScaleButton--i
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icons</p></td>
|
||||
<td class="parameter_description"><p> a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of icon names. </p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated array of icon names. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -357,7 +357,7 @@ For details, see the <a class="link" href="GtkScaleButton.html#GtkScaleButton--i
|
||||
<a name="gtk-scale-button-set-value"></a><h3>gtk_scale_button_set_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scale_button_set_value (<em class="parameter"><code><a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
||||
<p>Sets the current value of the scale; if the value is outside
|
||||
the minimum or maximum range values, it will be clamped to fit
|
||||
inside them. The scale button emits the <a class="link" href="GtkScaleButton.html#GtkScaleButton-value-changed" title="The “value-changed” signal"><span class="type">“value-changed”</span></a>
|
||||
@ -410,7 +410,7 @@ See <a class="link" href="GtkRange.html#gtk-range-get-adjustment" title="gtk_ran
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scale-button-get-adjustment.returns"></a><h4>Returns</h4>
|
||||
<p> the adjustment associated with the scale. </p>
|
||||
<p>the adjustment associated with the scale. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -418,7 +418,7 @@ See <a class="link" href="GtkRange.html#gtk-range-get-adjustment" title="gtk_ran
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scale-button-get-value"></a><h3>gtk_scale_button_get_value ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
||||
gtk_scale_button_get_value (<em class="parameter"><code><a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> *button</code></em>);</pre>
|
||||
<p>Gets the current value of the scale button.</p>
|
||||
<div class="refsect3">
|
||||
@ -465,7 +465,7 @@ gtk_scale_button_get_popup (<em class="parameter"><code><a class="link" href="Gt
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scale-button-get-popup.returns"></a><h4>Returns</h4>
|
||||
<p> the popup of the <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a>. </p>
|
||||
<p>the popup of the <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -493,7 +493,7 @@ gtk_scale_button_get_plus_button (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scale-button-get-plus-button.returns"></a><h4>Returns</h4>
|
||||
<p> the plus button of the <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> as a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>. </p>
|
||||
<p>the plus button of the <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> as a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gtk.Button]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -521,7 +521,7 @@ gtk_scale_button_get_minus_button (<em class="parameter"><code><a class="link" h
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scale-button-get-minus-button.returns"></a><h4>Returns</h4>
|
||||
<p> the minus button of the <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> as a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>. </p>
|
||||
<p>the minus button of the <a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> as a <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gtk.Button]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -545,7 +545,7 @@ gtk_scale_button_get_minus_button (<em class="parameter"><code><a class="link" h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScaleButton--icons"></a><h3>The <code class="literal">“icons”</code> property</h3>
|
||||
<pre class="programlisting"> “icons” <a href="../glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
|
||||
<pre class="programlisting"> “icons” <span class="type">GStrv</span></pre>
|
||||
<p>The names of the icons to be used by the scale button.
|
||||
The first item in the array will be used in the button
|
||||
when the current value is the lowest value, the second
|
||||
@ -575,7 +575,7 @@ better for the users.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScaleButton--value"></a><h3>The <code class="literal">“value”</code> property</h3>
|
||||
<pre class="programlisting"> “value” <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “value” <span class="type">gdouble</span></pre>
|
||||
<p>The value of the scale.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -587,7 +587,7 @@ better for the users.</p>
|
||||
<a name="GtkScaleButton-popdown"></a><h3>The <code class="literal">“popdown”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> *button,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::popdown signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to popdown the scale widget.</p>
|
||||
@ -614,7 +614,7 @@ which gets emitted to popdown the scale widget.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p>Flags: Action</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -622,7 +622,7 @@ which gets emitted to popdown the scale widget.</p>
|
||||
<a name="GtkScaleButton-popup"></a><h3>The <code class="literal">“popup”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> *button,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::popup signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to popup the scale widget.</p>
|
||||
@ -649,7 +649,7 @@ which gets emitted to popup the scale widget.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p>Flags: Action</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -657,8 +657,8 @@ which gets emitted to popup the scale widget.</p>
|
||||
<a name="GtkScaleButton-value-changed"></a><h3>The <code class="literal">“value-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkScaleButton.html" title="GtkScaleButton"><span class="type">GtkScaleButton</span></a> *button,
|
||||
<a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gdouble</span> value,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::value-changed signal is emitted when the value field has
|
||||
changed.</p>
|
||||
<div class="refsect3">
|
||||
@ -688,12 +688,12 @@ changed.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user