Can I get coordinates of mouse click ?

603 views
Skip to first unread message

R S

unread,
Oct 9, 2015, 12:49:22 PM10/9/15
to golang-nuts
I need to get coordinates of the mouse only if it was clicked. I'm interested in cross platform solution or at least for Linux.

Garrett D'Amore

unread,
Oct 9, 2015, 4:02:23 PM10/9/15
to golang-nuts


On Friday, October 9, 2015 at 9:49:22 AM UTC-7, R S wrote:
I need to get coordinates of the mouse only if it was clicked. I'm interested in cross platform solution or at least for Linux.


It offers full cross-platform support and mouse reporting within terminal windows.  Nothing there for GUI windows though. 

Chris Manghane

unread,
Oct 9, 2015, 4:05:51 PM10/9/15
to golang-nuts
On Fri, Oct 9, 2015 at 9:49 AM R S <fn76...@gmail.com> wrote:
I need to get coordinates of the mouse only if it was clicked. I'm interested in cross platform solution or at least for Linux.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages