activate
Description:
Activates the widget.
The activation will emit the signal set using [method@Gtk.WidgetClass.set_activate_signal] during class initialization.
Activation is what happens when you press <kbd>Enter</kbd> on a widget.
If you wish to handle the activation keybinding yourself, it is recommended to use [method@Gtk.WidgetClass.add_shortcut] with an action created with [ctor@Gtk.SignalAction.new].
If this is not activatable, the function returns false.
Parameters:
this |
a widget that is activatable |
Returns:
true if the widget was activated |