Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkNotebookPrependPageMenu

gtkNotebookPrependPageMenu


Description

Prepends a page to notebook, specifying the widget to use as the label in the popup menu.

Usage

gtkNotebookPrependPageMenu(object, child, tab.label = NULL, menu.label = NULL)

Arguments

object

a GtkNotebook

child

the GtkWidget to use as the contents of the page.

tab.label

the GtkWidget to be used as the label for the page, or NULL to use the default label, 'page N'. [ allow-none ]

menu.label

the widget to use as a label for the page-switch menu, if that is enabled. If NULL, and tab.label is a GtkLabel or NULL, then the menu label will be a newly created label with the same text as tab.label; If tab.label is not a GtkLabel, menu.label must be specified if the page-switch menu is to be used. [ allow-none ]

Value

[integer] the index (starting from 0) of the prepended page in the notebook, or -1 if function fails

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.