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.

Henry

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to