Gtk.Notebook.prototype.page_num
function page_num(child:Gtk.Widget):Number {
// Gjs wrapper for gtk_notebook_page_num()
}Finds the index of the page which contains the given child widget.
- child
- Returns
the index of the page containing child, or -1 if child is not in the notebook