gdkEventRequestMotions         package:RGtk2         R Documentation

_g_d_k_E_v_e_n_t_R_e_q_u_e_s_t_M_o_t_i_o_n_s

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

     Request more motion notifies if 'event' is a motion notify hint
     event. This function should be used instead of
     'gdkWindowGetPointer' to request further motion notifies, because
     it also works for extension events where motion notifies are
     provided for devices other than the core pointer. Coordinate
     extraction, processing and requesting more motion events from a
     'GDK_MOTION_NOTIFY' event usually works like this:

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

     gdkEventRequestMotions(event)

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

 'event': ['GdkEventMotion']  a valid 'GdkEvent'

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


     # motion event handler
     {
       x <- motion_event$x
       y <- motion_event$y
       # handle (x,y) motion here
       motion_event$request_motions() # handles is_hint events
     }


     Since  2.12

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

     Derived by RGtkGen from GTK+ documentation

