pangoLayoutXToIndex().
If either the X or Y positions were not inside the layout, then the
function returns FALSE; on an exact hit, it returns TRUE.pangoLayoutXyToIndex(object, x, y)objectxyTRUE if the coordinates were inside text, FALSE otherwise.indextrailing