[gtk/wip/matthiasc/listview-fixups: 15/15] builderlistitemfactory: Add docs



commit 2690e715bb84a022ae52bcf191d7a10e122b0bf4
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 12 22:56:49 2019 -0500

    builderlistitemfactory: Add docs

 docs/reference/gtk/gtk4-docs.xml     |  1 +
 docs/reference/gtk/gtk4-sections.txt | 20 ++++++++++++++++++++
 docs/reference/gtk/gtk4.types.in     |  1 +
 gtk/gtkbuilderlistitemfactory.c      |  9 +++++++++
 4 files changed, 31 insertions(+)
---
diff --git a/docs/reference/gtk/gtk4-docs.xml b/docs/reference/gtk/gtk4-docs.xml
index 3997935331..68a97122d5 100644
--- a/docs/reference/gtk/gtk4-docs.xml
+++ b/docs/reference/gtk/gtk4-docs.xml
@@ -136,6 +136,7 @@
       <xi:include href="xml/gtklistitemfactory.xml" />
       <section>
         <xi:include href="xml/gtksignallistitemfactory.xml" />
+        <xi:include href="xml/gtkbuilderlistitemfactory.xml" />
       </section>
       <xi:include href="xml/gtklistview.xml" />
       <xi:include href="xml/gtkgridview.xml" />
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 01b51fffc6..4773b3eeb4 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -546,6 +546,26 @@ GTK_TYPE_SIGNAL_LIST_ITEM_FACTORY
 gtk_signal_list_item_factory_get_type
 </SECTION>
 
+<SECTION>
+<FILE>gtkbuilderlistitemfactory</FILE>
+<TITLE>GtkBuilderListItemFactory</TITLE>
+GtkBuilderListItemFactory
+gtk_builder_list_item_factory_new_from_bytes
+gtk_builder_list_item_factory_new_from_resource
+gtk_builder_list_item_factory_get_bytes
+gtk_builder_list_item_factory_get_resource
+gtk_builder_list_item_factory_get_scope
+<SUBSECTION Standard>
+GTK_BUILDER_LIST_ITEM_FACTORY
+GTK_BUILDER_LIST_ITEM_FACTORY_CLASS
+GTK_BUILDER_LIST_ITEM_FACTORY_GET_CLASS
+GTK_IS_BUILDER_LIST_ITEM_FACTORY
+GTK_IS_BUILDER_LIST_ITEM_FACTORY_CLASS
+GTK_TYPE_BUILDER_LIST_ITEM_FACTORY
+<SUBSECTION Private>
+gtk_builder_list_item_factory_get_type
+</SECTION>
+
 <SECTION>
 <FILE>gtklistview</FILE>
 <TITLE>GtkListView</TITLE>
diff --git a/docs/reference/gtk/gtk4.types.in b/docs/reference/gtk/gtk4.types.in
index 094f7fea6f..c6074c0727 100644
--- a/docs/reference/gtk/gtk4.types.in
+++ b/docs/reference/gtk/gtk4.types.in
@@ -24,6 +24,7 @@ gtk_bin_layout_get_type
 gtk_box_get_type
 gtk_box_layout_get_type
 gtk_builder_get_type
+gtk_builder_list_item_factory_get_type
 gtk_buildable_get_type
 gtk_button_get_type
 gtk_calendar_get_type
diff --git a/gtk/gtkbuilderlistitemfactory.c b/gtk/gtkbuilderlistitemfactory.c
index da7ee8d715..c92708c89c 100644
--- a/gtk/gtkbuilderlistitemfactory.c
+++ b/gtk/gtkbuilderlistitemfactory.c
@@ -26,6 +26,15 @@
 #include "gtklistitemfactoryprivate.h"
 #include "gtklistitemprivate.h"
 
+/**
+ * SECTION:gtkbuilderlistitemfactory
+ * @Tiitle: GtkBuilderListItemFactory
+ * @Short_description: A listitem factory using ui files
+ *
+ * #GtkBuilderListItemFactory is a #GtkListItemFactory that creates
+ * widgets by instantiating #GtkBuilder UI templates.
+ */
+
 struct _GtkBuilderListItemFactory
 {
   GtkListItemFactory parent_instance;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]