Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Container

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.