gdkKeyboardGrab            package:RGtk2            R Documentation

_g_d_k_K_e_y_b_o_a_r_d_G_r_a_b

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

     Grabs the keyboard so that all events are passed to this
     application until the keyboard is ungrabbed with
     'gdkKeyboardUngrab'. This overrides any previous keyboard grab by
     this client.

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

     gdkKeyboardGrab(window, owner.events = FALSE, time = "GDK_CURRENT_TIME")

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

'window': ['GdkWindow'] the 'GdkWindow' which will own the grab (the
          grab window).

'owner.events': [logical] if 'FALSE' then all keyboard events are
          reported with respect to 'window'. If 'TRUE' then keyboard
          events for this application are reported as normal, but
          keyboard events outside this application are reported with
          respect to 'window'. Both key press and key release events
          are always reported, independant of the event mask set by the
          application.

  'time': [numeric] a timestamp from a 'GdkEvent', or
          'GDK_CURRENT_TIME' if no timestamp is available.

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

     If you set up anything at the time you take the grab that needs to
     be cleaned up when the grab ends, you should handle the
     'GdkEventGrabBroken' events that are emitted when the grab ends
     unvoluntarily.

_V_a_l_u_e:

     ['GdkGrabStatus'] 'GDK_GRAB_SUCCESS' if the grab was successful.

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

     Derived by RGtkGen from GTK+ documentation

