Method
Gtk.Notebook.insert_page_menu
Declaration [src]
int
gtk_notebook_insert_page_menu (
GtkNotebook* notebook,
GtkWidget* child,
GtkWidget* tab_label,
GtkWidget* menu_label,
int position
)
Description [src]
Insert a page into notebook
at the given position, specifying
the widget to use as the label in the popup menu.
Parameters
child |
GtkWidget |
the |
|
Ownership is not transferred to the callee | |
tab_label |
GtkWidget |
the |
|
Can be NULL | |
Ownership is not transferred to the callee | |
menu_label |
GtkWidget |
the widget to use as a label for the
page-switch menu, if that is enabled. If |
|
Can be NULL | |
Ownership is not transferred to the callee | |
position |
int |
the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages. |