[Lazarus] Message Loop paused when no interaction with mouse?
zeljko
zeljko at holobit.net
Wed Apr 20 16:08:26 CEST 2011
On Wednesday 20 of April 2011 16:05:47 Henry Vermaak wrote:
> On 20/04/11 14:51, Bernd wrote:
> > Are there any other ways under GTK2 (or xorg?) to send a message to a
> > window that simulates user interaction? I need to find some kind of
> > workaround to wake up the GUI.
>
> As I've noted before, PostMessage does wake up the main thread (when you
> compile your project with -dusecthreads). And I use QueueAsyncCall with
> a manual wakeup, which works well for me on win32 and gtk2. I use svn
> head, by the way.
I've already answered about that demo in mailing list, but I don't see my
answer here, so once again:
Lazarus 30393 gtk,gtk2 and qt works fine. Edit.Text is updated in Worker
thread without any interaction of mouse or kbd.
zeljko
More information about the Lazarus
mailing list