diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-20 21:46:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-21 00:31:17 -0500 |
commit | f11d0118a338af2b07c1bbfc8887c1ba07d539cf (patch) | |
tree | 7820d9df7a06d40b1028fd853fe985aa4866c3ca /gtk/gtknotebook.h | |
parent | 7f8ba95db55d046326e4816d469cf859882d3f79 (diff) | |
download | gtk+-f11d0118a338af2b07c1bbfc8887c1ba07d539cf.tar.gz |
notebook: Add a pages model
Just like GtkStack and GtkAssistant, provide
a list model with the page objects.
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r-- | gtk/gtknotebook.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h index ec8e0681ff..c919e115cd 100644 --- a/gtk/gtknotebook.h +++ b/gtk/gtknotebook.h @@ -307,6 +307,8 @@ GtkNotebookPage *gtk_notebook_get_page (GtkNotebook *notebook, GtkWidget *child); GDK_AVAILABLE_IN_ALL GtkWidget *gtk_notebook_page_get_child (GtkNotebookPage *page); +GDK_AVAILABLE_IN_ALL +GListModel *gtk_notebook_get_pages (GtkNotebook *notebook); G_END_DECLS |