Package: gtk

Function gtk-container-focus-vadjustment

Lambda List

gtk-container-focus-vadjustment (container)

Syntax

(gtk-container-focus-vadjustment container) => adjustment
(setf (gtk-container-focus-vadjustment 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 vertical focus adjustment of the container.

The gtk-container-focus-vadjustment function retrieves the vertical focus adjustment for the container. The (setf gtk-container-focus-vadjustment) function sets the vertical 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