New upstream version 3.24.31
This commit is contained in:
@ -431,18 +431,18 @@ in the dialog.</p>
|
||||
and <em class="parameter"><code>action_area</code></em>
|
||||
as internal children with the names “vbox” and
|
||||
“action_area”.</p>
|
||||
<p>GtkDialog supports a custom <action-widgets> element, which can contain
|
||||
multiple <action-widget> elements. The “response” attribute specifies a
|
||||
<p>GtkDialog supports a custom <code class="literal"><action-widgets></code> element, which can contain
|
||||
multiple <code class="literal"><action-widget></code> elements. The “response” attribute specifies a
|
||||
numeric response, and the content of the element is the id of widget
|
||||
(which should be a child of the dialogs <em class="parameter"><code>action_area</code></em>
|
||||
). To mark a response
|
||||
as default, set the “default“ attribute of the <action-widget> element
|
||||
as default, set the “default“ attribute of the <code class="literal"><action-widget></code> element
|
||||
to true.</p>
|
||||
<p>GtkDialog supports adding action widgets by specifying “action“ as
|
||||
the “type“ attribute of a <child> element. The widget will be added
|
||||
the “type“ attribute of a <code class="literal"><child></code> element. The widget will be added
|
||||
either to the action area or the headerbar of the dialog, depending
|
||||
on the “use-header-bar“ property. The response id has to be associated
|
||||
with the action widget using the <action-widgets> element.</p>
|
||||
with the action widget using the <code class="literal"><action-widgets></code> element.</p>
|
||||
<p>An example of a <a class="link" href="GtkDialog.html" title="GtkDialog"><span class="type">GtkDialog</span></a> UI definition fragment:</p>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
|
||||
Reference in New Issue
Block a user