New upstream version 3.24.18
This commit is contained in:
@ -243,11 +243,11 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkToolButton.html#GtkToolButton-struct">GtkToolButton</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkToolButton.html#GtkToolButton-struct" title="struct GtkToolButton">GtkToolButton</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkToolButton.html#GtkToolButtonClass">GtkToolButtonClass</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkToolButton.html#GtkToolButtonClass" title="struct GtkToolButtonClass">GtkToolButtonClass</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -278,7 +278,7 @@ GtkToolButton implements
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkToolButton.description"></a><h2>Description</h2>
|
||||
<p><a href="https://developer.gnome.org/gtk4/GtkToolButton.html#GtkToolButton-struct"><span class="type">GtkToolButtons</span></a> are <a href="https://developer.gnome.org/gtk4/GtkToolItem.html#GtkToolItem-struct"><span class="type">GtkToolItems</span></a> containing buttons.</p>
|
||||
<p><a href="GtkToolButton.html#GtkToolButton-struct"><span class="type">GtkToolButtons</span></a> are <a href="GtkToolItem.html#GtkToolItem-struct"><span class="type">GtkToolItems</span></a> containing buttons.</p>
|
||||
<p>Use <a class="link" href="GtkToolButton.html#gtk-tool-button-new" title="gtk_tool_button_new ()"><code class="function">gtk_tool_button_new()</code></a> to create a new <a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a>.</p>
|
||||
<p>The label of a <a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a> is determined by the properties
|
||||
<a class="link" href="GtkToolButton.html#GtkToolButton--label-widget" title="The “label-widget” property"><span class="type">“label-widget”</span></a>, <a class="link" href="GtkToolButton.html#GtkToolButton--label" title="The “label” property"><span class="type">“label”</span></a>, and
|
||||
@ -348,8 +348,8 @@ gtk_tool_button_new_from_stock (<em class="parameter"><code>const <span class="t
|
||||
<a class="link" href="GtkImage.html#gtk-image-new-from-icon-name" title="gtk_image_new_from_icon_name ()"><code class="function">gtk_image_new_from_icon_name()</code></a> instead.</p>
|
||||
</div>
|
||||
<p>Creates a new <a class="link" href="GtkToolButton.html" title="GtkToolButton"><span class="type">GtkToolButton</span></a> containing the image and text from a
|
||||
stock item. Some stock ids have preprocessor macros like <span class="type">GTK_STOCK_OK</span>
|
||||
and <span class="type">GTK_STOCK_APPLY</span>.</p>
|
||||
stock item. Some stock ids have preprocessor macros like <a class="link" href="gtk3-Stock-Items.html#GTK-STOCK-OK:CAPS" title="GTK_STOCK_OK"><span class="type">GTK_STOCK_OK</span></a>
|
||||
and <a class="link" href="gtk3-Stock-Items.html#GTK-STOCK-APPLY:CAPS" title="GTK_STOCK_APPLY"><span class="type">GTK_STOCK_APPLY</span></a>.</p>
|
||||
<p>It is an error if <em class="parameter"><code>stock_id</code></em>
|
||||
is not a name of a stock item.</p>
|
||||
<div class="refsect3">
|
||||
@ -785,6 +785,49 @@ on <em class="parameter"><code>button</code></em>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkToolButton.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolButton-struct"></a><h3>struct GtkToolButton</h3>
|
||||
<pre class="programlisting">struct GtkToolButton;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolButtonClass"></a><h3>struct GtkToolButtonClass</h3>
|
||||
<pre class="programlisting">struct GtkToolButtonClass {
|
||||
GtkToolItemClass parent_class;
|
||||
|
||||
GType button_type;
|
||||
|
||||
/* signal */
|
||||
void (* clicked) (GtkToolButton *tool_item);
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkToolButtonClass.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">GType</span> <em class="structfield"><code><a name="GtkToolButtonClass.button-type"></a>button_type</code></em>;</p></td>
|
||||
<td class="struct_member_description"> </td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolButtonClass.clicked"></a>clicked</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the tool button is clicked with the
|
||||
mouse or activated with the keyboard.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkToolButton.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolButton--icon-name"></a><h3>The <code class="literal">“icon-name”</code> property</h3>
|
||||
|
||||
Reference in New Issue
Block a user