gtkNotebookAppendPageMenu       package:RGtk2       R Documentation

_g_t_k_N_o_t_e_b_o_o_k_A_p_p_e_n_d_P_a_g_e_M_e_n_u

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

'object': ['GtkNotebook']  a 'GtkNotebook'

 'child': ['GtkWidget']  the 'GtkWidget' to use as the contents of the
          page.

'tab.label': ['GtkWidget']  the 'GtkWidget' to be used as the label for
          the page, or 'NULL' to use the default label, 'page N'.

'menu.label': ['GtkWidget']  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.

_V_a_l_u_e:

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

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

