set_focus_child


Description:

public virtual void set_focus_child (Widget? child)

Set child as the current focus child of this.

The previous focus child will be unset.

This function is only suitable for widget implementations. If you want a certain widget to get the input focus, call grab_focus on it.

Parameters:

this

a Widget

child

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