diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-08 18:40:35 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-08 19:21:39 -0500 |
commit | f0a74bc302ab76028c334893f78a0c7af25ffecc (patch) | |
tree | 79343a4d5de91129974b21e19af5506125487f30 /gtk/gtkbuilder.c | |
parent | ed26f5d7617f683cba33678af19309cbddbd7afc (diff) | |
download | gtk+-f0a74bc302ab76028c334893f78a0c7af25ffecc.tar.gz |
Document gtk_builder_extend_wth_template
Diffstat (limited to 'gtk/gtkbuilder.c')
-rw-r--r-- | gtk/gtkbuilder.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c index 07e0bb2d30..c074eb52ad 100644 --- a/gtk/gtkbuilder.c +++ b/gtk/gtkbuilder.c @@ -1110,10 +1110,23 @@ gtk_builder_add_objects_from_file (GtkBuilder *builder, return 1; } -/* Main private entry point for building composite container + +/** + * gtk_builder_extend_with_template: + * @builder: a #GtkBuilder + * @widget: the widget that is being extended + * @template_type: the type that the template is for + * @buffer: the string to parse + * @length: the length of @buffer (may be -1 if @buffer is nul-terminated) + * @error: (allow-none): return location for an error, or %NULL + * + * Main private entry point for building composite container * components from template XML. + * * This is exported purely to let gtk-builder-tool validate * templates, applications have no need to call this function. + * + * Returns: A positive value on success, 0 if an error occurred */ guint gtk_builder_extend_with_template (GtkBuilder *builder, |