Re: How do I destroy window without freezing window?



On Fri, Sep 11, 2009 at 8:52 PM, Perl Whore <whoreperl gmail com> wrote:
How do I make it immediately kill/quit/destroy the
window?



destroy the window

That's exactly how.

Put a $dialog->destroy; before your Gtk2->main_quit;.

By the way, if that's all the GUI you use in your program, consider
dropping Gtk2 altogether and use something more lightweight, e.g.
zenity instead.

Péter Juhász



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