MenuShell.takeFocus

bool takeFocus() @property

Get takeFocus property.

Returns

A boolean that determines whether the menu and its submenus grab the

keyboard focus. See [gtk.menu_shell.MenuShell.setTakeFocus] and [gtk.menu_shell.MenuShell.getTakeFocus].

void takeFocus(bool propval) @property

Set takeFocus property.

Parameters

propvalA boolean that determines whether the menu and its submenus grab the keyboard focus. See [gtk.menu_shell.MenuShell.setTakeFocus] and [gtk.menu_shell.MenuShell.getTakeFocus].