RGtk2 (version 2.20.31)

gtkScaleGetLayoutOffsets: gtkScaleGetLayoutOffsets

Description

Obtains the coordinates where the scale will draw the PangoLayout representing the text in the scale. Remember when using the PangoLayout function you need to convert to and from pixels using pangoPixels() or PANGO_SCALE.

Usage

gtkScaleGetLayoutOffsets(object)

Arguments

object

Value

A list containing the following elements:
x
location to store X offset of layout, or NULL. [ allow-none ]
y
location to store Y offset of layout, or NULL. [ allow-none ]

Details

If the "draw-value" property is FALSE, the return values are undefined. Since 2.4