Container.setFocusChild

Sets, or unsets if child is NULL, the focused child of container.

This function emits the GtkContainer::set_focus_child signal of container. Implementations of gtk.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 Widget.grabFocus to manually set the focus to a specific widget.

class Container
void
setFocusChild

Parameters

child Widget

a gtk.Widget, or NULL