On Sun, Feb 27, 2011 at 7:14 PM, Edward K. Ream <[email protected]> wrote:
> On Sat, Feb 26, 2011 at 4:59 PM, Ivanov Dmitriy <[email protected]> wrote: > >> Can we create a thread safe function for all the graphic libs? > > Don't even think about it. It could work. The implementation would just be different for Tk and Qt. In Qt, you would queue the messages in a list when running in a thread, and use QTimer.singleShot to dump the message to the UI. This would make all ui manipulation happen in main loop. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
