New upstream version 3.24.5
This commit is contained in:
@ -53,7 +53,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GSList</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRadioAction.html#gtk-radio-action-get-group" title="gtk_radio_action_get_group ()">gtk_radio_action_get_group</a> <span class="c_punctuation">()</span>
|
||||
@ -77,7 +77,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkRadioAction.html#gtk-radio-action-get-current-value" title="gtk_radio_action_get_current_value ()">gtk_radio_action_get_current_value</a> <span class="c_punctuation">()</span>
|
||||
@ -104,7 +104,7 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkRadioAction.html#GtkRadioAction--current-value" title="The “current-value” property">current-value</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -115,7 +115,7 @@
|
||||
<td class="property_flags">Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkRadioAction.html#GtkRadioAction--value" title="The “value” property">value</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -133,7 +133,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkRadioAction.html#GtkRadioAction-changed" title="The “changed” signal">changed</a></td>
|
||||
<td class="signal_flags">No Recursion</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-RECURSE:CAPS">No Recursion</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -152,7 +152,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkRadioAction.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkAction.html" title="GtkAction">GtkAction</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a>
|
||||
<span class="lineart">╰──</span> GtkRadioAction
|
||||
@ -180,11 +180,11 @@ one time.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-radio-action-new"></a><h3>gtk_radio_action_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="returnvalue">GtkRadioAction</span></a> *
|
||||
gtk_radio_action_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *tooltip</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
|
||||
gtk_radio_action_new (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tooltip</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_radio_action_new</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Creates a new <a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> object. To add the action to
|
||||
a <a class="link" href="GtkActionGroup.html" title="GtkActionGroup"><span class="type">GtkActionGroup</span></a> and set the accelerator for the action,
|
||||
@ -206,18 +206,18 @@ call <a class="link" href="GtkActionGroup.html#gtk-action-group-add-action-with-
|
||||
<tr>
|
||||
<td class="parameter_name"><p>label</p></td>
|
||||
<td class="parameter_description"><p>The label displayed in menu items and on buttons,
|
||||
or <code class="literal">NULL</code>. </p></td>
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</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>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tooltip</p></td>
|
||||
<td class="parameter_description"><p>A tooltip for this action, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>A tooltip for this action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</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>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>stock_id</p></td>
|
||||
<td class="parameter_description"><p>The stock icon to display in widgets representing
|
||||
this action, or <code class="literal">NULL</code>. </p></td>
|
||||
this action, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</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>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -238,7 +238,7 @@ return if this action is selected.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-radio-action-get-group"></a><h3>gtk_radio_action_get_group ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GSList</span> *
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
||||
gtk_radio_action_get_group (<em class="parameter"><code><a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_radio_action_get_group</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the list representing the radio group for this object.
|
||||
@ -259,7 +259,7 @@ to the group. </p>
|
||||
8
|
||||
9
|
||||
10</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GSList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group </span><span class="symbol">=</span><span class="normal"> NULL</span><span class="symbol">;</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GSList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
||||
<span class="usertype">GtkRadioAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span>
|
||||
<span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"> </span><span class="symbol">...</span><span class="normal">more actions </span><span class="usertype">to</span><span class="normal"> add</span><span class="symbol">...</span><span class="normal"> </span><span class="symbol">/)</span>
|
||||
@ -302,7 +302,7 @@ to the group. </p>
|
||||
<a name="gtk-radio-action-set-group"></a><h3>gtk_radio_action_set_group ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_radio_action_set_group (<em class="parameter"><code><a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><span class="type">GSList</span> *group</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *group</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_radio_action_set_group</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Sets the radio group for the radio action object.</p>
|
||||
<div class="refsect3">
|
||||
@ -321,7 +321,7 @@ gtk_radio_action_set_group (<em class="parameter"><code><a class="link" href="Gt
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>group</p></td>
|
||||
<td class="parameter_description"><p>a list representing a radio group, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>a list representing a radio group, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkRadioAction][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -387,7 +387,7 @@ and <a class="link" href="GtkRadioAction.html#gtk-radio-action-set-group" title=
|
||||
<tr>
|
||||
<td class="parameter_name"><p>group_source</p></td>
|
||||
<td class="parameter_description"><p>a radio action object whos group we are
|
||||
joining, or <code class="literal">NULL</code> to remove the radio action from its group. </p></td>
|
||||
joining, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove the radio action from its group. </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>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -398,7 +398,7 @@ joining, or <code class="literal">NULL</code> to remove the radio action from it
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-radio-action-get-current-value"></a><h3>gtk_radio_action_get_current_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_radio_action_get_current_value (<em class="parameter"><code><a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> *action</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_radio_action_get_current_value</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Obtains the value property of the currently active member of
|
||||
@ -430,7 +430,7 @@ the group to which <em class="parameter"><code>action</code></em>
|
||||
<a name="gtk-radio-action-set-current-value"></a><h3>gtk_radio_action_set_current_value ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_radio_action_set_current_value (<em class="parameter"><code><a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> *action</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> current_value</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_value</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_radio_action_set_current_value</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Sets the currently active group member to the member with value
|
||||
property <em class="parameter"><code>current_value</code></em>
|
||||
@ -471,7 +471,7 @@ property <em class="parameter"><code>current_value</code></em>
|
||||
<a name="GtkRadioAction.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRadioAction--current-value"></a><h3>The <code class="literal">“current-value”</code> property</h3>
|
||||
<pre class="programlisting"> “current-value” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “current-value” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The value property of the currently active member of the group to which
|
||||
this action belongs.</p>
|
||||
<div class="warning"><p><code class="literal">GtkRadioAction:current-value</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
@ -491,7 +491,7 @@ this action belongs.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkRadioAction--value"></a><h3>The <code class="literal">“value”</code> property</h3>
|
||||
<pre class="programlisting"> “value” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “value” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The value is an arbitrary integer which can be used as a
|
||||
convenient way to determine which action in the group is
|
||||
|
||||
@ -511,7 +511,7 @@ for convenient ways to get and set this property.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> *action,
|
||||
<a class="link" href="GtkRadioAction.html" title="GtkRadioAction"><span class="type">GtkRadioAction</span></a> *current,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::changed signal is emitted on every member of a radio group when the
|
||||
active member is changed. The signal gets emitted after the ::activate signals
|
||||
for the previous and current active members.</p>
|
||||
@ -544,7 +544,7 @@ for the previous and current active members.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: No Recursion</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-RECURSE:CAPS">No Recursion</a></p>
|
||||
<p class="since">Since: 2.4</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user