mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Corrections and additions
svn path=/trunk/; revision=18308
This commit is contained in:
parent
8c3832cf03
commit
a3b1739796
@ -1,5 +1,7 @@
|
|||||||
2007-06-30 Matthias Clasen <mclasen@redhat.com>
|
2007-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/tmpl/gtkbuilder.sgml: Some corrections and additions
|
||||||
|
|
||||||
* gtk/tmpl/gtkdialog.sgml: Explain details of GtkDialog
|
* gtk/tmpl/gtkdialog.sgml: Explain details of GtkDialog
|
||||||
as a buildable.
|
as a buildable.
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ which are more limited in scope.
|
|||||||
|
|
||||||
<!ATTLIST interface domain #IMPLIED >
|
<!ATTLIST interface domain #IMPLIED >
|
||||||
<!ATTLIST object class #REQUIRED
|
<!ATTLIST object class #REQUIRED
|
||||||
|
type-func #IMPLIED
|
||||||
id #IMPLIED
|
id #IMPLIED
|
||||||
constructor #IMPLIED >
|
constructor #IMPLIED >
|
||||||
<!ATTLIST property name #REQUIRED
|
<!ATTLIST property name #REQUIRED
|
||||||
@ -54,14 +55,43 @@ which are more limited in scope.
|
|||||||
after #IMPLIED
|
after #IMPLIED
|
||||||
object #IMPLIED >
|
object #IMPLIED >
|
||||||
<!ATTLIST child type #IMPLIED
|
<!ATTLIST child type #IMPLIED
|
||||||
internal-child #IMPLIED
|
internal-child #IMPLIED >
|
||||||
type-func #IMPLIED >
|
|
||||||
]]></programlisting>
|
]]></programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
<example>
|
||||||
|
<title>A GtkBuilder UI Definition</title>
|
||||||
|
<programlisting><![CDATA[
|
||||||
|
<interface>
|
||||||
|
<object class="GtkDialog" id="dialog1">
|
||||||
|
<child internal-child="vbox">
|
||||||
|
<object class="GtkVBox">
|
||||||
|
<property name="border-width">10</property>
|
||||||
|
<child internal-child="action_area">
|
||||||
|
<object class="GtkHButtonBox">
|
||||||
|
<property name="border-width">20</property>
|
||||||
|
<child id="ok-button">
|
||||||
|
<object class="GtkButton"/>
|
||||||
|
<property name="label">OK</property>
|
||||||
|
<property name="use-stock">TRUE</property>
|
||||||
|
<signal name="clicked" handler="ok_button_clicked"/>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
|
]]></programlisting>
|
||||||
|
</example>
|
||||||
<para>
|
<para>
|
||||||
Beyond this general structure, several object classes define
|
Beyond this general structure, several object classes define
|
||||||
their own XML DTD fragments for filling in the ANY placeholders.
|
their own XML DTD fragments for filling in the ANY placeholders.
|
||||||
|
See
|
||||||
</para>
|
</para>
|
||||||
|
<simplelist>
|
||||||
|
<member><link linkend="GtkDialog-BUILDER-UI">GtkDialog as GtkBuildable</link></member>
|
||||||
|
</simplelist>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
|
Loading…
Reference in New Issue
Block a user