halt program execution & wait for status

From: Date: Thu, 25 Oct 2001 06:44:32 +0000
Subject: halt program execution & wait for status
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-445@lists.php.net to get a copy of this message
HI back again, -to all the peeps involved in Agata ... thats very cool, excellent stuff. My next daft question is.... I have built a little 'confirm' widget, i.e. - 'are you sure you want to do this ?' +yes no buttons, and it is 'almost' modal using ' Gtk::grab_add($confirm);'<- at leat I think thats whats doing it :) . Thing is, I call the 'confirm' window in a function call, and need to suspend execution of the rest of the function as it is conditional on the yes/no form the confirm window, what is happening noe is that when I call the confirm window, the window appears as expected and its not posible to do anything in the main window, but my script does not wait for the return value from the confirm window, rather just carries on as if the confirm window returned false (its basically not waiting for an answer) Is there a 'stop!' command to stop any further parsing until a return value is errr returned? . Again I may well be going totally the wrong way about this, if not please let me know. Thanks all for the help with my hideTheChild probs, Steph - the '$favechild = $vbox->$children[3]->widget;' saved the day for me in the end, & glad the js was of use ! . Unfortunatley even though that works for me I do not understand it :( , I mean I get the $parent->$child[$num] bit , but the ->widget bit thows me off bigtime, hopefully one day it will all come clear to me :) Regards, Simon Wheeler.

« previous php.gtk.general (#445) next »