Re: Python 3.4 / GTK3 / Async



Am Dienstag, den 04.10.2016, 08:44 -0400 schrieb Adam Tauno Williams:
On Mon, 2016-10-03 at 17:01 +0200, adrian lanz bluewin ch wrote:
I use tkinter with a async function on a Linux/Window app.
Now I will use gtk3 instead of tkinter.
Is there also a way to run my async function?


I believe the only requirement when using Gtk is to only call Gtk
methods [change the UI] from the main thread;  so if other threads
just
queue or signal the main thread you should be OK.

I think so too.

And anyway, don't expect too much from async operations since CPython
(the default interpreter) has a global interpreter lock forcing it to
run single-threaded.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]