gtkEntryGetLayout {RGtk2} | R Documentation |
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)
|
[GtkEntry ] a GtkEntry |
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
Derived by RGtkGen from GTK+ documentation