Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method GTK2.GdkWindow()->grab_input_focus()


Method grab_input_focus

GDK2.Window grab_input_focus()

Description

Forcibly grab the input focus.

Useful for override-redirect windows in games. Note that the only way to get rid of the focus is to close the window, be careful.