Label.getLayout
pango.layout.Layout getLayout()Gets the pango.layout.Layout used to display the label.
The layout is useful to e.g. convert text positions to pixel positions, in combination with gtk.label.Label.getLayoutOffsets. The returned layout is owned by the label so need not be freed by the caller. The label is free to recreate its layout at any time, so it should be considered read-only.
Returns
the pango.layout.Layout for this label