[wxPython-users] Capturing keydown events

Peter Damoc pdamoc at gmail.com
Mon Sep 24 06:22:05 PDT 2007


On 9/24/07, Buran, Brad <Brad_Buran at meei.harvard.edu> wrote:
>
> I tried that, but the FigureCanvasWxAgg does
> not seem to accept "style" as a keyword.
>

Force it eat that style with SetWindowStyle :)
self.canvas.SetWindowStyle(wx.WANTS_CHARS)
Docs say you might also need to call a Refresh() afterwards.

Peter.

P.S.
Today seams to be National Thank You
Day<http://www.nationalthankyouday.com/>in US and even if I'm not from
US I would still like to thank everybody who
helped me on this list over the years.
Thank you very much!
-- =

There is NO FATE, we are the creators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200709=
24/66f7526e/attachment.htm


More information about the wxpython-users mailing list