I have done this on several occasions.  In fact, if your program is
doing something that will take a long time, like reading and
processing data, another thread is necessary in order to keep the GUI
from bogging down.  Dabo plays well with the Python threading
libraries.

When I have used separate threads, I have found that I don't need to
tap into the dabo event model at all.  It can process stuff on it's
own and communicate user requests to the backend logic with the
backend even worrying about it's existence.  Can you elaborate on what
you are planning on doing?  I can probably recommend a course of
action if you can provide some more detail.

Cheers,

Nate L.

On 6/14/07, Gary Thompson <[EMAIL PROTECTED]> wrote:
> Hi,
>      I have a requirement to use threading with additional threads
> interacting with the GUI.  I've read a mention in the FAQ that I can go
> down to wxPython level, but then that doesn't take into account the Dabo
> Event Model.  Basically, I'm interested in finding out more about this.
>
> I'm happy to use what ever infrastructure exists within dabo to allow me
> to register events with the main GUI loop (perhaps adding events to a
> queue?).  I'll dig into the source code, but any help would be great.
>
> Is there a way I can create my own event objects which the main program
> can respond to?
>
> Thank you,
>
> Gary.
>
>
[excessive quoting removed by server]

_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to