GtkMenuBar               package:RGtk2               R Documentation

_G_t_k_M_e_n_u_B_a_r

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

     A subclass widget for GtkMenuShell which holds GtkMenuItem widgets

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

     'gtkMenuBarNew(show = TRUE)'
      'gtkMenuBarSetPackDirection(object, pack.dir)'
      'gtkMenuBarGetPackDirection(object)'
      'gtkMenuBarSetChildPackDirection(object, child.pack.dir)'
      'gtkMenuBarGetChildPackDirection(object)'
      'gtkMenuBar(show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkMenuShell
                                      +----GtkMenuBar 

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

     GtkMenuBar implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkMenuBar' is a subclass of 'GtkMenuShell' which contains
     one to many 'GtkMenuItem'. The result is a standard menu bar which
     can hold many menu items. 'GtkMenuBar' allows for a shadow type to
     be set for aesthetic purposes. The shadow types are defined in the
     'gtk_menu_bar_set_shadow_type' function.

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


     '_G_t_k_M_e_n_u_B_a_r' The 'GtkMenuBar' struct contains the following
          fields. (These fields should be considered read-only.  They
          should never be set by an application.)


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

     'gtkMenuBar' is the equivalent of 'gtkMenuBarNew'.

_E_n_u_m_s _a_n_d _F_l_a_g_s:


     '_G_t_k_P_a_c_k_D_i_r_e_c_t_i_o_n' _undocumented _

          '_l_t_r' _undocumented _

          '_r_t_l' _undocumented _

          '_t_t_b' _undocumented _

          '_b_t_t' _undocumented _


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


     '_c_h_i_l_d-_p_a_c_k-_d_i_r_e_c_t_i_o_n' ['_G_t_k_P_a_c_k_D_i_r_e_c_t_i_o_n' : _R_e_a_d / _W_r_i_t_e] The
          pack direction of the menubar. It determines how the widgets
          contained in child menuitems are arranged.  

          Default value: GTK_PACK_DIRECTION_LTR  Since  2.8


     '_p_a_c_k-_d_i_r_e_c_t_i_o_n' ['_G_t_k_P_a_c_k_D_i_r_e_c_t_i_o_n' : _R_e_a_d / _W_r_i_t_e] The pack
          direction of the menubar. It determines how menuitems are
          arranged in the menubar.  

          Default value: GTK_PACK_DIRECTION_LTR  Since  2.8


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


     '_i_n_t_e_r_n_a_l-_p_a_d_d_i_n_g' [_i_n_t_e_g_e_r : _R_e_a_d] Amount of border space between
          the menubar shadow and the menu items.  Allowed values: >= 0 
          Default value: 1


     '_s_h_a_d_o_w-_t_y_p_e' ['_G_t_k_S_h_a_d_o_w_T_y_p_e' : _R_e_a_d] Style of bevel around the
          menubar.  Default value: GTK_SHADOW_OUT


_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/GtkMenuBar.html>

_S_e_e _A_l_s_o:

     'GtkMenuShell' 'GtkMenu' 'GtkMenuItem'

