On 10/13/10 9:10 AM, Henning Hraban Ramm wrote:
> Am 2010-10-13 um 16:40 schrieb John Fabiani:
>>
>> how about putting in on the wiki
>
> Here you are: http://wiki.dabodev.com/Events
>
> One could write a lot more, but I don't know too much ;-)
> E.g.
> - is there a connection between dabo and wx events?

Only in that all the wx events we've wrapped will raise a corresponding Dabo 
event, 
in the same event dispatch loop, and will include the native event information 
in 
EventData.


> - are dabo events usable for async programming?

I think they'd work, but they weren't designed for it.


> - how can non-GUI objects work with events? (possibly without
> inheriting dObject)

You'd need to inherit dabo.lib.eventMixin.EventMixin. It is a pretty simple 
implementation.


> - would it make sense for the framework or my own apps to use
> something like PyDispatcher?

For general-use event-handling, I think I'd use one of the libraries built for 
this, 
like PyDispatcher, pubsub, or Twisted, depending on my specific needs. The Dabo 
event 
handling stuff was designed to be general-use, but was really built 
specifically to 
wrap wx events. If that makes any sense...

Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to