New upstream version 3.24.18
This commit is contained in:
@ -70,7 +70,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="returnvalue">GtkLevelBarMode</span></a>
|
||||
<a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="returnvalue">GtkLevelBarMode</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkLevelBar.html#gtk-level-bar-get-mode" title="gtk_level_bar_get_mode ()">gtk_level_bar_get_mode</a> <span class="c_punctuation">()</span>
|
||||
@ -192,7 +192,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></td>
|
||||
<td class="property_type"><a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkLevelBar.html#GtkLevelBar--mode" title="The “mode” property">mode</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -251,23 +251,23 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-LOW:CAPS">GTK_LEVEL_BAR_OFFSET_LOW</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-LOW:CAPS" title="GTK_LEVEL_BAR_OFFSET_LOW">GTK_LEVEL_BAR_OFFSET_LOW</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-HIGH:CAPS">GTK_LEVEL_BAR_OFFSET_HIGH</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-HIGH:CAPS" title="GTK_LEVEL_BAR_OFFSET_HIGH">GTK_LEVEL_BAR_OFFSET_HIGH</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-FULL:CAPS">GTK_LEVEL_BAR_OFFSET_FULL</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-FULL:CAPS" title="GTK_LEVEL_BAR_OFFSET_FULL">GTK_LEVEL_BAR_OFFSET_FULL</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode">GtkLevelBarMode</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode">GtkLevelBarMode</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBar-struct">GtkLevelBar</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkLevelBar.html#GtkLevelBar-struct" title="struct GtkLevelBar">GtkLevelBar</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -299,8 +299,8 @@ of a password, or showing the charge level of a battery.</p>
|
||||
<p>Use <a class="link" href="GtkLevelBar.html#gtk-level-bar-set-value" title="gtk_level_bar_set_value ()"><code class="function">gtk_level_bar_set_value()</code></a> to set the current value, and
|
||||
<a class="link" href="GtkLevelBar.html#gtk-level-bar-add-offset-value" title="gtk_level_bar_add_offset_value ()"><code class="function">gtk_level_bar_add_offset_value()</code></a> to set the value offsets at which
|
||||
the bar will be considered in a different state. GTK will add a few
|
||||
offsets by default on the level bar: <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-LOW:CAPS"><span class="type">GTK_LEVEL_BAR_OFFSET_LOW</span></a>,
|
||||
<a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-HIGH:CAPS"><span class="type">GTK_LEVEL_BAR_OFFSET_HIGH</span></a> and <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-FULL:CAPS"><span class="type">GTK_LEVEL_BAR_OFFSET_FULL</span></a>, with
|
||||
offsets by default on the level bar: <a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-LOW:CAPS" title="GTK_LEVEL_BAR_OFFSET_LOW"><span class="type">GTK_LEVEL_BAR_OFFSET_LOW</span></a>,
|
||||
<a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-HIGH:CAPS" title="GTK_LEVEL_BAR_OFFSET_HIGH"><span class="type">GTK_LEVEL_BAR_OFFSET_HIGH</span></a> and <a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-OFFSET-FULL:CAPS" title="GTK_LEVEL_BAR_OFFSET_FULL"><span class="type">GTK_LEVEL_BAR_OFFSET_FULL</span></a>, with
|
||||
values 0.25, 0.75 and 1.0 respectively.</p>
|
||||
<p>Note that it is your responsibility to update preexisting offsets
|
||||
when changing the minimum or maximum value. GTK+ will simply clamp
|
||||
@ -380,7 +380,7 @@ modify the interval using <a class="link" href="GtkLevelBar.html#gtk-level-bar-s
|
||||
<a class="link" href="GtkLevelBar.html#gtk-level-bar-set-max-value" title="gtk_level_bar_set_max_value ()"><code class="function">gtk_level_bar_set_max_value()</code></a>. The value will be always drawn in proportion to
|
||||
the admissible interval, i.e. a value of 15 with a specified interval between
|
||||
10 and 20 is equivalent to a value of 0.5 with an interval between 0 and 1.
|
||||
When <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-MODE-DISCRETE:CAPS"><span class="type">GTK_LEVEL_BAR_MODE_DISCRETE</span></a> is used, the bar level is rendered
|
||||
When <a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-MODE-DISCRETE:CAPS"><span class="type">GTK_LEVEL_BAR_MODE_DISCRETE</span></a> is used, the bar level is rendered
|
||||
as a finite number of separated blocks instead of a single one. The number
|
||||
of blocks that will be rendered is equal to the number of units specified by
|
||||
the admissible interval.</p>
|
||||
@ -485,7 +485,7 @@ interval.</p>
|
||||
<a name="gtk-level-bar-set-mode"></a><h3>gtk_level_bar_set_mode ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_level_bar_set_mode (<em class="parameter"><code><a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a> *self</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a> mode</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a> mode</code></em>);</pre>
|
||||
<p>Sets the value of the <a class="link" href="GtkLevelBar.html#GtkLevelBar--mode" title="The “mode” property"><span class="type">“mode”</span></a> property.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-level-bar-set-mode.parameters"></a><h4>Parameters</h4>
|
||||
@ -503,7 +503,7 @@ gtk_level_bar_set_mode (<em class="parameter"><code><a class="link" href="GtkLev
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>mode</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -514,7 +514,7 @@ gtk_level_bar_set_mode (<em class="parameter"><code><a class="link" href="GtkLev
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-level-bar-get-mode"></a><h3>gtk_level_bar_get_mode ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="returnvalue">GtkLevelBarMode</span></a>
|
||||
<pre class="programlisting"><a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="returnvalue">GtkLevelBarMode</span></a>
|
||||
gtk_level_bar_get_mode (<em class="parameter"><code><a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a> *self</code></em>);</pre>
|
||||
<p>Returns the value of the <a class="link" href="GtkLevelBar.html#GtkLevelBar--mode" title="The “mode” property"><span class="type">“mode”</span></a> property.</p>
|
||||
<div class="refsect3">
|
||||
@ -534,7 +534,7 @@ gtk_level_bar_get_mode (<em class="parameter"><code><a class="link" href="GtkLev
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-level-bar-get-mode.returns"></a><h4>Returns</h4>
|
||||
<p> a <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></p>
|
||||
<p> a <a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
</div>
|
||||
@ -905,6 +905,71 @@ returning <code class="literal">TRUE</code> in case an offset named <em class="p
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkLevelBar.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-LEVEL-BAR-OFFSET-LOW:CAPS"></a><h3>GTK_LEVEL_BAR_OFFSET_LOW</h3>
|
||||
<pre class="programlisting">#define GTK_LEVEL_BAR_OFFSET_LOW "low"
|
||||
</pre>
|
||||
<p>The name used for the stock low offset included by <a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a>.</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-LEVEL-BAR-OFFSET-HIGH:CAPS"></a><h3>GTK_LEVEL_BAR_OFFSET_HIGH</h3>
|
||||
<pre class="programlisting">#define GTK_LEVEL_BAR_OFFSET_HIGH "high"
|
||||
</pre>
|
||||
<p>The name used for the stock high offset included by <a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a>.</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-LEVEL-BAR-OFFSET-FULL:CAPS"></a><h3>GTK_LEVEL_BAR_OFFSET_FULL</h3>
|
||||
<pre class="programlisting">#define GTK_LEVEL_BAR_OFFSET_FULL "full"
|
||||
</pre>
|
||||
<p>The name used for the stock full offset included by <a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a>.</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-20.html#api-index-3.20">3.20</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLevelBarMode"></a><h3>enum GtkLevelBarMode</h3>
|
||||
<p>Describes how <a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a> contents should be rendered.
|
||||
Note that this enumeration could be extended with additional modes
|
||||
in the future.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkLevelBarMode.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-LEVEL-BAR-MODE-CONTINUOUS:CAPS"></a>GTK_LEVEL_BAR_MODE_CONTINUOUS</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>the bar has a continuous mode</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-LEVEL-BAR-MODE-DISCRETE:CAPS"></a>GTK_LEVEL_BAR_MODE_DISCRETE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>the bar has a discrete mode</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLevelBar-struct"></a><h3>struct GtkLevelBar</h3>
|
||||
<pre class="programlisting">struct GtkLevelBar;</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkLevelBar.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLevelBar--inverted"></a><h3>The <code class="literal">“inverted”</code> property</h3>
|
||||
@ -943,12 +1008,12 @@ the interval that can be displayed by the bar.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkLevelBar--mode"></a><h3>The <code class="literal">“mode”</code> property</h3>
|
||||
<pre class="programlisting"> “mode” <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></pre>
|
||||
<pre class="programlisting"> “mode” <a class="link" href="GtkLevelBar.html#GtkLevelBarMode" title="enum GtkLevelBarMode"><span class="type">GtkLevelBarMode</span></a></pre>
|
||||
<p>The <a class="link" href="GtkLevelBar.html#GtkLevelBar--mode" title="The “mode” property"><span class="type">“mode”</span></a> property determines the way <a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a>
|
||||
interprets the value properties to draw the level fill area.
|
||||
Specifically, when the value is <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-MODE-CONTINUOUS:CAPS"><span class="type">GTK_LEVEL_BAR_MODE_CONTINUOUS</span></a>,
|
||||
Specifically, when the value is <a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-MODE-CONTINUOUS:CAPS"><span class="type">GTK_LEVEL_BAR_MODE_CONTINUOUS</span></a>,
|
||||
<a class="link" href="GtkLevelBar.html" title="GtkLevelBar"><span class="type">GtkLevelBar</span></a> will draw a single block representing the current value in
|
||||
that area; when the value is <a href="https://developer.gnome.org/gtk4/GtkLevelBar.html#GTK-LEVEL-BAR-MODE-DISCRETE:CAPS"><span class="type">GTK_LEVEL_BAR_MODE_DISCRETE</span></a>,
|
||||
that area; when the value is <a class="link" href="GtkLevelBar.html#GTK-LEVEL-BAR-MODE-DISCRETE:CAPS"><span class="type">GTK_LEVEL_BAR_MODE_DISCRETE</span></a>,
|
||||
the widget will draw a succession of separate blocks filling the
|
||||
draw area, with the number of blocks being equal to the units separating
|
||||
the integral roundings of <a class="link" href="GtkLevelBar.html#GtkLevelBar--min-value" title="The “min-value” property"><span class="type">“min-value”</span></a> and <a class="link" href="GtkLevelBar.html#GtkLevelBar--max-value" title="The “max-value” property"><span class="type">“max-value”</span></a>.</p>
|
||||
|
||||
Reference in New Issue
Block a user