Re: executing gtk::main_quit ();
| From: | Sander Knopper | Date: | Sat, 30 Apr 2005 18:59:33 +0000 |
| Subject: | Re: executing gtk::main_quit (); | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5809@lists.php.net to get a copy of this message | ||
So because the script isn't in a loop yet gtk::main_quit () doesn't work?
gtk::main () is called after the creation of the main class of the script and
in the class gtk::main_quit () is called, does this mean that gtk::main ()
hasn't had a chance to run yet?
And what about using die() ?
Thanks for your answer!
Sander
Op zaterdag 30 april 2005 20:49, schreef u:
> Hello Sander,
>
> > Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed
>
> If you do a Gtk::main(), you open an "event catch" loop. If you do a
> "Gtk::main()", a second level is opened. By doing Gtk::main_quit(), you
> close the level.
>
> So if the message is "'main_loops != NULL' failed", this should mean
> that even the last level has been closed.
>
>
> Regards/MfG,
> Christian Weiske