Learn R Programming

RGtk2 (version 2.20.31)

gtkContainerSetFocusVadjustment: gtkContainerSetFocusVadjustment

Description

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 vertical alignment. See gtkScrolledWindowGetVadjustment for a typical way of obtaining the adjustment and gtkContainerSetFocusHadjustment for setting the horizontal adjustment.

Usage

gtkContainerSetFocusVadjustment(object, adjustment)

Arguments

object
adjustment
an adjustment which should be adjusted when the focus is moved among the descendents of container

Details

The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.