GtkColorButton             package:RGtk2             R Documentation

_G_t_k_C_o_l_o_r_B_u_t_t_o_n

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

     A button to launch a color selection dialog

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

     'gtkColorButtonNew(show = TRUE)'
      'gtkColorButtonNewWithColor(color, show = TRUE)'
      'gtkColorButtonSetColor(object, color)'
      'gtkColorButtonGetColor(object, color)'
      'gtkColorButtonSetAlpha(object, alpha)'
      'gtkColorButtonGetAlpha(object)'
      'gtkColorButtonSetUseAlpha(object, use.alpha)'
      'gtkColorButtonGetUseAlpha(object)'
      'gtkColorButtonSetTitle(object, title)'
      'gtkColorButtonGetTitle(object)'
      'gtkColorButton(color, show = TRUE)'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkWidget
                          +----GtkContainer
                                +----GtkBin
                                      +----GtkButton
                                            +----GtkColorButton 

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

     GtkColorButton implements AtkImplementorIface and  'GtkBuildable'.

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

     The 'GtkColorButton' is a button which displays the currently
     selected color  an allows to open a color selection dialog to
     change the color. It is suitable  widget for selecting a color in
     a preference dialog.

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


     '_G_t_k_C_o_l_o_r_B_u_t_t_o_n' The GtkColorButton struct has only private fields
          and  should not be used directly.


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

     'gtkColorButton' is the result of collapsing the constructors of
     'GtkColorButton' ('gtkColorButtonNew',
     'gtkColorButtonNewWithColor') and accepts a subset of its
     arguments matching the required arguments of one of its delegate
     constructors.

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


     '_c_o_l_o_r-_s_e_t(_w_i_d_g_e_t, _u_s_e_r._d_a_t_a)' The ::color-set signal is emitted
          when the user selects a color.  When handling this signal,
          use 'gtkColorButtonGetColor' and  'gtkColorButtonGetAlpha' to
          find out which color was just selected.

          Note that this signal is only emitted when the _user_ changes
          the color. If you need to react to programmatic color changes
          as well, use the notify::color signal.  

          Since  2.4

          '_w_i_d_g_e_t' ['GtkColorButton']  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_l_p_h_a' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] The selected opacity value (0
          fully transparent, 65535 fully opaque).  

          Allowed values: <= 65535  Default value: 65535  Since  2.4


     '_c_o_l_o_r' ['_G_d_k_C_o_l_o_r' : _R_e_a_d / _W_r_i_t_e] The selected color.  

          Since  2.4


     '_t_i_t_l_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] The title of the color
          selection dialog  

          Default value: "Pick a Color"  Since  2.4


     '_u_s_e-_a_l_p_h_a' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] If this property is set to
          'TRUE', the color swatch on the button is rendered against a 
          checkerboard background to show its opacity and the opacity
          slider is displayed in the  color selection dialog.  

          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/GtkColorButton.html>

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

     'GtkColorSelectionDialog' 'GtkFontButton'

