RGtk2 (version 2.20.31)

gtkContainerSetFocusChain: gtkContainerSetFocusChain

Description

Sets a focus chain, overriding the one computed automatically by GTK+.

Usage

gtkContainerSetFocusChain(object, focusable.widgets)

Arguments

object
focusable.widgets
the new focus chain

Details

In principle each widget in the chain should be a descendant of the container, but this is not enforced by this method, since it's allowed to set the focus chain before you pack the widgets, or have a widget in the chain that isn't always packed. The necessary checks are done when the focus chain is actually traversed.