On Tue, 2007-10-23 at 08:59 -0700, Christopher Barker wrote: > Hi Tim, > > Thanks for all this!
Your welcome. > I haven't had time to apply your patches to SVN, but I do intend to. I maintain my own version of wxFloatCanvas as part of my client which is very dependent on it (it is used for the starmap). You can find it here -> http://git.thousandparsec.net/gitweb/gitweb.cgi?p=tpclient-pywx.git;a=tree;f=extra/wxFloatCanvas;hb=development The main reason I do this is that I need to support older versions of wxPython which might not have the latest version of FloatCanvas. I try to make sure I don't diverge too far from your version, but we should check sometime that I have not made many other changes. > keep 'em coming! Will do. > Tim Ansell wrote: > > Hello, > > > > I need to customise what occurs with various key events on my > > FloatCanvas. I would like to do this the same way I customise mouse > > clicks, via the GUIMode code. > > > > I have included a patch which allows this to occur. > > > > The only caveat is that you have to make sure that the FloatCanvas > > itself has the keyboard focus before these events will occur. I have > > code in my top level panel to give the Focus to the FloatCanvas, so it > > works for me. > > > > Hope this is useful! > > > > Tim 'Mithro' Ansell I also have a "combined" GUIMode which makes the map a bit nicer (It combines the normal GUIMouse with the GUIMove mode). Plus adds keyboard navigation of the map. I'll send you a patch when it gets closer to being finished. > By the way, if you see yourself doing much more, we should talk about > giving you SVN write access. It doesn't really bother me too much because of the above. > -Chris Tim 'Mithro' Ansell _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
