2011/4/20 Michael Schnell <[email protected]>: > Running my testing program with the GTK "Widget Type", with the newest svn > version, TThread.Synchronize in fact seems to work
I have now updated to SVN rev. 30401 and the attached demo shows the error. Synchronize does not work. The demo contains nothing but an edit and a thread that will write numbers into the edit field via a call to Synchronize(). As soon as take focus away or even just stop moving the mouse the thread will block in a call to Synchronize(). 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. What exactly does the TTimer do when it fires its event? The TTimer seems to have the power to wake up the GUI, maybe I can do the same manually? -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
