Package: gtk
Accessor gtk:menu-shell-take-focus
Lambda Listgtk:menu-shell-take-focus (object) SyntaxArgumentsDetails Accessor of the take-focus slot of the gtk:menu-shell class. If take-focus 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. Setting take-focus to false is useful only for special applications like virtual keyboard
implementations which should not take keyboard focus. The take-focus state of a menu or menu bar is automatically propagated to submenus whenever a submenu is popped up, so you do not have to worry about recursively setting it for your entire menu hierarchy. Only when programmatically picking a submenu and popping it up manually, the take-focus property of the submenu needs to be set explicitely. Notes | See also |
#2023-3-21