GtkNotebook::prepend_page

int prepend_page(GtkWidget child [, GtkWidget tab_label = null]);

Prepends a page to the notebook. The widget passed as child will be visible when the page is active, the tab_label will be shown in the tab bar.

If you omit the second tab_label parameter, the default one "page N" (label) will be used.

The method returns the index (starting from 0) of the appended page in the notebook, or -1 if the method fails.

See also: append_page() , insert_page() , remove_page()