New upstream version 3.24.5
This commit is contained in:
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAccelLabel.html#gtk-accel-label-get-accel-width" title="gtk_accel_label_get_accel_width ()">gtk_accel_label_get_accel_width</a> <span class="c_punctuation">()</span>
|
||||
@ -100,7 +100,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkAccelLabel.html#gtk-accel-label-refetch" title="gtk_accel_label_refetch ()">gtk_accel_label_refetch</a> <span class="c_punctuation">()</span>
|
||||
@ -120,7 +120,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">GClosure</span> *</td>
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="type">GClosure</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkAccelLabel.html#GtkAccelLabel--accel-closure" title="The “accel-closure” property">accel-closure</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -148,8 +148,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkAccelLabel.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<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 href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkMisc.html" title="GtkMisc">GtkMisc</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkLabel.html" title="GtkLabel">GtkLabel</a>
|
||||
@ -269,7 +269,7 @@ It adds a subnode with name accelerator.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-accel-label-new"></a><h3>gtk_accel_label_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_accel_label_new (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);</pre>
|
||||
gtk_accel_label_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> *string</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accel-label-new.parameters"></a><h4>Parameters</h4>
|
||||
@ -281,7 +281,7 @@ gtk_accel_label_new (<em class="parameter"><code>const <span class="type">gchar<
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>string</p></td>
|
||||
<td class="parameter_description"><p>the label string. Must be non-<code class="literal">NULL</code>.</p></td>
|
||||
<td class="parameter_description"><p>the label string. Must be non-<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"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -296,10 +296,10 @@ gtk_accel_label_new (<em class="parameter"><code>const <span class="type">gchar<
|
||||
<a name="gtk-accel-label-set-accel-closure"></a><h3>gtk_accel_label_set_accel_closure ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_set_accel_closure (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><span class="type">GClosure</span> *accel_closure</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="type">GClosure</span></a> *accel_closure</code></em>);</pre>
|
||||
<p>Sets the closure to be monitored by this accelerator label. The closure
|
||||
must be connected to an accelerator group; see <a class="link" href="gtk3-Keyboard-Accelerators.html#gtk-accel-group-connect" title="gtk_accel_group_connect ()"><code class="function">gtk_accel_group_connect()</code></a>.
|
||||
Passing <code class="literal">NULL</code> for <em class="parameter"><code>accel_closure</code></em>
|
||||
Passing <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>accel_closure</code></em>
|
||||
will dissociate <em class="parameter"><code>accel_label</code></em>
|
||||
from its
|
||||
current closure, if any.</p>
|
||||
@ -320,7 +320,7 @@ current closure, if any.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>accel_closure</p></td>
|
||||
<td class="parameter_description"><p>the closure to monitor for accelerator changes,
|
||||
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 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>
|
||||
@ -351,7 +351,7 @@ gtk_accel_label_get_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accel-label-get-accel-widget.returns"></a><h4>Returns</h4>
|
||||
<p>the object monitored by the accelerator label, or <code class="literal">NULL</code>. </p>
|
||||
<p>the object monitored by the accelerator label, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -361,7 +361,7 @@ gtk_accel_label_get_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_set_accel_widget (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *accel_widget</code></em>);</pre>
|
||||
<p>Sets the widget to be monitored by this accelerator label. Passing <code class="literal">NULL</code> for
|
||||
<p>Sets the widget to be monitored by this accelerator label. Passing <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for
|
||||
<em class="parameter"><code>accel_widget</code></em>
|
||||
will dissociate <em class="parameter"><code>accel_label</code></em>
|
||||
from its current widget, if any.</p>
|
||||
@ -381,7 +381,7 @@ gtk_accel_label_set_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>accel_widget</p></td>
|
||||
<td class="parameter_description"><p>the widget to be monitored, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>the widget to be monitored, 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 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>
|
||||
@ -391,7 +391,7 @@ gtk_accel_label_set_accel_widget (<em class="parameter"><code><a class="link" hr
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-accel-label-get-accel-width"></a><h3>gtk_accel_label_get_accel_width ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gtk_accel_label_get_accel_width (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>);</pre>
|
||||
<p>Returns the width needed to display the accelerator key(s).
|
||||
This is used by menus to align all of the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> widgets, and shouldn't
|
||||
@ -421,7 +421,7 @@ be needed by applications.</p>
|
||||
<a name="gtk-accel-label-set-accel"></a><h3>gtk_accel_label_set_accel ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_set_accel (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> accelerator_key</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> accelerator_key</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> accelerator_mods</code></em>);</pre>
|
||||
<p>Manually sets a keyval and modifier mask as the accelerator rendered
|
||||
by <em class="parameter"><code>accel_label</code></em>
|
||||
@ -464,7 +464,7 @@ used regardless of any associated accel closure or widget.</p>
|
||||
<a name="gtk-accel-label-get-accel"></a><h3>gtk_accel_label_get_accel ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_accel_label_get_accel (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *accelerator_key</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *accelerator_key</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *accelerator_mods</code></em>);</pre>
|
||||
<p>Gets the keyval and modifier mask set with
|
||||
<a class="link" href="GtkAccelLabel.html#gtk-accel-label-set-accel" title="gtk_accel_label_set_accel ()"><code class="function">gtk_accel_label_set_accel()</code></a>.</p>
|
||||
@ -500,7 +500,7 @@ gtk_accel_label_get_accel (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-accel-label-refetch"></a><h3>gtk_accel_label_refetch ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_accel_label_refetch (<em class="parameter"><code><a class="link" href="GtkAccelLabel.html" title="GtkAccelLabel"><span class="type">GtkAccelLabel</span></a> *accel_label</code></em>);</pre>
|
||||
<p>Recreates the string representing the accelerator keys.
|
||||
This should not be needed since the string is automatically updated whenever
|
||||
@ -522,7 +522,7 @@ accelerators are added or removed from the associated widget.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-accel-label-refetch.returns"></a><h4>Returns</h4>
|
||||
<p> always returns <code class="literal">FALSE</code>.</p>
|
||||
<p> always returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -539,7 +539,7 @@ should be accessed using the functions below.</p>
|
||||
<a name="GtkAccelLabel.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkAccelLabel--accel-closure"></a><h3>The <code class="literal">“accel-closure”</code> property</h3>
|
||||
<pre class="programlisting"> “accel-closure” <span class="type">GClosure</span> *</pre>
|
||||
<pre class="programlisting"> “accel-closure” <a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#GClosure-struct"><span class="type">GClosure</span></a> *</pre>
|
||||
<p>The closure to be monitored for accelerator changes.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user