gtkWidgetModifyBase          package:RGtk2          R Documentation

_g_t_k_W_i_d_g_e_t_M_o_d_i_f_y_B_a_s_e

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

     Sets the base color for a widget in a particular state. All other
     style values are left untouched. The base color is the background
     color used along with the text color (see 'gtkWidgetModifyText')
     for widgets such as 'GtkEntry' and 'GtkTextView'. See also
     'gtkWidgetModifyStyle'.

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

     gtkWidgetModifyBase(object, state, color = NULL)

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

'object': ['GtkWidget']  a 'GtkWidget'

 'state': ['GtkStateType']  the state for which to set the base color

 'color': ['GdkColor']  the color to assign (does not need to be
          allocated), or 'NULL' to undo the effect of previous calls to
          of 'gtkWidgetModifyBase'.

_D_e_t_a_i_l_s:

     Note that "no window" widgets (which have the 'GTK_NO_WINDOW' flag
     set) draw on their parent container's window and thus may not draw
     any  background themselves. This is the case for e.g. 'GtkLabel'.
     To modify  the background of such widgets, you have to set the
     base color on their  parent; if you want to set the background of
     a rectangular area around  a label, try placing the label in a
     'GtkEventBox' widget and setting  the base color on that.

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

     Derived by RGtkGen from GTK+ documentation

