Re: [Pgui-devel] Screen not redrawing automatically.

2003-01-13 Thread Philippe Ney
> 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



[Pgui-devel] Re:Screen not redrawing automatically

2003-01-13 Thread sanit
hi Philippe,
   I did find some time the screen could not redraw. It seem some bugs of certain 
widget, such as cavans and textbox widget.
   Not redaw occurs in the flowing station:
   a program (that had a canvas or textbox widget) run first, this program had a 
button, that will call a dialog or a menu(it will not full screen), when you exit from 
the dialog or menu, the canvas or textbox will not redraw. 
   it seem in those widget we should call " div_rebuild(self->in->div) "in somewhere, 
I tried, but not correct all.
  

sanit

áŠÄ…4Dޙ¨¥ŠË)¢{(­ç[ÈTD$‹èyúè™8ZÂך­ì¨º™Zžx§ƒ*.­g›Iêïz´žrêâ· 
¥‰É!z·­¢­hTD8ZÂגH¸.‰×š×âÛay©ìÁê춆¥—*.­$‹±ç.®+rŠË.zÈm¶ŸÿiÛ,¢êÜyú+éÞ·÷ 
‰¸§þ·Š·œ¶™m…¬4Ónžœø.‰×¯zYšŠX§‚X¬´ø.‰×¯zYb²Û,¢êÜyú+éÞ¶m¦Ïÿ–+-²Ê.­ÇŸ¢¸ë–+-³ùb²Ø§~é‚èz÷¥