[fpc-pascal] Timer in X11
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Wed Dec 21 12:14:20 CET 2011
On Wed, 21 Dec 2011, Felipe Monteiro de Carvalho wrote:
> Hello,
>
> Does anyone know what would be the solution for implementing timer
> support in a X11 toolkit? I already have TTimer support implemented
> for LCL-CustomDrawn-Windows, Cocoa and Android (but Android is the
> best tested of them), but it looks like X11 has no support for timers,
> so I wonder what the best approach would be to solve this.
As far as I know, most toolkits do a timeout on the X11 communication handle
(using select()) and this timeout is used to implement the timers.
Michael.
More information about the fpc-pascal
mailing list