ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-chaco
scipy-chaco
Re: [Chaco-users] issue with ImageInspectorTool...
by Bryan Van de Ven other posts by this author
Aug 7 2007 10:01AM messages near this date
Re: [Chaco-users] issue with ImageInspectorTool... | Re: [Chaco-users] issue with ImageInspectorTool...
Fred,

The need to mouse click is certainly a bug, though after some digging it looks 
like it might be a WX one, so I am not sure what, if anything can be done.

I traced through your code below, and interestingly enough, <ctrl> +i is getting 
reported as the Tab character (!?)  I'll see if I can find out why, but in the 
mean time you can try a different key combination. I tried <ctrl> +x for 
instance, and that worked.

Bryan

>  I (alwasy) do clicking on my plot before hitting any key.
>  I was aware of this.
>  And was thinking it was the expected behavior, not a bug.
>  
>  BTW, I get some news.
>  
>  Here's my snippet code:
>  
>  class InspectorTool(AbstractOverlay):
>     
>      inspector_key = KeySpec('i', 'control')
>     
>      def _inspect_image(self):
>         print 'blah'
>     
>      def normal_key_pressed(self, event):
>          if self.inspector_key.match(event):
>              self._inspect_image()
>  
>  "blah" is never displayed because self.inspector_key.match(event) is
>  always False.

_______________________________________________
Chaco-users mailing list
Chaco-users@[...].com
https://mail.enthought.com/mailman/listinfo/chaco-users
Thread:
Fred
Bryan Van de Ven
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Peter Wang
Fred
Fred
Fred
Fred
Fred
Bryan Van de Ven
Fred
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Bryan Van de Ven
Fred
Peter Wang
Fred
Peter Wang
Fred
Fred

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved