get_focus_chain


Description:

[ Version ( deprecated = true , deprecated_since = "3.24" ) ]
public bool get_focus_chain (out List<weak Widget> focusable_widgets)

Warning: get_focus_chain is deprecated since "3.24".

Retrieves the focus chain of the container, if one has been set explicitly.

Note:

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

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:

this

a Container

focusable_widgets

location to store the focus chain of the container, or null. You should free this list using g_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.