Method

GtkContainerset_focus_chain

Declaration [src]

void
gtk_container_set_focus_chain (
  GtkContainer* container,
  GList* focusable_widgets
)

Description [src]

Sets a focus chain, overriding the one computed 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.

Deprecated since:3.24

For overriding focus behavior, use the GtkWidgetClass::focus signal.

Parameters

focusable_widgets A list of GtkWidget*
 
the new focus chain.
 The data is owned by the caller of the function.