New upstream version 3.24.8
This commit is contained in:
@ -45,7 +45,7 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkActionable.html#gtk-actionable-get-action-name" title="gtk_actionable_get_action_name ()">gtk_actionable_get_action_name</a> <span class="c_punctuation">()</span>
|
||||
@ -61,7 +61,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
||||
<span class="returnvalue">GVariant</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkActionable.html#gtk-actionable-get-action-target-value" title="gtk_actionable_get_action_target_value ()">gtk_actionable_get_action_target_value</a> <span class="c_punctuation">()</span>
|
||||
@ -105,13 +105,13 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkActionable.html#GtkActionable--action-name" title="The “action-name” property">action-name</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *</td>
|
||||
<span class="type">GVariant</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkActionable.html#GtkActionable--action-target" title="The “action-target” property">action-target</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -157,7 +157,7 @@ GtkActionable is implemented by
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkActionable.includes"></a><h2>Includes</h2>
|
||||
<pre class="synopsis">#include <gtk/gtkunixprint.h>
|
||||
<pre class="synopsis">#include <gtk/gtk.h>
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -177,7 +177,7 @@ or <a class="link" href="GtkApplication.html" title="GtkApplication"><span class
|
||||
<a name="GtkActionable.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-actionable-get-action-name"></a><h3>gtk_actionable_get_action_name ()</h3>
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_actionable_get_action_name (<em class="parameter"><code><a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> *actionable</code></em>);</pre>
|
||||
<p>Gets the action name for <em class="parameter"><code>actionable</code></em>
|
||||
.</p>
|
||||
@ -199,7 +199,7 @@ gtk_actionable_get_action_name (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-actionable-get-action-name.returns"></a><h4>Returns</h4>
|
||||
<p>the action name, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is set. </p>
|
||||
<p>the action name, or <code class="literal">NULL</code> if none is set. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
|
||||
@ -209,10 +209,10 @@ gtk_actionable_get_action_name (<em class="parameter"><code><a class="link" href
|
||||
<a name="gtk-actionable-set-action-name"></a><h3>gtk_actionable_set_action_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_actionable_set_action_name (<em class="parameter"><code><a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> *actionable</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> *action_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *action_name</code></em>);</pre>
|
||||
<p>Specifies the name of the action with which this widget should be
|
||||
associated. If <em class="parameter"><code>action_name</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the widget will be
|
||||
is <code class="literal">NULL</code> then the widget will be
|
||||
unassociated from any previous action.</p>
|
||||
<p>Usually this function is used when the widget is located (or will be
|
||||
located) within the hierarchy of a <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a>.</p>
|
||||
@ -236,7 +236,7 @@ associated with the window.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>action_name</p></td>
|
||||
<td class="parameter_description"><p>an action name, 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_description"><p>an action name, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -247,7 +247,7 @@ associated with the window.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-actionable-get-action-target-value"></a><h3>gtk_actionable_get_action_target_value ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
||||
gtk_actionable_get_action_target_value
|
||||
(<em class="parameter"><code><a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> *actionable</code></em>);</pre>
|
||||
<p>Gets the current target value of <em class="parameter"><code>actionable</code></em>
|
||||
@ -281,10 +281,10 @@ gtk_actionable_get_action_target_value
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_actionable_set_action_target_value
|
||||
(<em class="parameter"><code><a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> *actionable</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *target_value</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GVariant</span> *target_value</code></em>);</pre>
|
||||
<p>Sets the target value of an actionable widget.</p>
|
||||
<p>If <em class="parameter"><code>target_value</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the target value is unset.</p>
|
||||
is <code class="literal">NULL</code> then the target value is unset.</p>
|
||||
<p>The target value has two purposes. First, it is used as the
|
||||
parameter to activation of the action associated with the
|
||||
<a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> widget. Second, it is used to determine if the widget
|
||||
@ -315,7 +315,7 @@ rendered inactive).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>target_value</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> to set as the target value, 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_description"><p>a <span class="type">GVariant</span> to set as the target value, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -328,10 +328,10 @@ rendered inactive).</p>
|
||||
<a name="gtk-actionable-set-action-target"></a><h3>gtk_actionable_set_action_target ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_actionable_set_action_target (<em class="parameter"><code><a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> *actionable</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> *format_string</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *format_string</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>Sets the target of an actionable widget.</p>
|
||||
<p>This is a convenience function that calls <a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#g-variant-new"><code class="function">g_variant_new()</code></a> for
|
||||
<p>This is a convenience function that calls <code class="function">g_variant_new()</code> for
|
||||
<em class="parameter"><code>format_string</code></em>
|
||||
and uses the result to call
|
||||
<a class="link" href="GtkActionable.html#gtk-actionable-set-action-target-value" title="gtk_actionable_set_action_target_value ()"><code class="function">gtk_actionable_set_action_target_value()</code></a>.</p>
|
||||
@ -374,7 +374,7 @@ name at the same time, you can use
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_actionable_set_detailed_action_name
|
||||
(<em class="parameter"><code><a class="link" href="GtkActionable.html" title="GtkActionable"><span class="type">GtkActionable</span></a> *actionable</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> *detailed_action_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *detailed_action_name</code></em>);</pre>
|
||||
<p>Sets the action-name and associated string target value of an
|
||||
actionable widget.</p>
|
||||
<p><em class="parameter"><code>detailed_action_name</code></em>
|
||||
@ -469,7 +469,7 @@ as the target.)</p>
|
||||
<a name="GtkActionable.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkActionable--action-name"></a><h3>The <code class="literal">“action-name”</code> property</h3>
|
||||
<pre class="programlisting"> “action-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “action-name” <span class="type">gchar</span> *</pre>
|
||||
<p>The name of the associated action, like 'app.quit'.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -477,7 +477,7 @@ as the target.)</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkActionable--action-target"></a><h3>The <code class="literal">“action-target”</code> property</h3>
|
||||
<pre class="programlisting"> “action-target” <a href="https://developer.gnome.org/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *</pre>
|
||||
<pre class="programlisting"> “action-target” <span class="type">GVariant</span> *</pre>
|
||||
<p>The parameter for action invocations.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: GVariant<*></p>
|
||||
|
||||
Reference in New Issue
Block a user