No, thats great. That is exactly what I want. Thanks for the help!

Adam 

On May 20, 2014, at 3:07 PM, Damon Courtney <damon@tclhome.com> wrote:

I would see that as more a mistake on the Windows and Linux side. Thereís absolutely no reason a KEY event should return the current coordinates of the MOUSE. :) Other than just trying to be complete, but Iím actually surprised that works on any platform. I wouldnít have expected it to at all.

Either way, you can use [winfo pointerx $toplevel] and [winfo pointery $toplevel] (or [winfo pointerxy $toplevel] for both at once) to get the mouse coordinates. Unless Iím missing what is being asked for, in which case, Iíll shut up. :)

Damon


On May 20, 2014, at 5:01 PM, Kevin Walzer <kw@codebykevin.com> wrote:

On 5/20/14, 5:48 PM, Adam Updegrove wrote:
Hello,

I am currently working on developing a GUI in mac. I am using tcl/tk 8.5.
I am encountering an issue where the %x and %y for tkinter are returning the same value (negative values) no matter where my cursor is for a KeyPress. %X and %Y return 0 values.
In Ubuntu and Windows, the same exact code returns the values I actually want.

I was wondering if anyone has seen something similar?

It's a known issue, but I haven't found a workable fix for it.

--Kevin

--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Tcl-mac mailing list
tcl-mac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-mac


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Tcl-mac mailing list
tcl-mac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-mac