Finds the icon at the given position and return its index.
The position’s coordinates are relative to the this’s top left corner. If x
, y
doesn’t lie inside an icon, -1 is returned. This function is intended for use in a [[email protected]:
GtkEntry:query-tooltip
] signal handler.
this |
a `GtkEntry` |
x |
the x coordinate of the position to find, relative to this |
y |
the y coordinate of the position to find, relative to this |
the index of the icon at the given position, or -1 |