Re: how to catch window manager close



El vie, 08-01-2010 a las 10:43 -0500, Chris Bare escribiÃ:
I'm creating an app with glade, and I've got a GtkAboutDialog. my About menu
item's activate singal calls gtk_widget_show which works as expected.

Using gtk_dialog_run() instead of gtk_widget_show() will do what you
want without connecting to delete-event.

IMHO gtk_show_about_dialog() is the most convenient way of constructing
and showing the dialog, but it's out if you insist on filling the dialog
properties in glade ...


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