gtkWidgetModifyBg           package:RGtk2           R Documentation

_g_t_k_W_i_d_g_e_t_M_o_d_i_f_y_B_g

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

     Sets the background color for a widget in a particular state.  
     All other style values are left untouched. See also
     'gtkWidgetModifyStyle'.

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

     gtkWidgetModifyBg(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 background
          color

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

_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
     background 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 background color
     on that.

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

     Derived by RGtkGen from GTK+ documentation

