Gtk.Window.prototype.activate_default

function activate_default():Boolean {
    // Gjs wrapper for gtk_window_activate_default()
}

Activates the default widget for the window, unless the current focused widget has been configured to receive the default action (see Gtk.Widget.prototype.set_receives_default), in which case the focused widget is activated.

Returns

true if a widget got activated.