For widgets that can be “activated” (buttons, menu items, etc.), this function activates them.
The activation will emit the signal set using gtk.widget_class.WidgetClass.setActivateSignal during class initialization.
Activation is what happens when you press <kbd>Enter</kbd> on a widget during key navigation.
If you wish to handle the activation keybinding yourself, it is recommended to use gtk.widget_class.WidgetClass.addShortcut with an action created with gtk.signal_action.SignalAction.new_.
If widget isn't activatable, the function returns false.
true if the widget was activatable
For widgets that can be “activated” (buttons, menu items, etc.), this function activates them.
The activation will emit the signal set using gtk.widget_class.WidgetClass.setActivateSignal during class initialization.
Activation is what happens when you press <kbd>Enter</kbd> on a widget during key navigation.
If you wish to handle the activation keybinding yourself, it is recommended to use gtk.widget_class.WidgetClass.addShortcut with an action created with gtk.signal_action.SignalAction.new_.
If widget isn't activatable, the function returns false.