Entry.layoutIndexToTextIndex
int layoutIndexToTextIndex(int layoutIndex)Converts from a position in the entry’s #PangoLayout (returned by gtk.entry.Entry.getLayout) to a position in the entry contents (returned by gtk.entry.Entry.getText).
Parameters
layoutIndex | byte index into the entry layout text |
Returns
byte index into the entry contents