keyboard_grab

GdkGrabStatus keyboard_grab(GdkWindow window [, bool owner_events = FALSE [, int time = GDK_CURRENT_TIME]]);