GtkNotebook::page_num

int page_num ( GtkWidget child );

Returns the index of child. If child is not a child of the notebook, -1 is returned.

See also: get_nth_page()