Widget.activate

For widgets that can be “activated” (buttons, menu items, etc.) this function activates them. Activation is what happens when you press Enter on a widget during key navigation. If @widget isn't activatable, the function returns %FALSE.

Return: %TRUE if the widget was activatable

class Widget
bool
activate
()

Meta