Widget.setFocusChild

void setFocusChild(gtk.widget.Widget child = null)

Set child as the current focus child of widget.

This function is only suitable for widget implementations. If you want a certain widget to get the input focus, call [gtk.widget.Widget.grabFocus] on it.

Parameters

childa direct child widget of widget or null to unset the focus child of widget