void gtk_container_set_focus_hadjustment ( GtkContainer* container, GtkAdjustment* adjustment )
Hooks up an adjustment to focus handling in a container, so when a child
of the container is focused, the adjustment is scrolled to show that
widget. This function sets the horizontal alignment.
gtk_scrolled_window_get_hadjustment() for a typical way of obtaining
the adjustment and
gtk_container_set_focus_vadjustment() for setting
the vertical adjustment.
The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.
An adjustment which should be adjusted when the focus is
moved among the descendents of
|The data is owned by the caller of the function.|