pgserver behaviour

Tomas <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
hi

what is the difference between 
pgEventLoop()
and 
while (1) pgEventPoll()
?

on the first case, when i add some widgets, widgets are shown one by one (i don't call pgUpdate) and other widgets are resized
on the second case, widgets are not shown until i click any button (even, if that button does nothing), but other widgets
are resized


i'm attaching test.c
when i click on add button, buttons are resized (on each pgNewWidget(?) and flick)
then, when i click dummy button (nothing is binded to dummy), fields apear
why ?
i thought pgserver displays/removes widgets when pg[Sub]Update is called  (?)

btw pgserver segfaults when line with /* crash */ comment is present
(on my 320x240 ipaq display, where fields would then be outside the screen, and only with classique theme)

pgserver segfaults as well when option doublebuffer = 1 is present in configfile


could you direct me to place, where the code for adding/removing widgets, updating screen and such things is ?
(sorry if this mail is little chaotic :)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.