Package: gtk
Function gtk:scale-layout-offsets
Lambda Listgtk:scale-layout-offsets (scale) ArgumentsReturn Value x -- an integer with the x offset of the Pango layout y -- an integer with the y offset of the Pango layout 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 false, the return values are undefined. | See also |
2024-12-5