Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkEntryGetLayout

gtkEntryGetLayout


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

gtkEntryGetLayout(object)

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.