New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
|
||||
<link rel="prev" href="GtkMenuShell.html" title="GtkMenuShell">
|
||||
<link rel="next" href="GtkIMContext.html" title="GtkIMContext">
|
||||
<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">
|
||||
@ -46,7 +46,7 @@
|
||||
<tbody>
|
||||
<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="GtkRange.html#gtk-range-get-fill-level" title="gtk_range_get_fill_level ()">gtk_range_get_fill_level</a> <span class="c_punctuation">()</span>
|
||||
@ -54,7 +54,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-restrict-to-fill-level" title="gtk_range_get_restrict_to_fill_level ()">gtk_range_get_restrict_to_fill_level</a> <span class="c_punctuation">()</span>
|
||||
@ -62,7 +62,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-show-fill-level" title="gtk_range_get_show_fill_level ()">gtk_range_get_show_fill_level</a> <span class="c_punctuation">()</span>
|
||||
@ -110,7 +110,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-inverted" title="gtk_range_get_inverted ()">gtk_range_get_inverted</a> <span class="c_punctuation">()</span>
|
||||
@ -126,7 +126,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="GtkRange.html#gtk-range-get-value" title="gtk_range_get_value ()">gtk_range_get_value</a> <span class="c_punctuation">()</span>
|
||||
@ -158,7 +158,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-round-digits" title="gtk_range_get_round_digits ()">gtk_range_get_round_digits</a> <span class="c_punctuation">()</span>
|
||||
@ -206,7 +206,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-flippable" title="gtk_range_get_flippable ()">gtk_range_get_flippable</a> <span class="c_punctuation">()</span>
|
||||
@ -222,7 +222,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-min-slider-size" title="gtk_range_get_min_slider_size ()">gtk_range_get_min_slider_size</a> <span class="c_punctuation">()</span>
|
||||
@ -246,7 +246,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRange.html#gtk-range-get-slider-size-fixed" title="gtk_range_get_slider_size_fixed ()">gtk_range_get_slider_size_fixed</a> <span class="c_punctuation">()</span>
|
||||
@ -287,12 +287,12 @@
|
||||
<td class="property_flags">Read / Write / Construct</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="GtkRange.html#GtkRange--fill-level" title="The “fill-level” property">fill-level</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--inverted" title="The “inverted” property">inverted</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -302,17 +302,17 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--restrict-to-fill-level" title="The “restrict-to-fill-level” property">restrict-to-fill-level</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--round-digits" title="The “round-digits” property">round-digits</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--show-fill-level" title="The “show-fill-level” property">show-fill-level</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -334,42 +334,42 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-arrow-displacement-x" title="The “arrow-displacement-x” style property">arrow-displacement-x</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-arrow-displacement-y" title="The “arrow-displacement-y” style property">arrow-displacement-y</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td>
|
||||
<td class="property_type"><span class="type">gfloat</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-arrow-scaling" title="The “arrow-scaling” style property">arrow-scaling</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-slider-width" title="The “slider-width” style property">slider-width</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-stepper-size" title="The “stepper-size” style property">stepper-size</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-stepper-spacing" title="The “stepper-spacing” style property">stepper-spacing</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-trough-border" title="The “trough-border” style property">trough-border</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkRange.html#GtkRange--s-trough-under-steppers" title="The “trough-under-steppers” style property">trough-under-steppers</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -388,22 +388,22 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkRange.html#GtkRange-adjust-bounds" title="The “adjust-bounds” signal">adjust-bounds</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>
|
||||
<tr>
|
||||
<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkRange.html#GtkRange-change-value" title="The “change-value” signal">change-value</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>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkRange.html#GtkRange-move-slider" title="The “move-slider” signal">move-slider</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="GtkRange.html#GtkRange-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>
|
||||
@ -429,8 +429,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkRange.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> GtkRange
|
||||
<span class="lineart">├──</span> <a class="link" href="GtkScale.html" title="GtkScale">GtkScale</a>
|
||||
@ -461,7 +461,7 @@ of the “steppers”. It also provides properties and methods for setting a
|
||||
<a name="GtkRange.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-fill-level"></a><h3>gtk_range_get_fill_level ()</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_range_get_fill_level (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets the current position of the fill level indicator.</p>
|
||||
<div class="refsect3">
|
||||
@ -488,7 +488,7 @@ gtk_range_get_fill_level (<em class="parameter"><code><a class="link" href="GtkR
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-restrict-to-fill-level"></a><h3>gtk_range_get_restrict_to_fill_level ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_range_get_restrict_to_fill_level (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets whether the range is restricted to the fill level.</p>
|
||||
<div class="refsect3">
|
||||
@ -508,7 +508,7 @@ gtk_range_get_restrict_to_fill_level (<em class="parameter"><code><a class="link
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-range-get-restrict-to-fill-level.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>range</code></em>
|
||||
is restricted to the fill level.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -516,7 +516,7 @@ is restricted to the fill level.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-show-fill-level"></a><h3>gtk_range_get_show_fill_level ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_range_get_show_fill_level (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets whether the range displays the fill level graphically.</p>
|
||||
<div class="refsect3">
|
||||
@ -536,7 +536,7 @@ gtk_range_get_show_fill_level (<em class="parameter"><code><a class="link" href=
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-range-get-show-fill-level.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>range</code></em>
|
||||
shows the fill level.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -546,7 +546,7 @@ shows the fill level.</p>
|
||||
<a name="gtk-range-set-fill-level"></a><h3>gtk_range_set_fill_level ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_fill_level (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fill_level</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> fill_level</code></em>);</pre>
|
||||
<p>Set the new position of the fill level indicator.</p>
|
||||
<p>The “fill level” is probably best described by its most prominent
|
||||
use case, which is an indicator for the amount of pre-buffering in
|
||||
@ -590,7 +590,7 @@ enabled.</p>
|
||||
<a name="gtk-range-set-restrict-to-fill-level"></a><h3>gtk_range_set_restrict_to_fill_level ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_restrict_to_fill_level (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> restrict_to_fill_level</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> restrict_to_fill_level</code></em>);</pre>
|
||||
<p>Sets whether the slider is restricted to the fill level. See
|
||||
<a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
|
||||
level concept.</p>
|
||||
@ -623,7 +623,7 @@ level concept.</p>
|
||||
<a name="gtk-range-set-show-fill-level"></a><h3>gtk_range_set_show_fill_level ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_show_fill_level (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_fill_level</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> show_fill_level</code></em>);</pre>
|
||||
<p>Sets whether a graphical fill level is show on the trough. See
|
||||
<a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
|
||||
level concept.</p>
|
||||
@ -677,7 +677,7 @@ be unreferenced.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-range-get-adjustment.returns"></a><h4>Returns</h4>
|
||||
<p> a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>. </p>
|
||||
<p>a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</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>
|
||||
</div>
|
||||
@ -720,7 +720,7 @@ The page size affects the size of the scrollbar slider.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-inverted"></a><h3>gtk_range_get_inverted ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_range_get_inverted (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets the value set by <a class="link" href="GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()"><code class="function">gtk_range_set_inverted()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -740,7 +740,7 @@ gtk_range_get_inverted (<em class="parameter"><code><a class="link" href="GtkRan
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-range-get-inverted.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the range is inverted</p>
|
||||
<p> <code class="literal">TRUE</code> if the range is inverted</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -748,7 +748,7 @@ gtk_range_get_inverted (<em class="parameter"><code><a class="link" href="GtkRan
|
||||
<a name="gtk-range-set-inverted"></a><h3>gtk_range_set_inverted ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_inverted (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
||||
<p>Ranges normally move from lower to higher values as the
|
||||
slider moves from top to bottom or left to right. Inverted
|
||||
ranges have higher values at the top or on the right rather than
|
||||
@ -769,7 +769,7 @@ on the bottom or left.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>setting</p></td>
|
||||
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to invert the range</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to invert the range</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -779,7 +779,7 @@ on the bottom or left.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-value"></a><h3>gtk_range_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_range_get_value (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets the current value of the range.</p>
|
||||
<div class="refsect3">
|
||||
@ -807,7 +807,7 @@ gtk_range_get_value (<em class="parameter"><code><a class="link" href="GtkRange.
|
||||
<a name="gtk-range-set-value"></a><h3>gtk_range_set_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_value (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</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 range; if the value is outside the
|
||||
minimum or maximum range values, it will be clamped to fit inside
|
||||
them. The range emits the <a class="link" href="GtkRange.html#GtkRange-value-changed" title="The “value-changed” signal"><span class="type">“value-changed”</span></a> signal if the
|
||||
@ -840,8 +840,8 @@ value changes.</p>
|
||||
<a name="gtk-range-set-increments"></a><h3>gtk_range_set_increments ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_increments (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</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><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> page</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gdouble</span> step</code></em>,
|
||||
<em class="parameter"><code><span class="type">gdouble</span> page</code></em>);</pre>
|
||||
<p>Sets the step and page sizes for the range.
|
||||
The step size is used when the user clicks the <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>
|
||||
arrows or moves <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> via arrow keys. The page size
|
||||
@ -879,8 +879,8 @@ is used for example when moving via Page Up or Page Down keys.</p>
|
||||
<a name="gtk-range-set-range"></a><h3>gtk_range_set_range ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_range (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</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>);</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>);</pre>
|
||||
<p>Sets the allowable values in the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>, and clamps the range
|
||||
value to be between <em class="parameter"><code>min</code></em>
|
||||
and <em class="parameter"><code>max</code></em>
|
||||
@ -919,7 +919,7 @@ page size, it is clamped between <em class="parameter"><code>min</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-round-digits"></a><h3>gtk_range_get_round_digits ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_range_get_round_digits (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets the number of digits to round the value to when
|
||||
it changes. See <a class="link" href="GtkRange.html#GtkRange-change-value" title="The “change-value” signal"><span class="type">“change-value”</span></a>.</p>
|
||||
@ -949,7 +949,7 @@ it changes. See <a class="link" href="GtkRange.html#GtkRange-change-value" title
|
||||
<a name="gtk-range-set-round-digits"></a><h3>gtk_range_set_round_digits ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_round_digits (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> round_digits</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> round_digits</code></em>);</pre>
|
||||
<p>Sets the number of digits to round the value to when
|
||||
it changes. See <a class="link" href="GtkRange.html#GtkRange-change-value" title="The “change-value” signal"><span class="type">“change-value”</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -1103,7 +1103,7 @@ gtk_range_get_upper_stepper_sensitivity
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-flippable"></a><h3>gtk_range_get_flippable ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_range_get_flippable (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>Gets the value set by <a class="link" href="GtkRange.html#gtk-range-set-flippable" title="gtk_range_set_flippable ()"><code class="function">gtk_range_set_flippable()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -1123,7 +1123,7 @@ gtk_range_get_flippable (<em class="parameter"><code><a class="link" href="GtkRa
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-range-get-flippable.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the range is flippable</p>
|
||||
<p> <code class="literal">TRUE</code> if the range is flippable</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.18</p>
|
||||
</div>
|
||||
@ -1132,7 +1132,7 @@ gtk_range_get_flippable (<em class="parameter"><code><a class="link" href="GtkRa
|
||||
<a name="gtk-range-set-flippable"></a><h3>gtk_range_set_flippable ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_flippable (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flippable</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> flippable</code></em>);</pre>
|
||||
<p>If a range is flippable, it will switch its direction if it is
|
||||
horizontal and its direction is <a class="link" href="GtkWidget.html#GTK-TEXT-DIR-RTL:CAPS"><code class="literal">GTK_TEXT_DIR_RTL</code></a>.</p>
|
||||
<p>See <a class="link" href="GtkWidget.html#gtk-widget-get-direction" title="gtk_widget_get_direction ()"><code class="function">gtk_widget_get_direction()</code></a>.</p>
|
||||
@ -1152,7 +1152,7 @@ horizontal and its direction is <a class="link" href="GtkWidget.html#GTK-TEXT-DI
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>flippable</p></td>
|
||||
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the range flippable</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make the range flippable</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1163,7 +1163,7 @@ horizontal and its direction is <a class="link" href="GtkWidget.html#GTK-TEXT-DI
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-min-slider-size"></a><h3>gtk_range_get_min_slider_size ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_range_get_min_slider_size (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_range_get_min_slider_size</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1198,7 +1198,7 @@ gtk_range_get_min_slider_size (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-range-get-range-rect"></a><h3>gtk_range_get_range_rect ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_get_range_rect (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *range_rect</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkRectangle</span> *range_rect</code></em>);</pre>
|
||||
<p>This function returns the area that contains the range’s trough
|
||||
and its steppers, in widget->window coordinates.</p>
|
||||
<p>This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.</p>
|
||||
@ -1218,7 +1218,7 @@ and its steppers, in widget->window coordinates.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>range_rect</p></td>
|
||||
<td class="parameter_description"><p> return location for the range rectangle. </p></td>
|
||||
<td class="parameter_description"><p>return location for the range rectangle. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1231,8 +1231,8 @@ and its steppers, in widget->window coordinates.</p>
|
||||
<a name="gtk-range-get-slider-range"></a><h3>gtk_range_get_slider_range ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_get_slider_range (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_start</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_end</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> *slider_start</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *slider_end</code></em>);</pre>
|
||||
<p>This function returns sliders range along the long dimension,
|
||||
in widget->window coordinates.</p>
|
||||
<p>This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.</p>
|
||||
@ -1252,14 +1252,14 @@ in widget->window coordinates.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>slider_start</p></td>
|
||||
<td class="parameter_description"><p> return location for the slider's
|
||||
start, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>return location for the slider's
|
||||
start, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>slider_end</p></td>
|
||||
<td class="parameter_description"><p> return location for the slider's
|
||||
end, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>return location for the slider's
|
||||
end, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1270,7 +1270,7 @@ end, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="liter
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-range-get-slider-size-fixed"></a><h3>gtk_range_get_slider_size_fixed ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_range_get_slider_size_fixed (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
|
||||
<p>This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.</p>
|
||||
<p>See <a class="link" href="GtkRange.html#gtk-range-set-slider-size-fixed" title="gtk_range_set_slider_size_fixed ()"><code class="function">gtk_range_set_slider_size_fixed()</code></a>.</p>
|
||||
@ -1300,7 +1300,7 @@ gtk_range_get_slider_size_fixed (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-range-set-min-slider-size"></a><h3>gtk_range_set_min_slider_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_min_slider_size (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> min_size</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> min_size</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_range_set_min_slider_size</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
<p>Use the min-height/min-width CSS properties on the slider
|
||||
@ -1337,7 +1337,7 @@ gtk_range_set_min_slider_size (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-range-set-slider-size-fixed"></a><h3>gtk_range_set_slider_size_fixed ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_range_set_slider_size_fixed (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> size_fixed</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> size_fixed</code></em>);</pre>
|
||||
<p>Sets whether the range’s slider has a fixed size, or a size that
|
||||
depends on its adjustment’s page size.</p>
|
||||
<p>This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.</p>
|
||||
@ -1357,7 +1357,7 @@ depends on its adjustment’s page size.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>size_fixed</p></td>
|
||||
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the slider size constant</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to make the slider size constant</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1424,7 +1424,7 @@ at the end of range widgets.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--fill-level"></a><h3>The <code class="literal">“fill-level”</code> property</h3>
|
||||
<pre class="programlisting"> “fill-level” <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
|
||||
<pre class="programlisting"> “fill-level” <span class="type">gdouble</span></pre>
|
||||
<p>The fill level (e.g. prebuffering of a network stream).
|
||||
See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1434,7 +1434,7 @@ See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_ran
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--inverted"></a><h3>The <code class="literal">“inverted”</code> property</h3>
|
||||
<pre class="programlisting"> “inverted” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “inverted” <span class="type">gboolean</span></pre>
|
||||
<p>Invert direction slider moves to increase range value.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1450,7 +1450,7 @@ See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_ran
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--restrict-to-fill-level"></a><h3>The <code class="literal">“restrict-to-fill-level”</code> property</h3>
|
||||
<pre class="programlisting"> “restrict-to-fill-level” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “restrict-to-fill-level” <span class="type">gboolean</span></pre>
|
||||
<p>The restrict-to-fill-level property controls whether slider
|
||||
movement is restricted to an upper boundary set by the
|
||||
fill level. See <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()"><code class="function">gtk_range_set_restrict_to_fill_level()</code></a>.</p>
|
||||
@ -1461,7 +1461,7 @@ fill level. See <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fi
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--round-digits"></a><h3>The <code class="literal">“round-digits”</code> property</h3>
|
||||
<pre class="programlisting"> “round-digits” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “round-digits” <span class="type">gint</span></pre>
|
||||
<p>The number of digits to round the value to when
|
||||
it changes, or -1. See <a class="link" href="GtkRange.html#GtkRange-change-value" title="The “change-value” signal"><span class="type">“change-value”</span></a>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1472,7 +1472,7 @@ it changes, or -1. See <a class="link" href="GtkRange.html#GtkRange-change-value
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--show-fill-level"></a><h3>The <code class="literal">“show-fill-level”</code> property</h3>
|
||||
<pre class="programlisting"> “show-fill-level” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “show-fill-level” <span class="type">gboolean</span></pre>
|
||||
<p>The show-fill-level property controls whether fill level indicator
|
||||
graphics are displayed on the trough. See
|
||||
<a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()"><code class="function">gtk_range_set_show_fill_level()</code></a>.</p>
|
||||
@ -1493,7 +1493,7 @@ graphics are displayed on the trough. See
|
||||
<a name="GtkRange.style-property-details"></a><h2>Style Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-arrow-displacement-x"></a><h3>The <code class="literal">“arrow-displacement-x”</code> style property</h3>
|
||||
<pre class="programlisting"> “arrow-displacement-x” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “arrow-displacement-x” <span class="type">gint</span></pre>
|
||||
<p>How far in the x direction to move the arrow when the button is depressed.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:arrow-displacement-x</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1505,7 +1505,7 @@ graphics are displayed on the trough. See
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-arrow-displacement-y"></a><h3>The <code class="literal">“arrow-displacement-y”</code> style property</h3>
|
||||
<pre class="programlisting"> “arrow-displacement-y” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “arrow-displacement-y” <span class="type">gint</span></pre>
|
||||
<p>How far in the y direction to move the arrow when the button is depressed.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:arrow-displacement-y</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1517,7 +1517,7 @@ graphics are displayed on the trough. See
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-arrow-scaling"></a><h3>The <code class="literal">“arrow-scaling”</code> style property</h3>
|
||||
<pre class="programlisting"> “arrow-scaling” <a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre>
|
||||
<pre class="programlisting"> “arrow-scaling” <span class="type">gfloat</span></pre>
|
||||
<p>The arrow size proportion relative to the scroll button size.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:arrow-scaling</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1532,7 +1532,7 @@ graphics are displayed on the trough. See
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-slider-width"></a><h3>The <code class="literal">“slider-width”</code> style property</h3>
|
||||
<pre class="programlisting"> “slider-width” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “slider-width” <span class="type">gint</span></pre>
|
||||
<p>Width of scrollbar or scale thumb.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:slider-width</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1546,7 +1546,7 @@ graphics are displayed on the trough. See
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-stepper-size"></a><h3>The <code class="literal">“stepper-size”</code> style property</h3>
|
||||
<pre class="programlisting"> “stepper-size” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “stepper-size” <span class="type">gint</span></pre>
|
||||
<p>Length of step buttons at ends.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:stepper-size</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1560,7 +1560,7 @@ graphics are displayed on the trough. See
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-stepper-spacing"></a><h3>The <code class="literal">“stepper-spacing”</code> style property</h3>
|
||||
<pre class="programlisting"> “stepper-spacing” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “stepper-spacing” <span class="type">gint</span></pre>
|
||||
<p>The spacing between the stepper buttons and thumb. Note that
|
||||
stepper-spacing won't have any effect if there are no steppers.</p>
|
||||
<div class="warning">
|
||||
@ -1575,7 +1575,7 @@ stepper-spacing won't have any effect if there are no steppers.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-trough-border"></a><h3>The <code class="literal">“trough-border”</code> style property</h3>
|
||||
<pre class="programlisting"> “trough-border” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “trough-border” <span class="type">gint</span></pre>
|
||||
<p>Spacing between thumb/steppers and outer trough bevel.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:trough-border</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1589,13 +1589,13 @@ stepper-spacing won't have any effect if there are no steppers.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange--s-trough-under-steppers"></a><h3>The <code class="literal">“trough-under-steppers”</code> style property</h3>
|
||||
<pre class="programlisting"> “trough-under-steppers” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “trough-under-steppers” <span class="type">gboolean</span></pre>
|
||||
<p>Whether to draw the trough across the full length of the range or
|
||||
to exclude the steppers and their spacing.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkRange:trough-under-steppers</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
<p>The value of this style property is ignored, and the
|
||||
widget will behave as if it was set to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
widget will behave as if it was set to <code class="literal">TRUE</code>.</p>
|
||||
</div>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -1608,8 +1608,8 @@ to exclude the steppers and their spacing.</p>
|
||||
<a name="GtkRange-adjust-bounds"></a><h3>The <code class="literal">“adjust-bounds”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range,
|
||||
<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>Emitted before clamping a value, to give the application a
|
||||
chance to adjust the bounds.</p>
|
||||
<div class="refsect3">
|
||||
@ -1639,21 +1639,21 @@ chance to adjust the bounds.</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>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange-change-value"></a><h3>The <code class="literal">“change-value”</code> signal</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
user_function (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll,
|
||||
<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 <a class="link" href="GtkRange.html#GtkRange-change-value" title="The “change-value” signal"><span class="type">“change-value”</span></a> signal is emitted when a scroll action is
|
||||
performed on a range. It allows an application to determine the
|
||||
type of scroll event that occurred and the resultant new value.
|
||||
The application can handle the event itself and return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to
|
||||
prevent further processing. Or, by returning <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, it can pass
|
||||
The application can handle the event itself and return <code class="literal">TRUE</code> to
|
||||
prevent further processing. Or, by returning <code class="literal">FALSE</code>, it can pass
|
||||
the event to other handlers until the default GTK+ handler is
|
||||
reached.</p>
|
||||
<p>The value parameter is unrounded. An application that overrides
|
||||
@ -1694,10 +1694,10 @@ handler clamps the value based on <a class="link" href="GtkRange.html#GtkRange--
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRange-change-value.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to prevent other handlers from being invoked for
|
||||
the signal, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to propagate the signal further</p>
|
||||
<p> <code class="literal">TRUE</code> to prevent other handlers from being invoked for
|
||||
the signal, <code class="literal">FALSE</code> to propagate the signal further</p>
|
||||
</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.6</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1706,7 +1706,7 @@ the signal, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> step,
|
||||
<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>Virtual function that moves the slider. Used for keybindings.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRange-move-slider.parameters"></a><h4>Parameters</h4>
|
||||
@ -1735,14 +1735,14 @@ user_function (<a class="link" href="GtkRange.html" title="GtkRange"><span class
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p>Flags: Action</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRange-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="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range,
|
||||
<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>Emitted when the range value changes.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkRange-value-changed.parameters"></a><h4>Parameters</h4>
|
||||
@ -1766,11 +1766,11 @@ user_function (<a class="link" href="GtkRange.html" title="GtkRange"><span class
|
||||
</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>
|
||||
</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