Scale.getLayoutOffsets

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 PANGO_PIXELS() or #PANGO_SCALE.

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

class Scale
void
getLayoutOffsets
(
out int x
,
out int y
)

Parameters

x int

location to store X offset of layout, or %NULL

y int

location to store Y offset of layout, or %NULL

Meta