From: Robin Dunn on 2 Oct 2007 14:16 Riccardo Cohen wrote: > For instance when a user select a zone, I have a mouse motion event, and > I want to draw a rectangle that follows the mouse to show the zone, I > can resize a rectangle object and then refresh, but it is easyer to call > drawrectangle() immediatly. The same for timer event : for blinking > objects I simpy change the color at each timer event and draw a little > point with this color. "Easier" doesn't always mean "better" ;-) -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
First
|
Prev
|
Pages: 1 2 Prev: templates vs. WX_DECLARE_LIST() (was: wx for ARM) Next: Open PDF file from help |