gdkWindowSetUserData          package:RGtk2          R Documentation

_g_d_k_W_i_n_d_o_w_S_e_t_U_s_e_r_D_a_t_a

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

     For most purposes this function is deprecated in favor of
     'gObjectSetData'. However, for historical reasons GTK+ stores the
     'GtkWidget' that owns a 'GdkWindow' as user data on the
     'GdkWindow'. So, custom widget implementations should use this
     function for that. If GTK+ receives an event for a 'GdkWindow',
     and the user data for the window is non-'NULL', GTK+ will assume
     the user data is a 'GtkWidget', and forward the event to that
     widget.

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

     gdkWindowSetUserData(object, user.data = NULL)

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

'object': ['GdkWindow']  a 'GdkWindow'

'user.data': [R object]  user data

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

     Derived by RGtkGen from GTK+ documentation

