GtkCheckMenuItem            package:RGtk2            R Documentation

_G_t_k_C_h_e_c_k_M_e_n_u_I_t_e_m

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

     A menu item with a check box

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

     'gtkCheckMenuItemNew(show = TRUE)'
      'gtkCheckMenuItemNewWithLabel(label, show = TRUE)'
      'gtkCheckMenuItemNewWithMnemonic(label, show = TRUE)'
      'gtkCheckMenuItemGetActive(object)'
      'gtkCheckMenuItemSetActive(object, is.active)'
      'gtkCheckMenuItemSetShowToggle(object, always)'
      'gtkCheckMenuItemToggled(object)'
      'gtkCheckMenuItemGetInconsistent(object)'
      'gtkCheckMenuItemSetInconsistent(object, setting)'
      'gtkCheckMenuItemSetDrawAsRadio(object, draw.as.radio)'
      'gtkCheckMenuItemGetDrawAsRadio(object)'
      'gtkCheckMenuItem(label, show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBin
                                      +----GtkItem
                                            +----GtkMenuItem
                                                  +----GtkCheckMenuItem

     +----GtkRadioMenuItem 

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

     GtkCheckMenuItem implements AtkImplementorIface and 
     'GtkBuildable'.

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

     A 'GtkCheckMenuItem' is a menu item that maintains the state of a
     boolean  value in addition to a 'GtkMenuItem''s usual role in
     activating application code.

     A check box indicating the state of the boolean value is displayed
     at the left side of the 'GtkMenuItem'.  Activating the
     'GtkMenuItem'  toggles the value.

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


     '_G_t_k_C_h_e_c_k_M_e_n_u_I_t_e_m' The 'GtkCheckMenuItem' struct contains the
          following fields. (These fields should be considered
          read-only. They should never be set by an application.)

            'numeric'   active;  TRUE if the check box is active.


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

     'gtkCheckMenuItem' is the result of collapsing the constructors of
     'GtkCheckMenuItem' ('gtkCheckMenuItemNew',
     'gtkCheckMenuItemNewWithLabel', 'gtkCheckMenuItemNewWithMnemonic')
     and accepts a subset of its arguments matching the required
     arguments of one of its delegate constructors.

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


     '_t_o_g_g_l_e_d(_c_h_e_c_k_m_e_n_u_i_t_e_m, _u_s_e_r._d_a_t_a)' This signal is emitted when
          the state of the check box is changed.

          A signal handler can examine the 'active'  field of the
          'GtkCheckMenuItem' struct to discover the new state.

          '_c_h_e_c_k_m_e_n_u_i_t_e_m' ['GtkCheckMenuItem'] the object which
               received the signal.

          '_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:


     '_a_c_t_i_v_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether the menu item is
          checked.  Default value: FALSE


     '_d_r_a_w-_a_s-_r_a_d_i_o' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether the menu item
          looks like a radio menu item.  Default value: FALSE


     '_i_n_c_o_n_s_i_s_t_e_n_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether to display an
          "inconsistent" state.  Default value: FALSE


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


     '_i_n_d_i_c_a_t_o_r-_s_i_z_e' [_i_n_t_e_g_e_r : _R_e_a_d] Size of check or radio
          indicator.  Allowed values: >= 0  Default value: 13


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

