471,330 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

wxPython funtion EVT_PAINT

12
what a funtion of EVT_PAINT if i not use that can it work normally for drawing or show a picture
Sep 25 '07 #1
1 3639
bartonc
6,596 Expert 4TB
what a funtion of EVT_PAINT if i not use that can it work normally for drawing or show a picture
The wx.EVT_PAINT happens when some part of the interior of a window needs to be redrawn. A good example is a scrolled window. When the user scrolls, the part of the window's contents that becomes visible is repainted. Most widgets (a multi-line wx.TextCtrl, for example) take care of the repainting automatically.

If you draw directly to the device context (wx.DC), then you will need to handle wx.EVT_PAINT events.
Sep 25 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by max4 | last post: by
2 posts views Thread by marco | last post: by
1 post views Thread by Curzio Basso | last post: by
6 posts views Thread by Zunbeltz Izaola | last post: by
8 posts views Thread by Jan Danielsson | last post: by
2 posts views Thread by Bill Jackson | last post: by
1 post views Thread by herve | last post: by
12 posts views Thread by Matt Bitten | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.