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

Re: [pygame] GSoC



Casey Duncan wrote:

IMHO callbacks vs. events are an architecture opinion that a library should
not force upon an application. It seems to me like little extra work to support
both.

For what it's worth, the event style can easily be used in Albow
if you want, by installing a callback that schedules a function
to be called after a delay of 0. This will ensure that it happens
after all processing of the current event is finished, but before
processing any other events.

--
Greg