I can't seem to figure out how to add a reference to System.Windows.Input
now that it is part of the PresentationCore assembly.  Specifically I'm
trying to check for the enterkey, but I'm forced to do this:

if str(e.Key) == "Return":

instead of

if e.Key == Key.Enter:


I'm using Ironpython 2.6.1 RC1 with .Net 3.5.


Thanks
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to