I am still trying to get a handle on how one uses the GUIMode's. Looking at the fc/demo/MouseTest.py sample I just don't get it how one has e.g. two different OnLeftDown handlers for two different GUI modes.
I naively created a module which contains my two GUIModes which are sub-classed/inherit from GUIMode.GUIMouse, each with his specific OnLeftDown handler. But doing this is still calling the event handler defined in my application and not the one in the GUIMode. Sub-classing/inheriting is still a bit of black magic for me, so it could very easily be that I did something wrong. Should there be a different "Bind" command for the above to work, or should the one common OnLeftDown handler check the GUIMode the application is in and call the specific handler? Thanks in advance for any pointers on this. Werner _______________________________________________ FloatCanvas mailing list [email protected] http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
