Package: gtk

Function gtk-container-focus-hadjustment

Lambda List

gtk-container-focus-hadjustment (container)

Syntax

(gtk-container-focus-hadjustment container) => adjustment
(setf (gtk-container-focus-hadjustment container) adjustment)

Arguments

container -- a gtk-container widget
adjustment -- a gtk-adjustment object which should be adjusted when the focus is moved among the descendents of the container

Details

Accessor of the horizontal focus adjustment of the container.

The gtk-container-focus-hadjustment function retrieves the horizontal focus adjustment for the container. The (setf gtk-container-focus-hadjustment) function sets the horizontal 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. The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.
 

See also

2021-9-12