Function
Gdkkeyboard_grab
Declaration [src]
GdkGrabStatus
gdk_keyboard_grab (
GdkWindow* window,
gboolean owner_events,
guint32 time_
)
Description [src]
Grabs the keyboard so that all events are passed to this application until the keyboard is ungrabbed with gdk_keyboard_ungrab(). This overrides any previous keyboard grab by this client.
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.
Deprecated since: | 3.0 |
Use |
Parameters
window |
GdkWindow |
The |
|
The data is owned by the caller of the function. | |
owner_events |
gboolean |
If |
|
time_ |
guint32 |
A timestamp from a |
Return value
Returns: | GdkGrabStatus |
|