New upstream version 3.24.5
This commit is contained in:
@ -61,7 +61,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="GtkToolItem.html#gtk-tool-item-get-homogeneous" title="gtk_tool_item_get_homogeneous ()">gtk_tool_item_get_homogeneous</a> <span class="c_punctuation">()</span>
|
||||
@ -77,7 +77,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="GtkToolItem.html#gtk-tool-item-get-expand" title="gtk_tool_item_get_expand ()">gtk_tool_item_get_expand</a> <span class="c_punctuation">()</span>
|
||||
@ -109,7 +109,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="GtkToolItem.html#gtk-tool-item-get-use-drag-window" title="gtk_tool_item_get_use_drag_window ()">gtk_tool_item_get_use_drag_window</a> <span class="c_punctuation">()</span>
|
||||
@ -125,7 +125,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="GtkToolItem.html#gtk-tool-item-get-visible-horizontal" title="gtk_tool_item_get_visible_horizontal ()">gtk_tool_item_get_visible_horizontal</a> <span class="c_punctuation">()</span>
|
||||
@ -141,7 +141,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="GtkToolItem.html#gtk-tool-item-get-visible-vertical" title="gtk_tool_item_get_visible_vertical ()">gtk_tool_item_get_visible_vertical</a> <span class="c_punctuation">()</span>
|
||||
@ -157,7 +157,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="GtkToolItem.html#gtk-tool-item-get-is-important" title="gtk_tool_item_get_is_important ()">gtk_tool_item_get_is_important</a> <span class="c_punctuation">()</span>
|
||||
@ -205,7 +205,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gfloat</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-alignment" title="gtk_tool_item_get_text_alignment ()">gtk_tool_item_get_text_alignment</a> <span class="c_punctuation">()</span>
|
||||
@ -280,17 +280,17 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkToolItem.html#GtkToolItem--is-important" title="The “is-important” property">is-important</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkToolItem.html#GtkToolItem--visible-horizontal" title="The “visible-horizontal” property">visible-horizontal</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkToolItem.html#GtkToolItem--visible-vertical" title="The “visible-vertical” property">visible-vertical</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -307,14 +307,14 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_name"><a class="link" href="GtkToolItem.html#GtkToolItem-create-menu-proxy" title="The “create-menu-proxy” signal">create-menu-proxy</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkToolItem.html#GtkToolItem-toolbar-reconfigured" title="The “toolbar-reconfigured” signal">toolbar-reconfigured</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -340,8 +340,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkToolItem.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>
|
||||
@ -390,7 +390,7 @@ gtk_tool_item_new (<em class="parameter"><code><span class="type">void</span></c
|
||||
<a name="gtk-tool-item-set-homogeneous"></a><h3>gtk_tool_item_set_homogeneous ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_homogeneous (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> homogeneous</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> homogeneous</code></em>);</pre>
|
||||
<p>Sets whether <em class="parameter"><code>tool_item</code></em>
|
||||
is to be allocated the same size as other
|
||||
homogeneous items. The effect is that all homogeneous items will have
|
||||
@ -423,7 +423,7 @@ is the same size as other homogeneous items</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-homogeneous"></a><h3>gtk_tool_item_get_homogeneous ()</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_tool_item_get_homogeneous (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns whether <em class="parameter"><code>tool_item</code></em>
|
||||
is the same size as other homogeneous
|
||||
@ -445,7 +445,7 @@ items. See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-homogeneous"
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-item-get-homogeneous.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the item is the same size as other homogeneous
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the item is the same size as other homogeneous
|
||||
items.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -455,7 +455,7 @@ items.</p>
|
||||
<a name="gtk-tool-item-set-expand"></a><h3>gtk_tool_item_set_expand ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_expand (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> expand</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre>
|
||||
<p>Sets whether <em class="parameter"><code>tool_item</code></em>
|
||||
is allocated extra space when there
|
||||
is more room on the toolbar then needed for the items. The
|
||||
@ -489,7 +489,7 @@ is allocated extra space</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-expand"></a><h3>gtk_tool_item_get_expand ()</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_tool_item_get_expand (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns whether <em class="parameter"><code>tool_item</code></em>
|
||||
is allocated extra space.
|
||||
@ -511,7 +511,7 @@ See <a class="link" href="GtkToolItem.html#gtk-tool-item-set-expand" title="gtk_
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-item-get-expand.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tool_item</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em>
|
||||
is allocated extra space.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -521,7 +521,7 @@ is allocated extra space.</p>
|
||||
<a name="gtk-tool-item-set-tooltip-text"></a><h3>gtk_tool_item_set_tooltip_text ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_tooltip_text (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</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 text to be displayed as tooltip on the item.
|
||||
See <a class="link" href="GtkWidget.html#gtk-widget-set-tooltip-text" title="gtk_widget_set_tooltip_text ()"><code class="function">gtk_widget_set_tooltip_text()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -554,7 +554,7 @@ See <a class="link" href="GtkWidget.html#gtk-widget-set-tooltip-text" title="gtk
|
||||
<a name="gtk-tool-item-set-tooltip-markup"></a><h3>gtk_tool_item_set_tooltip_markup ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_tooltip_markup (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</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 markup text to be displayed as tooltip on the item.
|
||||
See <a class="link" href="GtkWidget.html#gtk-widget-set-tooltip-markup" title="gtk_widget_set_tooltip_markup ()"><code class="function">gtk_widget_set_tooltip_markup()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -587,9 +587,9 @@ See <a class="link" href="GtkWidget.html#gtk-widget-set-tooltip-markup" title="g
|
||||
<a name="gtk-tool-item-set-use-drag-window"></a><h3>gtk_tool_item_set_use_drag_window ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_use_drag_window (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> use_drag_window</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_drag_window</code></em>);</pre>
|
||||
<p>Sets whether <em class="parameter"><code>tool_item</code></em>
|
||||
has a drag window. When <code class="literal">TRUE</code> the
|
||||
has a drag window. When <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the
|
||||
toolitem can be used as a drag source through <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-source-set" title="gtk_drag_source_set ()"><code class="function">gtk_drag_source_set()</code></a>.
|
||||
When <em class="parameter"><code>tool_item</code></em>
|
||||
has a drag window it will intercept all events,
|
||||
@ -623,7 +623,7 @@ has a drag window.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-use-drag-window"></a><h3>gtk_tool_item_get_use_drag_window ()</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_tool_item_get_use_drag_window (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns whether <em class="parameter"><code>tool_item</code></em>
|
||||
has a drag window. See
|
||||
@ -645,7 +645,7 @@ gtk_tool_item_get_use_drag_window (<em class="parameter"><code><a class="link" h
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-item-get-use-drag-window.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tool_item</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em>
|
||||
uses a drag window.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -655,7 +655,7 @@ uses a drag window.</p>
|
||||
<a name="gtk-tool-item-set-visible-horizontal"></a><h3>gtk_tool_item_set_visible_horizontal ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_visible_horizontal (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> visible_horizontal</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_horizontal</code></em>);</pre>
|
||||
<p>Sets whether <em class="parameter"><code>tool_item</code></em>
|
||||
is visible when the toolbar is docked horizontally.</p>
|
||||
<div class="refsect3">
|
||||
@ -686,7 +686,7 @@ is visible when in horizontal mode</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-visible-horizontal"></a><h3>gtk_tool_item_get_visible_horizontal ()</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_tool_item_get_visible_horizontal (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns whether the <em class="parameter"><code>tool_item</code></em>
|
||||
is visible on toolbars that are
|
||||
@ -708,7 +708,7 @@ docked horizontally.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-item-get-visible-horizontal.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tool_item</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em>
|
||||
is visible on toolbars that are
|
||||
docked horizontally.</p>
|
||||
</div>
|
||||
@ -719,12 +719,12 @@ docked horizontally.</p>
|
||||
<a name="gtk-tool-item-set-visible-vertical"></a><h3>gtk_tool_item_set_visible_vertical ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_visible_vertical (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> visible_vertical</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible_vertical</code></em>);</pre>
|
||||
<p>Sets whether <em class="parameter"><code>tool_item</code></em>
|
||||
is visible when the toolbar is docked
|
||||
vertically. Some tool items, such as text entries, are too wide to be
|
||||
useful on a vertically docked toolbar. If <em class="parameter"><code>visible_vertical</code></em>
|
||||
is <code class="literal">FALSE</code>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
||||
<em class="parameter"><code>tool_item</code></em>
|
||||
will not appear on toolbars that are docked vertically.</p>
|
||||
<div class="refsect3">
|
||||
@ -756,7 +756,7 @@ is in vertical mode</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-visible-vertical"></a><h3>gtk_tool_item_get_visible_vertical ()</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_tool_item_get_visible_vertical (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns whether <em class="parameter"><code>tool_item</code></em>
|
||||
is visible when the toolbar is docked vertically.
|
||||
@ -788,7 +788,7 @@ is visible when the toolbar is docked vertically</p>
|
||||
<a name="gtk-tool-item-set-is-important"></a><h3>gtk_tool_item_set_is_important ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_is_important (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> is_important</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_important</code></em>);</pre>
|
||||
<p>Sets whether <em class="parameter"><code>tool_item</code></em>
|
||||
should be considered important. The <a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a>
|
||||
class uses this property to determine whether to show or hide its label
|
||||
@ -822,7 +822,7 @@ effect known as “priority text”</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-is-important"></a><h3>gtk_tool_item_get_is_important ()</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_tool_item_get_is_important (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns whether <em class="parameter"><code>tool_item</code></em>
|
||||
is considered important. See
|
||||
@ -844,7 +844,7 @@ gtk_tool_item_get_is_important (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-item-get-is-important.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>tool_item</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tool_item</code></em>
|
||||
is considered important.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -1023,7 +1023,7 @@ for <em class="parameter"><code>tool_item</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-item-get-text-alignment"></a><h3>gtk_tool_item_get_text_alignment ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gfloat</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>
|
||||
gtk_tool_item_get_text_alignment (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>);</pre>
|
||||
<p>Returns the text alignment used for <em class="parameter"><code>tool_item</code></em>
|
||||
. Custom subclasses of
|
||||
@ -1046,7 +1046,7 @@ be aligned.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-item-get-text-alignment.returns"></a><h4>Returns</h4>
|
||||
<p> a <span class="type">gfloat</span> indicating the horizontal text alignment
|
||||
<p> a <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> indicating the horizontal text alignment
|
||||
used for <em class="parameter"><code>tool_item</code></em>
|
||||
</p>
|
||||
</div>
|
||||
@ -1122,7 +1122,7 @@ overflow menu for <em class="parameter"><code>tool_item</code></em>
|
||||
<a name="gtk-tool-item-get-proxy-menu-item"></a><h3>gtk_tool_item_get_proxy_menu_item ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_tool_item_get_proxy_menu_item (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *menu_item_id</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> *menu_item_id</code></em>);</pre>
|
||||
<p>If <em class="parameter"><code>menu_item_id</code></em>
|
||||
matches the string passed to
|
||||
<a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> return the corresponding <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>.</p>
|
||||
@ -1167,7 +1167,7 @@ match. </p>
|
||||
<a name="gtk-tool-item-set-proxy-menu-item"></a><h3>gtk_tool_item_set_proxy_menu_item ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tool_item_set_proxy_menu_item (<em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *menu_item_id</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> *menu_item_id</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *menu_item</code></em>);</pre>
|
||||
<p>Sets the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> used in the toolbar overflow menu. The
|
||||
<em class="parameter"><code>menu_item_id</code></em>
|
||||
@ -1196,7 +1196,7 @@ should also be used with <a class="link" href="GtkToolItem.html#gtk-tool-item-ge
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>menu_item</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to use in the overflow menu, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to use in the overflow menu, 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>
|
||||
@ -1341,7 +1341,7 @@ toolbar that the item is a child of changes.</p></td>
|
||||
<a name="GtkToolItem.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolItem--is-important"></a><h3>The <code class="literal">“is-important”</code> property</h3>
|
||||
<pre class="programlisting"> “is-important” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “is-important” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -1349,7 +1349,7 @@ toolbar that the item is a child of changes.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolItem--visible-horizontal"></a><h3>The <code class="literal">“visible-horizontal”</code> property</h3>
|
||||
<pre class="programlisting"> “visible-horizontal” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “visible-horizontal” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether the toolbar item is visible when the toolbar is in a horizontal orientation.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -1357,7 +1357,7 @@ toolbar that the item is a child of changes.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolItem--visible-vertical"></a><h3>The <code class="literal">“visible-vertical”</code> property</h3>
|
||||
<pre class="programlisting"> “visible-vertical” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “visible-vertical” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether the toolbar item is visible when the toolbar is in a vertical orientation.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -1367,20 +1367,20 @@ toolbar that the item is a child of changes.</p></td>
|
||||
<a name="GtkToolItem.signal-details"></a><h2>Signal Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolItem-create-menu-proxy"></a><h3>The <code class="literal">“create-menu-proxy”</code> signal</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>
|
||||
user_function (<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item,
|
||||
<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>This signal is emitted when the toolbar needs information from <em class="parameter"><code>tool_item</code></em>
|
||||
|
||||
about whether the item should appear in the toolbar overflow menu. In
|
||||
response the tool item should either</p>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
||||
<li class="listitem"><p>call <a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> with a <code class="literal">NULL</code>
|
||||
pointer and return <code class="literal">TRUE</code> to indicate that the item should not appear
|
||||
<li class="listitem"><p>call <a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> with a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
pointer and return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to indicate that the item should not appear
|
||||
in the overflow menu</p></li>
|
||||
<li class="listitem"><p>call <a class="link" href="GtkToolItem.html#gtk-tool-item-set-proxy-menu-item" title="gtk_tool_item_set_proxy_menu_item ()"><code class="function">gtk_tool_item_set_proxy_menu_item()</code></a> with a new menu
|
||||
item and return <code class="literal">TRUE</code>, or </p></li>
|
||||
<li class="listitem"><p>return <code class="literal">FALSE</code> to indicate that the signal was not handled by the item.
|
||||
item and return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, or </p></li>
|
||||
<li class="listitem"><p>return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to indicate that the signal was not handled by the item.
|
||||
This means that the item will not appear in the overflow menu unless
|
||||
a later handler installs a menu item.</p></li>
|
||||
</ul></div>
|
||||
@ -1412,16 +1412,16 @@ menu.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkToolItem-create-menu-proxy.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the signal was handled, <code class="literal">FALSE</code> if not</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal was handled, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</p>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolItem-toolbar-reconfigured"></a><h3>The <code class="literal">“toolbar-reconfigured”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *tool_item,
|
||||
<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>This signal is emitted when some property of the toolbar that the
|
||||
item is a child of changes. For custom subclasses of <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>,
|
||||
the default handler of this signal use the functions</p>
|
||||
@ -1455,7 +1455,7 @@ themselves accordingly.</p></li>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
|
Reference in New Issue
Block a user