Package: gtk

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

Lambda List

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

Arguments

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

Return Value

Byte index into the entry contents.

Details

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

See also

#2023-3-4