Notebook.pageNum

int pageNum(gtk.widget.Widget child)

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

Parameters

childa [gtk.widget.Widget]

Returns

the index of the page containing child, or

-1 if child is not in the notebook