[gtk] docs: Add missing TreeListModel docs



commit 9ffd88012d85919ce5b2804622c823f75990ad10
Author: Benjamin Otte <otte redhat com>
Date:   Sun Sep 16 19:38:25 2018 +0200

    docs: Add missing TreeListModel docs

 docs/reference/gtk/gtk4-sections.txt | 43 ++++++++++++++++++++++++++++++++++++
 gtk/gtktreelistmodel.h               |  8 +++++++
 2 files changed, 51 insertions(+)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 5d56d54e1e..ea0709487e 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -3372,6 +3372,49 @@ GTK_TOOLTIP
 gtk_tooltip_get_type
 </SECTION>
 
+<SECTION>
+<FILE>gtktreelistmodel</FILE>
+<TITLE>GtkTreeListModel</TITLE>
+GtkTreeListModel
+GtkTreeListRow
+GtkTreeListModelCreateModelFunc
+gtk_tree_list_model_new
+gtk_tree_list_model_get_model
+gtk_tree_list_model_get_passthrough
+gtk_tree_list_model_set_autoexpand
+gtk_tree_list_model_get_autoexpand
+gtk_tree_list_model_get_child
+gtk_tree_list_model_get_row
+
+<SUBSECTION>
+gtk_tree_list_row_get_item
+gtk_tree_list_row_set_expanded
+gtk_tree_list_row_get_expanded
+gtk_tree_list_row_is_expandable
+gtk_tree_list_row_get_position
+gtk_tree_list_row_get_depth
+gtk_tree_list_row_get_children
+gtk_tree_list_row_get_parent
+gtk_tree_list_row_get_child
+
+<SUBSECTION Standard>
+GTK_TREE_LIST_MODEL
+GTK_IS_TREE_LIST_MODEL
+GTK_TYPE_TREE_LIST_MODEL
+GTK_TREE_LIST_MODEL_CLASS
+GTK_IS_TREE_LIST_MODEL_CLASS
+GTK_TREE_LIST_MODEL_GET_CLASS
+GTK_TREE_LIST_ROW
+GTK_IS_TREE_LIST_ROW
+GTK_TYPE_TREE_LIST_ROW
+GTK_TREE_LIST_ROW_CLASS
+GTK_IS_TREE_LIST_ROW_CLASS
+GTK_TREE_LIST_ROW_GET_CLASS
+<SUBSECTION Private>
+gtk_tree_list_model_get_type
+gtk_tree_list_row_get_type
+</SECTION>
+
 <SECTION>
 <FILE>gtktreemodel</FILE>
 <TITLE>GtkTreeModel</TITLE>
diff --git a/gtk/gtktreelistmodel.h b/gtk/gtktreelistmodel.h
index b282acfc85..9b34735acd 100644
--- a/gtk/gtktreelistmodel.h
+++ b/gtk/gtktreelistmodel.h
@@ -39,6 +39,14 @@ G_DECLARE_FINAL_TYPE (GtkTreeListModel, gtk_tree_list_model, GTK, TREE_LIST_MODE
 GDK_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (GtkTreeListRow, gtk_tree_list_row, GTK, TREE_LIST_ROW, GObject)
 
+/**
+ * GtkTreeListModelCreateModelFunc:
+ * @item: The item that is expaned
+ * @data: User data passed when registering the function
+ *
+ * Prototype of the function called to create new child models when
+ * gtk_tree_list_row_set_expanded() is called.
+ */
 typedef GListModel * (* GtkTreeListModelCreateModelFunc) (gpointer item, gpointer data);
 
 GDK_AVAILABLE_IN_ALL


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