Package: gtk

Function gtk:entry-text-index-to-layout-index

Lambda List

gtk:entry-text-index-to-layout-index (entry index)

Arguments

entry -- a gtk:entry widget
index -- an integer with the byte index into the entry contents

Return Value

The integer with the byte index into the entry layout text.

Details

Converts from a position in the Pango layout of the entry, returned by the gtk:entry-layout function, to a position in the entry contents, returned by the gtk:entry-text function.
 

See also

#2023-3-4