Method GTK2.Widget()->grab_focus()


Method grab_focus

GTK2.Widget grab_focus()

Description

Causes this widget to have the keyboard focus. This widget must be a focusable widget, such as a GTK2.Entry; something like GTK2.Frame won't work.