paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] New Widget´s from a callback.


From: juri
Subject: [paragui-users] New Widget´s from a callback.
Date: Mon, 20 Oct 2003 02:10:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030401

 Hi again,

i have another question (and i hope it doesn´t sound trivial ). How do i "return" a widget to main() ? I made a few working message-callback´s. I want to make knew buttons/listboxes/.. when something is klicked. Of course,the new items appear only for a very short time,as they disappear when i leave the function.
like:

PARAGUI_CALLBACK(handleabuttonklicked) {
PG_ListBox newlistbox(NULL, PG_Rect(310,168,300,600)); newlistbox.Show();
return true;
} I thought by adding it to NULL it should be always visible ? newlistbox.Show(); doesn´t work in main().

Or is there no possibility to do it this way ? What would you do ?

thx a lot.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]