Notebook.pageNum

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

class Notebook
int
pageNum

Parameters

child Widget

Return Value

Type: int

the index of the page containing child, or -1 if child is not in the notebook