diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-09-07 20:03:22 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-09-07 20:03:22 +0000 |
commit | 1a869c046a022bef25bba9f054ce7d93e6ee19cc (patch) | |
tree | b1a43e2e1992715c0811f194e4d5371a7f8786d4 /docs | |
parent | 1e8598508370616825c165c4b3e03da66d35cbf6 (diff) | |
download | gdk-pixbuf-1a869c046a022bef25bba9f054ce7d93e6ee19cc.tar.gz |
Add an internal child name for the notebook, so that GtkBuilder can be
2007-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Add an internal child name for
the notebook, so that GtkBuilder can be used to add custom tabs.
(#472951, Christian Persch)
svn path=/trunk/; revision=18757
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 4 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkprintunixdialog.sgml | 32 |
2 files changed, 36 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index d5065d2e6..dc4ce0568 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2007-09-07 Matthias Clasen <mclasen@redhat.com> + + * gtk/tmpl/gtkprintunixdialog.sgml: Additions + 2007-09-06 Matthias Clasen <mclasen@redhat.com> * gdk-pixbuf/porting-from-imlib.sgml: diff --git a/docs/reference/gtk/tmpl/gtkprintunixdialog.sgml b/docs/reference/gtk/tmpl/gtkprintunixdialog.sgml index 111a28b1b..cc1dbacaf 100644 --- a/docs/reference/gtk/tmpl/gtkprintunixdialog.sgml +++ b/docs/reference/gtk/tmpl/gtkprintunixdialog.sgml @@ -39,6 +39,38 @@ gtk_print_job_new(). Printing support was added in GTK+ 2.10. </para> +<refsect2 id="GtkPrintUnixDialog-BUILDER-UI"><title>GtkPrintUnixDialog as GtkBuildable</title> +<para> +The GtkPrintUnixDialog implementation of the GtkBuildable interface exposes its +@notebook internal children with the name "notebook". +</para> +<example> +<title>A <structname>GtkPrintUnixDialog</structname> UI definition fragment.</title> +<programlisting><![CDATA[ +<object class="GtkPrintUnixDialog" id="dialog1"> + <child internal-child="notebook"> + <object class="GtkNotebook" id="notebook"> + <child> + <object class="GtkLabel" id="tabcontent"> + <property name="label">Content on notebook tab</property> + </object> + </child> + <child type="tab"> + <object class="GtkLabel" id="tablabel"> + <property name="label">Tab label</property> + </object> + <packing> + <property name="tab_expand">False</property> + <property name="tab_fill">False</property> + </packing> + </child> + </object> + </child> +</object> +]]></programlisting> +</example> +</refsect2> + <!-- ##### SECTION See_Also ##### --> <para> #GtkPageSetupUnixDialog, #GtkPrinter, #GtkPrintJob |