Gtk.Widget.prototype.activate
function activate():Boolean {
// Gjs wrapper for gtk_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.
- Returns
true if the widget was activatable