gtkEntryGetLayout: gtkEntryGetLayout

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

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.

Usage

1

Arguments

object

a GtkEntry

Details

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.

Value

[PangoLayout] the PangoLayout for this entry. [ transfer none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.