New upstream version 3.24.5
This commit is contained in:
@ -121,7 +121,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkMenuToolButton.html#GtkMenuToolButton-show-menu" title="The “show-menu” signal">show-menu</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -146,8 +146,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkMenuToolButton.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="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -208,7 +208,7 @@ of a <child> element.</p>
|
||||
<a name="gtk-menu-tool-button-new"></a><h3>gtk_menu_tool_button_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *
|
||||
gtk_menu_tool_button_new (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *icon_widget</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
|
||||
<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>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><span class="type">GtkMenuToolButton</span></a> using <em class="parameter"><code>icon_widget</code></em>
|
||||
as icon and
|
||||
<em class="parameter"><code>label</code></em>
|
||||
@ -224,12 +224,12 @@ gtk_menu_tool_button_new (<em class="parameter"><code><a class="link" href="GtkW
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icon_widget</p></td>
|
||||
<td class="parameter_description"><p>a widget that will be used as icon widget, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>a widget that will be used as icon widget, 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>label</p></td>
|
||||
<td class="parameter_description"><p>a string that will be used as label, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>a string that will be used as label, 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>
|
||||
</tbody>
|
||||
@ -245,7 +245,7 @@ gtk_menu_tool_button_new (<em class="parameter"><code><a class="link" href="GtkW
|
||||
<div class="refsect2">
|
||||
<a name="gtk-menu-tool-button-new-from-stock"></a><h3>gtk_menu_tool_button_new_from_stock ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *
|
||||
gtk_menu_tool_button_new_from_stock (<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);</pre>
|
||||
gtk_menu_tool_button_new_from_stock (<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>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_menu_tool_button_new_from_stock</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkMenuToolButton.html#gtk-menu-tool-button-new" title="gtk_menu_tool_button_new ()"><code class="function">gtk_menu_tool_button_new()</code></a> instead.</p>
|
||||
@ -343,7 +343,7 @@ with <a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><sp
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_menu_tool_button_set_arrow_tooltip_text
|
||||
(<em class="parameter"><code><a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><span class="type">GtkMenuToolButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
|
||||
<p>Sets the tooltip text to be used as tooltip for the arrow button which
|
||||
pops up the menu. See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip-text" title="gtk_tool_item_set_tooltip_text ()"><code class="function">gtk_tool_item_set_tooltip_text()</code></a> for setting a tooltip
|
||||
on the whole <a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><span class="type">GtkMenuToolButton</span></a>.</p>
|
||||
@ -377,7 +377,7 @@ on the whole <a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolBut
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_menu_tool_button_set_arrow_tooltip_markup
|
||||
(<em class="parameter"><code><a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><span class="type">GtkMenuToolButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>);</pre>
|
||||
<p>Sets the tooltip markup text to be used as tooltip for the arrow button
|
||||
which pops up the menu. See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-tooltip-text" title="gtk_tool_item_set_tooltip_text ()"><code class="function">gtk_tool_item_set_tooltip_text()</code></a> for setting
|
||||
a tooltip on the whole <a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><span class="type">GtkMenuToolButton</span></a>.</p>
|
||||
@ -454,7 +454,7 @@ a tooltip on the whole <a class="link" href="GtkMenuToolButton.html" title="GtkM
|
||||
<a name="GtkMenuToolButton-show-menu"></a><h3>The <code class="literal">“show-menu”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkMenuToolButton.html" title="GtkMenuToolButton"><span class="type">GtkMenuToolButton</span></a> *button,
|
||||
<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 ::show-menu signal is emitted before the menu is shown.</p>
|
||||
<p>It can be used to populate the menu on demand, using
|
||||
<a class="link" href="GtkMenuToolButton.html#gtk-menu-tool-button-set-menu" title="gtk_menu_tool_button_set_menu ()"><code class="function">gtk_menu_tool_button_set_menu()</code></a>.</p>
|
||||
@ -483,7 +483,7 @@ since the arrow is made insensitive if the menu is not set.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run First</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
|
Reference in New Issue
Block a user