Learn R Programming

RGtk2 (version 2.20.31)

gtkEntryLayoutIndexToTextIndex: gtkEntryLayoutIndexToTextIndex

Description

Converts from a position in the entry contents (returned by gtkEntryGetText) to a position in the entry's PangoLayout (returned by gtkEntryGetLayout, with text retrieved via pangoLayoutGetText).

Usage

gtkEntryLayoutIndexToTextIndex(object, layout.index)

Arguments

object
layout.index
byte index into the entry layout text

Value