[wxPython-users] wxPython - is order of multiple events arbitrary across platforms?

Robin Dunn robin at alldunn.com
Thu Aug 3 10:39:15 PDT 2006


neptune321 at excite.com wrote:

> For user actions on a wxWidget that trigger multiple events for 
> that wxWidget, is the order those events are processed in 
> undefined, and therefore arbitrary from one platform (ie Windows) 
> to the next (ie Linux)?

Yes, it's possible that they can come in different orders.  Especially 
when low level native events are involved, wxWidgets can only send them 
when the platform sends them to us, and doesn't make any effort to 
reorder or to make the order consistent across platforms.  The most that 
is done is in a few cases the native event may be suppressed if it is 
sent in a situation where there shouldn't be a wx event, such as when a 
programmatic change is made to a widget.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list