Widget.setFocusChild

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.

class Widget
void
setFocusChild

Parameters

child gtk.widget.Widget

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