setFocusChild

open fun setFocusChild(child: Widget? = 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 method@Gtk.Widget.grab_focus on it.

Parameters

child

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