Gtk.Container.prototype.get_focus_child

function get_focus_child():Gtk.Widget {
    // Gjs wrapper for gtk_container_get_focus_child()
}

Returns the current focus child widget inside container. This is not the currently focused widget. That can be obtained by calling Gtk.get_focus.

Since 2.14

Returns

The child widget which will receive the focus inside container when the @conatiner is focussed, or null if none is set.