[gtk/stack-fixes] Add docs



commit 59fd111ee094619b723794ca454e4fcfaa4d8fde
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 8 17:59:36 2019 -0500

    Add docs

 gtk/gtkstack.c | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index edc1d44b85..3bacf18e87 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -2345,6 +2345,17 @@ transform_from (GBinding *binding,
   return TRUE;
 }
 
+/**
+ * gtk_stack_get_pages:
+ * @stack: a #GtkStack
+ *
+ * Returns a #GListModel that contains the children of the stack,
+ * and can be used to keep and up-to-date view. The model also
+ * implements #GtkSelectionModel and can be used to track and
+ * modify the visible child.
+ *
+ * Returns: (transfer full): a #GtkSelectionModel for the stack's children
+ */
 GtkSelectionModel *
 gtk_stack_get_pages (GtkStack *stack)
 {


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