gtkScaleGetLayoutOffsets {RGtk2}R Documentation

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 [GtkScale] a GtkScale

Details

If the :draw-value property is FALSE, the return values are undefined.

Since 2.4

Value

A list containing the following elements:

x [integer] location to store X offset of layout, or NULL
y [integer] location to store Y offset of layout, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]