Notebook.pageNum

int pageNum(gtk.widget.Widget child)

Finds the index of the page which contains the given child widget.

Parameters

childa #GtkWidget

Returns

the index of the page containing child, or

-1 if child is not in the notebook