mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
notebook: Document new apis
This silences gi build warnings.
This commit is contained in:
parent
06df7e6f2c
commit
3ae31b0e79
@ -7193,6 +7193,15 @@ gtk_notebook_set_action_widget (GtkNotebook *notebook,
|
||||
gtk_widget_queue_resize (GTK_WIDGET (notebook));
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_notebook_get_page:
|
||||
* @notebook: a #GtkNotebook
|
||||
* @child: a child of @notebook
|
||||
*
|
||||
* Returns the #GtkNotebookPage for @child.
|
||||
*
|
||||
* Returns: (transfer none): the #GtkNotebookPage for @child
|
||||
*/
|
||||
GtkNotebookPage *
|
||||
gtk_notebook_get_page (GtkNotebook *notebook,
|
||||
GtkWidget *child)
|
||||
@ -7210,6 +7219,14 @@ gtk_notebook_get_page (GtkNotebook *notebook,
|
||||
return page;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_notebook_page_get_child:
|
||||
* @page: a #GtkNotebookPage
|
||||
*
|
||||
* Returns the notebook child to which @page belongs.
|
||||
*
|
||||
* Returns: (transfer none): the child to which @page belongs
|
||||
*/
|
||||
GtkWidget *
|
||||
gtk_notebook_page_get_child (GtkNotebookPage *page)
|
||||
{
|
||||
@ -7288,6 +7305,15 @@ gtk_notebook_pages_new (GtkNotebook *notebook)
|
||||
return pages;
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_notebook_get_pages:
|
||||
* @notebook: a #GtkNotebook
|
||||
*
|
||||
* Returns a #GListModel that contains the pages of the notebook,
|
||||
* and can be used to keep an up-to-date view.
|
||||
*
|
||||
* Returns: (transfer full): a #GListModel for the notebook's children
|
||||
*/
|
||||
GListModel *
|
||||
gtk_notebook_get_pages (GtkNotebook *notebook)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user