gtkWidgetSetAppPaintable        package:RGtk2        R Documentation

_g_t_k_W_i_d_g_e_t_S_e_t_A_p_p_P_a_i_n_t_a_b_l_e

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

     Sets whether the application intends to draw on the widget in an
     '"expose-event"' handler.

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

     gtkWidgetSetAppPaintable(object, app.paintable)

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

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

'app.paintable': [logical] 'TRUE' if the application will paint on the
          widget

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

     This is a hint to the widget and does not affect the behavior of 
     the GTK+ core; many widgets ignore this flag entirely. For widgets
      that do pay attention to the flag, such as 'GtkEventBox' and
     'GtkWindow',  the effect is to suppress default themed drawing of
     the widget's  background. (Children of the widget will still be
     drawn.) The application  is then entirely responsible for drawing
     the widget background.

     Note that the background is still drawn when the widget is mapped.
     If this is not suitable (e.g. because you want to make a
     transparent window using an RGBA visual), you can work around this
     by doing:


     window$realize()
     window$window$setBackPixmap(NULL, FALSE)
     window$show()


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

     Derived by RGtkGen from GTK+ documentation

