set_focus_child


Description:

[ HasEmitter ]
public virtual signal void set_focus_child (Widget? child)

Sets, or unsets if child is null, the focused child of this.

This function emits the GtkContainer:GtkContainer:set_focus_child signal of this. Implementations of Container can override the default behaviour by overriding the class closure of this signal.

This is function is mostly meant to be used by widgets. Applications can use grab_focus to manually set the focus to a specific widget.

Parameters:

child

a Widget, or null

container

a Container