Hi John,

John Hunter <jdh2...@gmail.com> writes:
> On Thu, Jun 4, 2009 at 9:00 AM, Ole Streicher <ole-usenet-s...@gmx.net> wrote:
>> when I scroll or zoom with the mouse wheel, the scaling of the x and y
>> axes are changed within the event. I would need now the new value of
>> these to update the status bar. How can I get them without waiting for a
>> new mouse event?
>
> Not sure I understand the question...  Could you be more specific,
> maybe post a code sample?

The point is that there may occure changes in the diagram axes that are
not connected to a mouse event. Example: I use the Qt backend, and
defined an QAction "zoom in" connected to the Ctrl-"+" key.

At the same time, the status bar of my application shows the position of
the mouse in the diagram. Usually, the updates of the position is
connected to the "motion_notify_event" which returns the mouse position
on change.

When the mouse is not moved, but the "zoom in" action is triggered (via
hotkey in this example), I would need to update the status bar so that
it shows the coordinated that are under the mouse cursor *after* the
zoom was applied. 

Does this make my problem better understandable?

Cheers

Ole


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to