[Customdrawn] Replace some widgets

Giuliano Colla giuliano.colla at fastwebnet.it
Thu Apr 5 14:28:33 CEST 2012

Michael Schnell ha scritto:
> Of course some backends will need an event queue done in Pascal code 
> (e.g. if it is not possible to feed events (e.g. generated by threads) 
> to the event queue that might be provided by the GUI API, an Event queue 
> needs to be implemented in Pascal, that needs to be synchronized (i.e. 
> fed by or alternately fetched from) with the event queue the GUI API 
> might provide. As this is an ubiquitous issue, it does make sense to 
> implement the event queue outside of the backend code, and thus make it 
> usable for all current and upcoming backends.

This is just one of the fields which needs development in Customdrawn, 
at least for some backends, like X11. Momentarily I've simply taken 
advantage of X11 message queue, but I'm also considering other 
possibilities, such as using Glib's GLoop, or implement one using fpc 
TThreads, just to mention two possible candidates. It would be 
preferable to have an event queue common for all backends, and therefore 
this implies taking into account many factors.
However, it that's what you need, I think you'll get it. Sooner or later :-)

Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

More information about the Customdrawn mailing list