You cou use the selection tool and get the selection or use the path tool's
initial point, or create a preview window, where you can get events more
directly. Other way is to associate a key binding at your plugin that
catches the position of your mouse in that moment and then get the pixel
View this message in context:
Sent from the Gimp Developer mailing list archive at Nabble.com.
Gimp-developer mailing list