Package: gtk

Function gtk-label-layout

Lambda List

gtk-label-layout (label)

Arguments

label -- a gtk-label widget

Return Value

The pango-layout object for this label.

Details

Gets the Pango layout used to display the label. The layout is useful to e.g. convert text positions to pixel positions, in combination with the gtk-label-layout-offsets function. The label is free to recreate its layout at any time, so it should be considered read-only.
 

See also

2021-10-31