GtkNotebook::get_n_pages

int get_n_pages();

Gets the number of pages in a notebook.