Entry.textIndexToLayoutIndex

Converts from a position in the entry contents (returned by Entry.getText) to a position in the entry’s gtk.Layout (returned by Entry.getLayout, with text retrieved via Layout.getText).

class Entry
int
textIndexToLayoutIndex
()

Parameters

textIndex int

byte index into the entry contents

Return Value

Type: int

byte index into the entry layout text