New upstream version 3.24.5
This commit is contained in:
@ -142,7 +142,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="GtkInfoBar.html#gtk-info-bar-get-show-close-button" title="gtk_info_bar_get_show_close_button ()">gtk_info_bar_get_show_close_button</a> <span class="c_punctuation">()</span>
|
||||
@ -158,7 +158,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="GtkInfoBar.html#gtk-info-bar-get-revealed" title="gtk_info_bar_get_revealed ()">gtk_info_bar_get_revealed</a> <span class="c_punctuation">()</span>
|
||||
@ -190,12 +190,12 @@
|
||||
<td class="property_flags">Read / Write / Construct</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="GtkInfoBar.html#GtkInfoBar--revealed" title="The “revealed” property">revealed</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="GtkInfoBar.html#GtkInfoBar--show-close-button" title="The “show-close-button” property">show-close-button</a></td>
|
||||
<td class="property_flags">Read / Write / Construct</td>
|
||||
</tr>
|
||||
@ -212,22 +212,22 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkInfoBar.html#GtkInfoBar--s-action-area-border" title="The “action-area-border” style property">action-area-border</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkInfoBar.html#GtkInfoBar--s-button-spacing" title="The “button-spacing” style property">button-spacing</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkInfoBar.html#GtkInfoBar--s-content-area-border" title="The “content-area-border” style property">content-area-border</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkInfoBar.html#GtkInfoBar--s-content-area-spacing" title="The “content-area-spacing” style property">content-area-spacing</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -246,12 +246,12 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkInfoBar.html#GtkInfoBar-close" title="The “close” signal">close</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkInfoBar.html#GtkInfoBar-response" title="The “response” signal">response</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>
|
||||
@ -271,8 +271,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkInfoBar.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="GtkBox.html" title="GtkBox">GtkBox</a>
|
||||
@ -353,7 +353,7 @@ to determine how the message is displayed.</p>
|
||||
<span class="normal">bar </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_INFO_BAR</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">);</span>
|
||||
<span class="normal">grid </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-new">gtk_grid_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
||||
|
||||
<span class="function"><a href="GtkWidget.html#gtk-widget-set-no-show-all">gtk_widget_set_no_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
||||
<span class="function"><a href="GtkWidget.html#gtk-widget-set-no-show-all">gtk_widget_set_no_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
||||
<span class="normal">message_label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">""</span><span class="symbol">);</span>
|
||||
<span class="normal">content_area </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkInfoBar.html#gtk-info-bar-get-content-area">gtk_info_bar_get_content_area</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bar</span><span class="symbol">);</span>
|
||||
<span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">content_area</span><span class="symbol">),</span>
|
||||
@ -361,10 +361,10 @@ to determine how the message is displayed.</p>
|
||||
<span class="function"><a href="GtkInfoBar.html#gtk-info-bar-add-button">gtk_info_bar_add_button</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bar</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="string">"_OK"</span><span class="symbol">),</span>
|
||||
<span class="normal"> <a href="GtkDialog.html#GTK-RESPONSE-OK:CAPS">GTK_RESPONSE_OK</a></span><span class="symbol">);</span>
|
||||
<span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bar</span><span class="symbol">,</span>
|
||||
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bar</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="string">"response"</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkWidget.html#gtk-widget-hide">gtk_widget_hide</a></span><span class="symbol">),</span>
|
||||
<span class="normal"> NULL</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkWidget.html#gtk-widget-hide">gtk_widget_hide</a></span><span class="symbol">),</span>
|
||||
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
||||
<span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span>
|
||||
<span class="normal"> widget</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
||||
@ -418,10 +418,10 @@ gtk_info_bar_new (<em class="parameter"><code><span class="type">void</span></co
|
||||
<div class="refsect2">
|
||||
<a name="gtk-info-bar-new-with-buttons"></a><h3>gtk_info_bar_new_with_buttons ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_info_bar_new_with_buttons (<em class="parameter"><code>const <span class="type">gchar</span> *first_button_text</code></em>,
|
||||
gtk_info_bar_new_with_buttons (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> with buttons. Button text/response ID
|
||||
pairs should be listed, with a <code class="literal">NULL</code> pointer ending the list.
|
||||
pairs should be listed, with a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer ending the list.
|
||||
Button text can be either a stock ID such as <a class="link" href="gtk3-Stock-Items.html#GTK-STOCK-OK:CAPS" title="GTK_STOCK_OK"><code class="literal">GTK_STOCK_OK</code></a>, or
|
||||
some arbitrary text. A response ID can be any positive number,
|
||||
or one of the values in the <a class="link" href="GtkDialog.html#GtkResponseType" title="enum GtkResponseType"><span class="type">GtkResponseType</span></a> enumeration. If the
|
||||
@ -438,13 +438,13 @@ the “response” signal with the corresponding response ID.</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>first_button_text</p></td>
|
||||
<td class="parameter_description"><p>stock ID or text to go in first button, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>stock ID or text to go in first button, 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>...</p></td>
|
||||
<td class="parameter_description"><p>response ID for first button, then additional buttons, ending
|
||||
with <code class="literal">NULL</code></p></td>
|
||||
with <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>
|
||||
@ -461,7 +461,7 @@ with <code class="literal">NULL</code></p></td>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_add_action_widget (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> response_id</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id</code></em>);</pre>
|
||||
<p>Add an activatable widget to the action area of a <a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a>,
|
||||
connecting a signal handler that will emit the <a class="link" href="GtkInfoBar.html#GtkInfoBar-response" title="The “response” signal"><span class="type">“response”</span></a>
|
||||
signal on the message area when the widget is activated. The widget
|
||||
@ -501,8 +501,8 @@ is appended to the end of the message areas action area.</p>
|
||||
<a name="gtk-info-bar-add-button"></a><h3>gtk_info_bar_add_button ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_info_bar_add_button (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *button_text</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> response_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> *button_text</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id</code></em>);</pre>
|
||||
<p>Adds a button with the given text and sets things up so that
|
||||
clicking the button will emit the “response” signal with the given
|
||||
response_id. The button is appended to the end of the info bars's
|
||||
@ -548,10 +548,10 @@ that was added. </p>
|
||||
<a name="gtk-info-bar-add-buttons"></a><h3>gtk_info_bar_add_buttons ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_add_buttons (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_button_text</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> *first_button_text</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>Adds more buttons, same as calling <a class="link" href="GtkInfoBar.html#gtk-info-bar-add-button" title="gtk_info_bar_add_button ()"><code class="function">gtk_info_bar_add_button()</code></a>
|
||||
repeatedly. The variable argument list should be <code class="literal">NULL</code>-terminated
|
||||
repeatedly. The variable argument list should be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
||||
as with <a class="link" href="GtkInfoBar.html#gtk-info-bar-new-with-buttons" title="gtk_info_bar_new_with_buttons ()"><code class="function">gtk_info_bar_new_with_buttons()</code></a>. Each button must have both
|
||||
text and response ID.</p>
|
||||
<div class="refsect3">
|
||||
@ -576,7 +576,7 @@ text and response ID.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>response ID for first button, then more text-response_id pairs,
|
||||
ending with <code class="literal">NULL</code></p></td>
|
||||
ending with <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>
|
||||
@ -589,8 +589,8 @@ ending with <code class="literal">NULL</code></p></td>
|
||||
<a name="gtk-info-bar-set-response-sensitive"></a><h3>gtk_info_bar_set_response_sensitive ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_set_response_sensitive (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> response_id</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
||||
<p>Calls gtk_widget_set_sensitive (widget, setting) for each
|
||||
widget in the info bars’s action area with the given response_id.
|
||||
A convenient way to sensitize/desensitize dialog buttons.</p>
|
||||
@ -628,7 +628,7 @@ A convenient way to sensitize/desensitize dialog buttons.</p>
|
||||
<a name="gtk-info-bar-set-default-response"></a><h3>gtk_info_bar_set_default_response ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_set_default_response (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> response_id</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id</code></em>);</pre>
|
||||
<p>Sets the last widget in the info bar’s action area with
|
||||
the given response_id as the default widget for the dialog.
|
||||
Pressing “Enter” normally activates the default widget.</p>
|
||||
@ -664,7 +664,7 @@ be added to a widget hierarchy.</p>
|
||||
<a name="gtk-info-bar-response"></a><h3>gtk_info_bar_response ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_response (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> response_id</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id</code></em>);</pre>
|
||||
<p>Emits the “response” signal with the given <em class="parameter"><code>response_id</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -811,7 +811,7 @@ gtk_info_bar_get_content_area (<em class="parameter"><code><a class="link" href=
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-info-bar-get-show-close-button"></a><h3>gtk_info_bar_get_show_close_button ()</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_info_bar_get_show_close_button (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>);</pre>
|
||||
<p>Returns whether the widget will display a standard close button.</p>
|
||||
<div class="refsect3">
|
||||
@ -831,7 +831,7 @@ gtk_info_bar_get_show_close_button (<em class="parameter"><code><a class="link"
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-info-bar-get-show-close-button.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the widget displays standard close button</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the widget displays standard close button</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
|
||||
</div>
|
||||
@ -840,7 +840,7 @@ gtk_info_bar_get_show_close_button (<em class="parameter"><code><a class="link"
|
||||
<a name="gtk-info-bar-set-show-close-button"></a><h3>gtk_info_bar_set_show_close_button ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_set_show_close_button (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> setting</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> setting</code></em>);</pre>
|
||||
<p>If true, a standard close button is shown. When clicked it emits
|
||||
the response <a class="link" href="GtkDialog.html#GTK-RESPONSE-CLOSE:CAPS"><code class="literal">GTK_RESPONSE_CLOSE</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -859,7 +859,7 @@ the response <a class="link" href="GtkDialog.html#GTK-RESPONSE-CLOSE:CAPS"><code
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>setting</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to include a close button</p></td>
|
||||
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to include a close button</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -870,7 +870,7 @@ the response <a class="link" href="GtkDialog.html#GTK-RESPONSE-CLOSE:CAPS"><code
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-info-bar-get-revealed"></a><h3>gtk_info_bar_get_revealed ()</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_info_bar_get_revealed (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>);</pre>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-info-bar-get-revealed.parameters"></a><h4>Parameters</h4>
|
||||
@ -898,7 +898,7 @@ gtk_info_bar_get_revealed (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="gtk-info-bar-set-revealed"></a><h3>gtk_info_bar_set_revealed ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_info_bar_set_revealed (<em class="parameter"><code><a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> revealed</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> revealed</code></em>);</pre>
|
||||
<p>Sets the GtkInfoBar:revealed property to <em class="parameter"><code>revealed</code></em>
|
||||
. This will cause
|
||||
<em class="parameter"><code>info_bar</code></em>
|
||||
@ -952,7 +952,7 @@ have any effect if it is invisible.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkInfoBar--revealed"></a><h3>The <code class="literal">“revealed”</code> property</h3>
|
||||
<pre class="programlisting"> “revealed” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “revealed” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Controls whether the action bar shows its contents or not.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
@ -960,7 +960,7 @@ have any effect if it is invisible.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkInfoBar--show-close-button"></a><h3>The <code class="literal">“show-close-button”</code> property</h3>
|
||||
<pre class="programlisting"> “show-close-button” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “show-close-button” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether to include a standard close button.</p>
|
||||
<p>Flags: Read / Write / Construct</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -971,7 +971,7 @@ have any effect if it is invisible.</p>
|
||||
<a name="GtkInfoBar.style-property-details"></a><h2>Style Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkInfoBar--s-action-area-border"></a><h3>The <code class="literal">“action-area-border”</code> style property</h3>
|
||||
<pre class="programlisting"> “action-area-border” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “action-area-border” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>Width of the border around the action area of the info bar.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkInfoBar:action-area-border</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
||||
@ -985,7 +985,7 @@ have any effect if it is invisible.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkInfoBar--s-button-spacing"></a><h3>The <code class="literal">“button-spacing”</code> style property</h3>
|
||||
<pre class="programlisting"> “button-spacing” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “button-spacing” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>Spacing between buttons in the action area of the info bar.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkInfoBar:button-spacing</code> has been deprecated since version 3.6 and should not be used in newly-written code.</p>
|
||||
@ -999,7 +999,7 @@ have any effect if it is invisible.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkInfoBar--s-content-area-border"></a><h3>The <code class="literal">“content-area-border”</code> style property</h3>
|
||||
<pre class="programlisting"> “content-area-border” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “content-area-border” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The width of the border around the content
|
||||
content area of the info bar.</p>
|
||||
<div class="warning">
|
||||
@ -1014,7 +1014,7 @@ content area of the info bar.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkInfoBar--s-content-area-spacing"></a><h3>The <code class="literal">“content-area-spacing”</code> style property</h3>
|
||||
<pre class="programlisting"> “content-area-spacing” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “content-area-spacing” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The default spacing used between elements of the
|
||||
content area of the info bar.</p>
|
||||
<div class="warning">
|
||||
@ -1033,7 +1033,7 @@ content area of the info bar.</p>
|
||||
<a name="GtkInfoBar-close"></a><h3>The <code class="literal">“close”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *infobar,
|
||||
<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 ::close signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted when the user uses a keybinding to dismiss
|
||||
@ -1054,7 +1054,7 @@ the info bar.</p>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Action</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p class="since">Since: 2.18</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1062,8 +1062,8 @@ the info bar.</p>
|
||||
<a name="GtkInfoBar-response"></a><h3>The <code class="literal">“response”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkInfoBar.html" title="GtkInfoBar"><span class="type">GtkInfoBar</span></a> *info_bar,
|
||||
<span class="type">gint</span> response_id,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Emitted when an action widget is clicked or the application programmer
|
||||
calls <a class="link" href="GtkDialog.html#gtk-dialog-response" title="gtk_dialog_response ()"><code class="function">gtk_dialog_response()</code></a>. The <em class="parameter"><code>response_id</code></em>
|
||||
depends on which action
|
||||
@ -1095,7 +1095,7 @@ widget was clicked.</p>
|
||||
</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>
|
||||
<p class="since">Since: 2.18</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user