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

Re: cancel gtk_main_quit and return to the main window



Emanoil Kotsev <deloptes yahoo com> writes:
>
> so basically the question is how can I keep a (glade) widget alive after
> gtk_main_quit is called.

There's cribs in the Gtk2::Window docs on hooking up
Gtk2::Widget::hide_on_delete, which may close to what you want,
especially for glade, if you don't end up doing the same already.

muppet <scott asofyet org> writes:
>
> constants intended to disambiguate
>                 return Gtk2::EVENT_STOP;  # true

And people said it would never catch on :-).  Maybe should run it up the
flag pole and see if it inspires a #define in gtk.h even (which you
proposed I think).


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