get_current_page


Description:

public int get_current_page ()

Returns the page number of the current page.

Parameters:

this

a Notebook

Returns:

the index (starting from 0) of the current page in the notebook. If the notebook has no pages, then -1 will be returned.