[pygtk] seperate thread for database query

Matthias Teege mteege at gmail.com
Thu Oct 14 22:10:29 WST 2004


On Thu, 14 Oct 2004 08:44:29 -0400, Chris Lambacher <lambacck at gmail.com> wrote:
> The threads_init, threads_enter and threads_leave calls on provide
> mutual exclusion on the gtk interface.  You can only be accessing the
> display from one thread at a time.  You will have to use the normal

Does this mean, that It isn't possible to start the interface in a
mode where I can work with it and fill long lists secondary? The
problem isn't the database query which is very fast but looping to the
result and insert the items to the treemodel is slow. What I really
need is a asynchronous treemodel.

Matthias


More information about the pygtk mailing list