gtkWidgetSetEvents           package:RGtk2           R Documentation

_g_t_k_W_i_d_g_e_t_S_e_t_E_v_e_n_t_s

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

     Sets the event mask (see 'GdkEventMask') for a widget. The event
     mask determines which events a widget will receive. Keep in mind
     that different widgets have different default event masks, and by
     changing the event mask you may disrupt a widget's functionality,
     so be careful. This function must be called while a widget is
     unrealized. Consider 'gtkWidgetAddEvents' for widgets that are
     already realized, or if you want to preserve the existing event
     mask. This function can't be used with 'GTK_NO_WINDOW' widgets; to
     get events on those widgets, place them inside a 'GtkEventBox' and
     receive events on the event box.

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

     gtkWidgetSetEvents(object, events)

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

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

'events': [integer]  event mask

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

     Derived by RGtkGen from GTK+ documentation

