Re: halt program execution & wait for status
| From: | Steph | Date: | Thu, 25 Oct 2001 08:39:42 +0000 |
| Subject: | Re: halt program execution & wait for status | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-450@lists.php.net to get a copy of this message | ||
http://gtk.php.net/manual/en/gtk.gtkboxchild.php
----- Original Message -----
From: "Simon Wheeler" <fire@firepages.org>
To: <php-gtk-general@lists.php.net>
Sent: Thursday, October 25, 2001 7:44 AM
Subject: [PHP-GTK] halt program execution & wait for status
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.