RGtk2 (version 2.20.31)

gtkEntryTextIndexToLayoutIndex: gtkEntryTextIndexToLayoutIndex

Description

Converts from a position in the entry's PangoLayout (returned by gtkEntryGetLayout) to a position in the entry contents (returned by gtkEntryGetText).

Usage

gtkEntryTextIndexToLayoutIndex(object, text.index)

Arguments

object
text.index
byte index into the entry contents

Value