Pike v8.1 release 6

Method GTK2.MenuShell()->set_take_focus()


Method set_take_focus

GTK2.MenuShell set_take_focus(int setting)

Description

If setting is TRUE (the default), the menu shell will take the keyboard focus so that it will receive all keyboard events which is needed to enable keyboard navigation in menus.