New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="ButtonWidgets.html" title="Buttons and Toggles">
|
||||
<link rel="prev" href="ButtonWidgets.html" title="Buttons and Toggles">
|
||||
<link rel="next" href="GtkCheckButton.html" title="GtkCheckButton">
|
||||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -40,8 +40,8 @@
|
||||
<a name="GtkButton.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
<col width="150px" class="functions_proto_type">
|
||||
<col class="functions_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -134,7 +134,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkButton.html#gtk-button-get-relief" title="gtk_button_get_relief ()">gtk_button_get_relief</a> <span class="c_punctuation">()</span>
|
||||
@ -245,7 +245,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="returnvalue">GtkPositionType</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPositionType"><span class="returnvalue">GtkPositionType</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkButton.html#gtk-button-get-image-position" title="gtk_button_get_image_position ()">gtk_button_get_image_position</a> <span class="c_punctuation">()</span>
|
||||
@ -299,7 +299,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkButton.html#GtkButton--image-position" title="The “image-position” property">image-position</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -310,7 +310,7 @@
|
||||
<td class="property_flags">Read / Write / Construct</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="type">GtkReliefStyle</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkButton.html#GtkButton--relief" title="The “relief” property">relief</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -391,9 +391,9 @@
|
||||
<a name="GtkButton.signals"></a><h2>Signals</h2>
|
||||
<div class="informaltable"><table class="informaltable" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="signals_return">
|
||||
<col width="300px" class="signals_name">
|
||||
<col width="200px" class="signals_flags">
|
||||
<col width="150px" class="signal_proto_type">
|
||||
<col width="300px" class="signal_proto_name">
|
||||
<col width="200px" class="signal_proto_flags">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -433,17 +433,17 @@
|
||||
<a name="GtkButton.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
<col width="150px" class="other_proto_type">
|
||||
<col class="other_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkButton.html#GtkButton-struct" title="struct GtkButton">GtkButton</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkButton.html#GtkButton-struct">GtkButton</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkButton.html#GtkButtonClass" title="struct GtkButtonClass">GtkButtonClass</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkButton.html#GtkButtonClass">GtkButtonClass</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -576,7 +576,7 @@ mnemonic character</p></td>
|
||||
<a name="gtk-button-new-from-icon-name"></a><h3>gtk_button_new_from_icon_name ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_button_new_from_icon_name (<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
|
||||
<p>Creates a new button containing an icon from the current icon theme.</p>
|
||||
<p>If the icon name isn’t known, a “broken image” icon will be
|
||||
displayed instead. If the current icon theme is changed, the icon
|
||||
@ -599,7 +599,7 @@ will be updated appropriately.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>size</p></td>
|
||||
<td class="parameter_description"><p>an icon size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>). </p></td>
|
||||
<td class="parameter_description"><p>an icon size (<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkIconSize"><span class="type">GtkIconSize</span></a>). </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> int]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -623,8 +623,8 @@ instead.</p>
|
||||
</div>
|
||||
<p>Creates a new <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> containing the image and text from a
|
||||
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>
|
||||
Some stock ids have preprocessor macros like <span class="type">GTK_STOCK_OK</span> and
|
||||
<span class="type">GTK_STOCK_APPLY</span>.</p>
|
||||
<p>If <em class="parameter"><code>stock_id</code></em>
|
||||
is unknown, then it will be treated as a mnemonic
|
||||
label (as for <a class="link" href="GtkButton.html#gtk-button-new-with-mnemonic" title="gtk_button_new_with_mnemonic ()"><code class="function">gtk_button_new_with_mnemonic()</code></a>).</p>
|
||||
@ -779,12 +779,12 @@ gtk_button_leave (<em class="parameter"><code><a class="link" href="GtkButton.ht
|
||||
<a name="gtk-button-set-relief"></a><h3>gtk_button_set_relief ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_button_set_relief (<em class="parameter"><code><a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> relief</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> relief</code></em>);</pre>
|
||||
<p>Sets the relief style of the edges of the given <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> widget.
|
||||
Two styles exist, <a class="link" href="gtk3-Standard-Enumerations.html#GTK-RELIEF-NORMAL:CAPS"><code class="literal">GTK_RELIEF_NORMAL</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-RELIEF-NONE:CAPS"><code class="literal">GTK_RELIEF_NONE</code></a>.
|
||||
The default style is, as one can guess, <a class="link" href="gtk3-Standard-Enumerations.html#GTK-RELIEF-NORMAL:CAPS"><code class="literal">GTK_RELIEF_NORMAL</code></a>.
|
||||
The deprecated value <a class="link" href="gtk3-Standard-Enumerations.html#GTK-RELIEF-HALF:CAPS"><code class="literal">GTK_RELIEF_HALF</code></a> behaves the same as
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-RELIEF-NORMAL:CAPS"><code class="literal">GTK_RELIEF_NORMAL</code></a>.</p>
|
||||
Two styles exist, <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-RELIEF-NORMAL:CAPS"><code class="literal">GTK_RELIEF_NORMAL</code></a> and <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-RELIEF-NONE:CAPS"><code class="literal">GTK_RELIEF_NONE</code></a>.
|
||||
The default style is, as one can guess, <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-RELIEF-NORMAL:CAPS"><code class="literal">GTK_RELIEF_NORMAL</code></a>.
|
||||
The deprecated value <code class="literal">GTK_RELIEF_HALF</code> behaves the same as
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-RELIEF-NORMAL:CAPS"><code class="literal">GTK_RELIEF_NORMAL</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-button-set-relief.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -811,7 +811,7 @@ The deprecated value <a class="link" href="gtk3-Standard-Enumerations.html#GTK-R
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-button-get-relief"></a><h3>gtk_button_get_relief ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
gtk_button_get_relief (<em class="parameter"><code><a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> *button</code></em>);</pre>
|
||||
<p>Returns the current relief style of the given <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -824,14 +824,14 @@ gtk_button_get_relief (<em class="parameter"><code><a class="link" href="GtkButt
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>button</p></td>
|
||||
<td class="parameter_description"><p>The <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> you want the <a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> from.</p></td>
|
||||
<td class="parameter_description"><p>The <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> you want the <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> from.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-button-get-relief.returns"></a><h4>Returns</h4>
|
||||
<p> The current <a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a></p>
|
||||
<p> The current <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="type">GtkReliefStyle</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1250,7 +1250,7 @@ there is no image. </p>
|
||||
<a name="gtk-button-set-image-position"></a><h3>gtk_button_set_image_position ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_button_set_image_position (<em class="parameter"><code><a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a> position</code></em>);</pre>
|
||||
<p>Sets the position of the image relative to the text
|
||||
inside the button.</p>
|
||||
<div class="refsect3">
|
||||
@ -1280,7 +1280,7 @@ inside the button.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-button-get-image-position"></a><h3>gtk_button_get_image_position ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="returnvalue">GtkPositionType</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPositionType"><span class="returnvalue">GtkPositionType</span></a>
|
||||
gtk_button_get_image_position (<em class="parameter"><code><a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a> *button</code></em>);</pre>
|
||||
<p>Gets the position of the image relative to the text
|
||||
inside the button.</p>
|
||||
@ -1399,74 +1399,6 @@ This function should be rarely needed.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkButton.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkButton-struct"></a><h3>struct GtkButton</h3>
|
||||
<pre class="programlisting">struct GtkButton;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkButtonClass"></a><h3>struct GtkButtonClass</h3>
|
||||
<pre class="programlisting">struct GtkButtonClass {
|
||||
GtkBinClass parent_class;
|
||||
|
||||
|
||||
void (* pressed) (GtkButton *button);
|
||||
void (* released) (GtkButton *button);
|
||||
void (* clicked) (GtkButton *button);
|
||||
void (* enter) (GtkButton *button);
|
||||
void (* leave) (GtkButton *button);
|
||||
void (* activate) (GtkButton *button);
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkButtonClass.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><em class="structfield"><code><a name="GtkButtonClass.pressed"></a>pressed</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the button is pressed. Deprecated: 2.8.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkButtonClass.released"></a>released</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the button is released. Deprecated: 2.8.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkButtonClass.clicked"></a>clicked</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the button has been activated (pressed and released).</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkButtonClass.enter"></a>enter</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the pointer enters the button. Deprecated: 2.8.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkButtonClass.leave"></a>leave</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted when the pointer leaves the button. Deprecated: 2.8.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkButtonClass.activate"></a>activate</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal that causes the button to animate press then
|
||||
release. Applications should never connect to this signal, but use
|
||||
the <em class="parameter"><code>clicked</code></em>
|
||||
signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkButton.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkButton--always-show-image"></a><h3>The <code class="literal">“always-show-image”</code> property</h3>
|
||||
@ -1475,6 +1407,7 @@ signal.</p></td>
|
||||
setting and always show the image, if available.</p>
|
||||
<p>Use this property if the button would be useless or hard to use
|
||||
without the image.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write / Construct</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
@ -1484,14 +1417,16 @@ without the image.</p>
|
||||
<a name="GtkButton--image"></a><h3>The <code class="literal">“image”</code> property</h3>
|
||||
<pre class="programlisting"> “image” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
||||
<p>The child widget to appear next to the button text.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p class="since">Since: 2.6</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkButton--image-position"></a><h3>The <code class="literal">“image-position”</code> property</h3>
|
||||
<pre class="programlisting"> “image-position” <a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a></pre>
|
||||
<pre class="programlisting"> “image-position” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPositionType"><span class="type">GtkPositionType</span></a></pre>
|
||||
<p>The position of the image relative to the text inside the button.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_POS_LEFT</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -1501,14 +1436,16 @@ without the image.</p>
|
||||
<a name="GtkButton--label"></a><h3>The <code class="literal">“label”</code> property</h3>
|
||||
<pre class="programlisting"> “label” <span class="type">gchar</span> *</pre>
|
||||
<p>Text of the label widget inside the button, if the button contains a label widget.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write / Construct</p>
|
||||
<p>Default value: NULL</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkButton--relief"></a><h3>The <code class="literal">“relief”</code> property</h3>
|
||||
<pre class="programlisting"> “relief” <a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a></pre>
|
||||
<pre class="programlisting"> “relief” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="type">GtkReliefStyle</span></a></pre>
|
||||
<p>The border relief style.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_RELIEF_NORMAL</p>
|
||||
</div>
|
||||
@ -1518,6 +1455,7 @@ without the image.</p>
|
||||
<pre class="programlisting"> “use-stock” <span class="type">gboolean</span></pre>
|
||||
<p>If set, the label is used to pick a stock item instead of being displayed.</p>
|
||||
<div class="warning"><p><code class="literal">GtkButton:use-stock</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write / Construct</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -1526,6 +1464,7 @@ without the image.</p>
|
||||
<a name="GtkButton--use-underline"></a><h3>The <code class="literal">“use-underline”</code> property</h3>
|
||||
<pre class="programlisting"> “use-underline” <span class="type">gboolean</span></pre>
|
||||
<p>If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write / Construct</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -1543,6 +1482,7 @@ can be used to control its horizontal alignment. 0.0 is left aligned,
|
||||
<p>Access the child widget directly if you need to control
|
||||
its alignment.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,1]</p>
|
||||
<p>Default value: 0.5</p>
|
||||
@ -1562,6 +1502,7 @@ can be used to control its vertical alignment. 0.0 is top aligned,
|
||||
<p>Access the child widget directly if you need to control
|
||||
its alignment.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,1]</p>
|
||||
<p>Default value: 0.5</p>
|
||||
@ -1579,6 +1520,7 @@ its alignment.</p>
|
||||
<p>Use CSS margins and padding instead;
|
||||
the value of this style property is ignored.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: 0</p>
|
||||
</div>
|
||||
@ -1592,6 +1534,7 @@ its alignment.</p>
|
||||
<p>Use CSS margins and padding instead;
|
||||
the value of this style property is ignored.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: 0</p>
|
||||
</div>
|
||||
@ -1607,6 +1550,7 @@ For more information about default widgets, see <a class="link" href="GtkWidget.
|
||||
<p>Use CSS margins and padding instead;
|
||||
the value of this style property is ignored.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1622,6 +1566,7 @@ For more information about default widgets, see <a class="link" href="GtkWidget.
|
||||
<p>Use CSS margins and padding instead;
|
||||
the value of this style property is ignored.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1635,6 +1580,7 @@ should also affect the focus rectangle.</p>
|
||||
<p>Use CSS margins and padding instead;
|
||||
the value of this style property is ignored.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: 2.6</p>
|
||||
@ -1644,6 +1590,7 @@ should also affect the focus rectangle.</p>
|
||||
<a name="GtkButton--s-image-spacing"></a><h3>The <code class="literal">“image-spacing”</code> style property</h3>
|
||||
<pre class="programlisting"> “image-spacing” <span class="type">gint</span></pre>
|
||||
<p>Spacing in pixels between the image and label.</p>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 2</p>
|
||||
@ -1658,6 +1605,7 @@ should also affect the focus rectangle.</p>
|
||||
<p>Use the standard border and padding CSS properties;
|
||||
the value of this style property is ignored.</p>
|
||||
</div>
|
||||
<p>Owner: GtkButton</p>
|
||||
<p>Flags: Read</p>
|
||||
<p class="since">Since: 2.10</p>
|
||||
</div>
|
||||
@ -1872,6 +1820,6 @@ user_function (<a class="link" href="GtkButton.html" title="GtkButton"><span cla
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.29</div>
|
||||
<hr>Generated by GTK-Doc V1.32.1</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user