Method
GtkNotebookappend_page_menu
Declaration [src]
int
gtk_notebook_append_page_menu (
GtkNotebook* notebook,
GtkWidget* child,
GtkWidget* tab_label,
GtkWidget* menu_label
)
Description [src]
Appends a page to notebook, specifying the widget to use as the
label in the popup menu.
Parameters
child-
Type:
GtkWidgetThe
GtkWidgetto use as the contents of the page.The data is owned by the caller of the method. tab_label-
Type:
GtkWidgetThe
GtkWidgetto be used as the label for the page, orNULLto use the default label, “page N”.The argument can be NULL.The data is owned by the caller of the method. menu_label-
Type:
GtkWidgetThe widget to use as a label for the page-switch menu, if that is enabled. If
NULL, andtab_labelis aGtkLabelorNULL, then the menu label will be a newly created label with the same text astab_label; iftab_labelis not aGtkLabel,menu_labelmust be specified if the page-switch menu is to be used.The argument can be NULL.The data is owned by the caller of the method.