Dialog
- From: Harring Figueiredo <harringf yahoo com>
- To: gtk_list gtk gtk <gtk-app-devel-list gnome org>
- Subject: Dialog
- Date: Thu, 9 Dec 2004 08:07:36 -0800 (PST)
Folks, I am creating a dialog and doing the following:
gtk_dialog_new_with_buttons (main_win, DESTROY_WITH_PARENT ....)
while( 1 ){
response = gtk_dialog_run(GTK_DIALOG(dialog));
if(response == GTK_RESPONSE_APPLY)
apply_config_changes();
else{
config_dialog_cleanup();
gtk_widget_destroy(dialog);
break;
}
}
However, if we transfer focus to, say, on a terminal window or any other
program
window, when going back to the GTK application, and closing the dialog, the
main window becomes minimized.
Do I have to call anything after I destroy the dialog ?
I know it is not a WM issue because other GTK apps are not doing that.
Thanks for any help.
HArring
__________________________________
Do you Yahoo!?
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]