gtkEntryGetLayout
Gets the PangoLayout
used to display the entry.
The layout is useful to e.g. convert text positions to
pixel positions, in combination with gtkEntryGetLayoutOffsets
.
gtkEntryGetLayout(object)
|
a |
Keep in mind that the layout text may contain a preedit string, so
gtkEntryLayoutIndexToTextIndex
and
gtkEntryTextIndexToLayoutIndex
are needed to convert byte
indices in the layout to byte indices in the entry contents.
[PangoLayout
] the PangoLayout
for this entry. [ transfer none ]
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.