Pike v8.1 release 6

Method GTK2.Container()->set_focus_chain()


Method set_focus_chain

GTK2.Container set_focus_chain(array focusable_widgets)

Description

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

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.