Container.getFocusChain

bool getFocusChain(out gtk.widget.Widget[] focusableWidgets)

Retrieves the focus chain of the container, if one has been set explicitly. If no focus chain has been explicitly set, GTK+ computes the focus chain based on the positions of the children. In that case, GTK+ stores null in focusable_widgets and returns false.

Parameters

focusableWidgetslocation to store the focus chain of the container, or null. You should free this list using [glib.list.List.free] when you are done with it, however no additional reference count is added to the individual widgets in the focus chain.

Returns

true if the focus chain of the container

has been set explicitly.

Deprecated

For overriding focus behavior, use the

GtkWidgetClass::focus signal.