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:
GtkWidget
The
GtkWidget
to use as the contents of the page.The data is owned by the caller of the method. tab_label
-
Type:
GtkWidget
The
GtkWidget
to be used as the label for the page, orNULL
to use the default label, “page N”.The argument can be NULL
.The data is owned by the caller of the method. menu_label
-
Type:
GtkWidget
The widget to use as a label for the page-switch menu, if that is enabled. If
NULL
, andtab_label
is aGtkLabel
orNULL
, then the menu label will be a newly created label with the same text astab_label
; iftab_label
is not aGtkLabel
,menu_label
must 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.