Returns the page number of the current page, starting from 0. If the notebook has no pages, then -1 will be returned.
See also: set_current_page()