> I am having problems with the screen not redrawing automatically in > certain situations and I'm not sure if it is me misusing the api or a > bug. > > When I have several different possible screens that I want an app to > draw I tend to have each one drawn with a function that starts and > ends with a pgEnterContext() and pgLeaveContext(), and has its own > pgEventLoop(). pgExitEventLoop() then appears in one of the button > handlers to return us to the main app loop.
Hi, I don't know if you already have some answers... I just found now your mail again... And try to give you some little info. * Did you read the wiki on picogui.org? The page about context? http://www.picogui.org/wiki/view/Main/ContextMemoryManagement * PicoGUI act as GTK. It use one eventloop that process the events produced mainly by the client * When you are not in the eventloop (after a pgExitEventLoop for exemple) the server won't do updates and then you must do them by yourselef * Maybe redesign your app to stay in the eventloop Hope this help, -philippe ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
