[gtk/wip/matthiasc/listview-fixups: 10/15] listitemfactory: Add docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/listview-fixups: 10/15] listitemfactory: Add docs
- Date: Fri, 13 Dec 2019 03:59:12 +0000 (UTC)
commit 051c655df0addff840fb3c904ec4d5c7a199406c
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 12 22:34:52 2019 -0500
listitemfactory: Add docs
docs/reference/gtk/gtk4-sections.txt | 15 +++++++++++++++
docs/reference/gtk/gtk4.types.in | 2 ++
gtk/gtklistitemfactory.c | 10 ++++++++++
3 files changed, 27 insertions(+)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 2e932f07df..01b51fffc6 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -515,6 +515,21 @@ GTK_TYPE_LIST_ITEM
gtk_list_item_get_type
</SECTION>
+<SECTION>
+<FILE>gtklistitemfactory</FILE>
+<TITLE>GtkListItemFactory</TITLE>
+GtkListItemFactory
+<SUBSECTION Standard>
+GTK_LIST_ITEM_FACTORY
+GTK_LIST_ITEM_FACTORY_CLASS
+GTK_LIST_ITEM_FACTORY_GET_CLASS
+GTK_IS_LIST_ITEM_FACTORY
+GTK_IS_LIST_ITEM_FACTORY_CLASS
+GTK_TYPE_LIST_ITEM_FACTORY
+<SUBSECTION Private>
+gtk_list_item_factory_get_type
+</SECTION>
+
<SECTION>
<FILE>gtksignallistitemfactory</FILE>
<TITLE>GtkSignalListItemFactory</TITLE>
diff --git a/docs/reference/gtk/gtk4.types.in b/docs/reference/gtk/gtk4.types.in
index b2cff5b2ef..a31c4c8459 100644
--- a/docs/reference/gtk/gtk4.types.in
+++ b/docs/reference/gtk/gtk4.types.in
@@ -116,6 +116,8 @@ gtk_label_get_type
gtk_layout_child_get_type
gtk_layout_manager_get_type
gtk_link_button_get_type
+gtk_list_item_get_type
+gtk_list_item_factory_get_type
gtk_list_store_get_type
gtk_list_box_get_type
gtk_list_box_row_get_type
diff --git a/gtk/gtklistitemfactory.c b/gtk/gtklistitemfactory.c
index 4746e4382d..d8d1a16322 100644
--- a/gtk/gtklistitemfactory.c
+++ b/gtk/gtklistitemfactory.c
@@ -23,6 +23,16 @@
#include "gtklistitemprivate.h"
+/**
+ * SECTION:gtklistitemfactory
+ * @Title: GtkListItemFactory
+ * @Short_description: Generating widgets from objects
+ *
+ * GtkListItemFactory is the base class for a number of factories
+ * that can create widgets from objects, typically when populating
+ * a list widget from a #GListModel.
+ */
+
G_DEFINE_TYPE (GtkListItemFactory, gtk_list_item_factory, G_TYPE_OBJECT)
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]