Package: gtk

Function gtk-scale-layout-offsets

Lambda List

gtk-scale-layout-offsets (scale)

Arguments

scale -- a gtk-scale widget

Return Value

x -- an integer with the x offset of layout, or nil
y -- an integer with the y offset of layout, or nil

Details

Obtains the coordinates where the scale will draw the Pango layout representing the text in the scale. Remember when using the pango-layout functions you need to convert to and from pixels using the pango-pixels function or the +pango-scale+ constant. If the draw-value property is nil, the return values are undefined.
 

See also

2021-12-27