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

Re: [pygame] Gui



> How a user interface implementing this PEP generators would do that? Any
> idea or (pseudo-)example?

I haven't thought about it a lot, but I imagined that a GUI event
might simply send a value to a suspended coroutine, rather than firing
an event or calling a callback function... hang about...

...now that I've thought about it for more than 5 seconds, it's
probably not much different to the current event handling / callback
techniques people use, though I think state management will be much
easier, and more concise.

Sw.