Hello, I have some trouble with the following: I have a class derived from TApplication. In its constructor I create a GUI (a class derived from TMainFrame, which creates two instances of a class derived from RootEmbeddedCanvas) and a thread. The thread calls GetCanvas()->Modified() and GetCanvas()->Update() for both embedded canvases after updating its contents in a loop. In most cases I get some X11 error about invalid Pixmaps. I guess it is because TApplication::Run() and the GUI-Update-Loop are running in different threads. How can I work around this? (Maybe I could use timers, but for me it is important to run the updating thread with less priority than the main thread). Can somebody help me? Thanks, Thomas.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET