Getting XY from mouse click using python

Discussion created by mhawks on Feb 3, 2012
Latest reply on Jun 25, 2013 by eulessdave
Hi all,
I would like to create a button that captures the location of the next mouse click and displays it in LAT/LONG. I imagine is would have to open a submenu which would be closed when the user is finished getting location information. Is there any way to do this using python?