Gtk.Container.prototype.set_focus_child
function set_focus_child(child:Gtk.Widget):void {
// Gjs wrapper for gtk_container_set_focus_child()
}Sets, or unsets if child is null, the focused child of container.
This function emits the GtkContainer::set_focus_child signal of container. Implementations of Gtk.Container can override the default behaviour by overriding the class closure of this signal.
This is function is mostly meant to be used by widgets. Applications can use Gtk.grab_focus to manualy set the focus to a specific widget.
- child
a Gtk.Widget, or null