Package: gtk

Function gtk-entry-icon-at-pos

Lambda List

gtk-entry-icon-at-pos (entry x y)

Arguments

entry -- a gtk-entry widget
x -- an integer with the x coordinate of the position to find
y -- an integer with the y coordinate of the position to find

Return Value

The index of the icon at the given position, or -1.

Details

Finds the icon at the given position and return its index. The coordinates of the posistion are relative to the top left corner of the entry. If x, y does not lie inside an icon, -1 is returned. This function is intended for use in a "query-tooltip" signal handler.
 

See also

2021-11-4