GtkNotebook              package:RGtk2              R Documentation

_G_t_k_N_o_t_e_b_o_o_k

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

     A tabbed notebook container

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkNotebookNew(show = TRUE)'
      'gtkNotebookAppendPage(object, child, tab.label = NULL)'
      'gtkNotebookAppendPageMenu(object, child, tab.label = NULL,
     menu.label = NULL)'
      'gtkNotebookPrependPage(object, child, tab.label = NULL)'
      'gtkNotebookPrependPageMenu(object, child, tab.label = NULL,
     menu.label = NULL)'
      'gtkNotebookInsertPage(object, child, tab.label = NULL, position
     = -1)'
      'gtkNotebookInsertPageMenu(object, child, tab.label = NULL,
     menu.label = NULL, position = -1)'
      'gtkNotebookRemovePage(object, page.num)'
      'gtkNotebookPageNum(object, child)'
      'gtkNotebookNextPage(object)'
      'gtkNotebookPrevPage(object)'
      'gtkNotebookReorderChild(object, child, position)'
      'gtkNotebookSetTabPos(object, pos)'
      'gtkNotebookSetShowTabs(object, show.tabs)'
      'gtkNotebookSetShowBorder(object, show.border)'
      'gtkNotebookSetScrollable(object, scrollable)'
      'gtkNotebookSetTabBorder(object, border.width)'
      'gtkNotebookPopupEnable(object)'
      'gtkNotebookPopupDisable(object)'
      'gtkNotebookGetCurrentPage(object)'
      'gtkNotebookGetMenuLabel(object, child)'
      'gtkNotebookGetNthPage(object, page.num)'
      'gtkNotebookGetNPages(object)'
      'gtkNotebookGetTabLabel(object, child)'
      'gtkNotebookQueryTabLabelPacking(object, child)'
      'gtkNotebookSetHomogeneousTabs(object, homogeneous)'
      'gtkNotebookSetMenuLabel(object, child, menu.label = NULL)'
      'gtkNotebookSetMenuLabelText(object, child, menu.text)'
      'gtkNotebookSetTabHborder(object, tab.hborder)'
      'gtkNotebookSetTabLabel(object, child, tab.label = NULL)'
      'gtkNotebookSetTabLabelPacking(object, child, expand, fill,
     pack.type)'
      'gtkNotebookSetTabLabelText(object, child, tab.text)'
      'gtkNotebookSetTabVborder(object, tab.vborder)'
      'gtkNotebookGetMenuLabelText(object, child)'
      'gtkNotebookGetScrollable(object)'
      'gtkNotebookGetShowBorder(object)'
      'gtkNotebookGetShowTabs(object)'
      'gtkNotebookGetTabLabelText(object, child)'
      'gtkNotebookGetTabPos(object)'
      'gtkNotebookSetCurrentPage(object, page.num)'
      'gtkNotebook(show = TRUE)'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GtkObject
              +----GtkWidget
                    +----GtkContainer
                          +----GtkNotebook 

_I_n_t_e_r_f_a_c_e_s:

     GtkNotebook implements AtkImplementorIface.

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

     The 'GtkNotebook' widget is a 'GtkContainer' whose children are
     pages that can be switched between using tab labels along one
     edge.

     There are many configuration options for 'GtkNotebook'. Among
     other things, you can choose on which edge the tabs appear (see
     'gtkNotebookSetTabPos'), whether, if there are too many tabs to
     fit the noteobook should be made bigger or scrolling arrows added
     (see gtk_notebook_set_scrollable), and whether there will be a
     popup menu allowing the users to switch pages. (see
     'gtk\Notebook\Enable\Popup()', 'gtk\Noteobook\Disable\Popup()')

_S_t_r_u_c_t_u_r_e_s:

          '_t_a_b_P_o_s' ['GtkPositionType']  .in -5

_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkNotebook' is the equivalent of 'gtkNotebookNew'.

_S_i_g_n_a_l_s:

          '_n_o_t_e_b_o_o_k' ['GtkNotebook'] the object which received the
               signal.

          '_a_r_g_1' [integer] 

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


          '_n_o_t_e_b_o_o_k' ['GtkNotebook'] the object which received the
               signal.

          '_a_r_g_1' [GtkNotebookTab] 

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


          '_n_o_t_e_b_o_o_k' ['GtkNotebook'] the object which received the
               signal.

          '_a_r_g_1' ['GtkDirectionType'] 

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


          '_n_o_t_e_b_o_o_k' ['GtkNotebook'] the object which received the
               signal.

          '_a_r_g_1' [logical] 

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


     '_s_w_i_t_c_h-_p_a_g_e(_n_o_t_e_b_o_o_k, _p_a_g_e, _p_a_g_e._n_u_m, _u_s_e_r._d_a_t_a)' Emitted when
          the user or a function changes the current page.

          '_n_o_t_e_b_o_o_k' ['GtkNotebook'] the object which received the
               signal.

          '_p_a_g_e' [GtkNotebookPage] the new current page

          '_p_a_g_e._n_u_m' [numeric] the index of the page

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


_P_r_o_p_e_r_t_i_e_s:

     '_e_n_a_b_l_e-_p_o_p_u_p' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If TRUE, pressing the
          right mouse button on the notebook pops up a menu that you
          can use to go to a page.  Default value: FALSE


     '_h_o_m_o_g_e_n_e_o_u_s' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether tabs should have
          homogeneous sizes.  Default value: FALSE


     '_p_a_g_e' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] The index of the current page. 
          Allowed values: >= 0  Default value: 0


     '_s_c_r_o_l_l_a_b_l_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If TRUE, scroll arrows are
          added if there are too many tabs to fit.  Default value:
          FALSE


     '_s_h_o_w-_b_o_r_d_e_r' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether the border should
          be shown or not.  Default value: TRUE


     '_s_h_o_w-_t_a_b_s' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether tabs should be shown
          or not.  Default value: TRUE


     '_t_a_b-_b_o_r_d_e_r' [_n_u_m_e_r_i_c : _W_r_i_t_e] Width of the border around the tab
          labels.  Default value: 2


     '_t_a_b-_h_b_o_r_d_e_r' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Width of the horizontal
          border of tab labels.  Default value: 2


     '_t_a_b-_p_o_s' ['_G_t_k_P_o_s_i_t_i_o_n_T_y_p_e' : _R_e_a_d / _W_r_i_t_e] Which side of the
          notebook holds the tabs.  Default value: GTK_POS_TOP


     '_t_a_b-_v_b_o_r_d_e_r' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Width of the vertical
          border of tab labels.  Default value: 2


_S_t_y_l_e _P_r_o_p_e_r_t_i_e_s:

     '_h_a_s-_b_a_c_k_w_a_r_d-_s_t_e_p_p_e_r' [_l_o_g_i_c_a_l : _R_e_a_d] The "has-backward-stepper"
          property determines whether  the standard backward arrow
          button is displayed.  

          Default value: TRUE  Since  2.4


     '_h_a_s-_f_o_r_w_a_r_d-_s_t_e_p_p_e_r' [_l_o_g_i_c_a_l : _R_e_a_d] The "has-forward-stepper"
          property determines whether  the standard forward arrow
          button is displayed.  

          Default value: TRUE  Since  2.4


     '_h_a_s-_s_e_c_o_n_d_a_r_y-_b_a_c_k_w_a_r_d-_s_t_e_p_p_e_r' [_l_o_g_i_c_a_l : _R_e_a_d] The
          "has-secondary-backward-stepper" property determines whether 
          a second backward arrow button is displayed on the opposite
          end  of the tab area.  

          Default value: FALSE  Since  2.4


     '_h_a_s-_s_e_c_o_n_d_a_r_y-_f_o_r_w_a_r_d-_s_t_e_p_p_e_r' [_l_o_g_i_c_a_l : _R_e_a_d] The
          "has-secondary-forward-stepper" property determines whether 
          a second forward arrow button is displayed on the opposite
          end  of the tab area.  

          Default value: FALSE  Since  2.4


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://developer.gnome.org/doc/API/2.0/gtk/GtkNotebook.html>

