set_focus_child


Description:

public virtual void set_focus_child (Widget? child)

Set child as the current focus child of this.

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:

this

a `GtkWidget`

child

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