Does anybody know how to generate and process my "private" events? I can 
subclass the Event() class, say, MyEvent,
with a name "my_event", and I can -
    canvas.mpl_connect('my_event', aCallback)

but then, how to fire one? (I don't want to call the callback directly).


Suppose that the interface, when show() is active launches a 
simulation/visualisation program which animates many things in its 
figure. From time to time something "special" appears, and its behaviour 
should be steered by those private events.

(Yes, I know that I can do it in several other ways, or write my own 
event-processing loop, or use directly wxPython or PyGTK instead of 
Matplotlib. So, I don't need the replacement solution, but just a way to 
fire events within Matplotlib...)

Thank you.

Jerzy Karczmarczuk
Caen, France

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to