Re: waiting for user input.
| From: | Rich Payne | Date: | Tue, 05 Mar 2002 02:36:30 +0000 |
| Subject: | Re: waiting for user input. | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1425@lists.php.net to get a copy of this message | ||
>
> My question: is there a way that while the gtk-php program is running,
> to draw the windows. with out having to reach for GTK::main(). and
> while the window is draw and waiting for the user input, the main script
> will wait till it gets the answers before continuing execution.
Hmmm....if I understand what you're asking I think you need Gtk::main() to
run and setup the GUI, then ask for your user data. You can do this in a
dialog and start another Gtk::main() loop, that will hold the execution of
the first until you exit the second.
Does that sound like what you need?
--rdp
--
Rich Payne
http://talisman.mv.com