Re: Window buttons - OK

2005-04-20 Thread Daniel Ferreira Monteiro Alves
Thanks to all
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Window buttons

2005-04-20 Thread Paolo Costabel
delete_event
g_signal_connect ((gpointer) MainWindow, "delete_event",
  G_CALLBACK (on_MainWindow_delete_event),
  NULL);
Daniel Ferreira Monteiro Alves wrote:
What signal is send after click in the close button of a window?
It's because I want to check if the user really wants to close the 
window, if not I want to cancel this action.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: Window buttons

2005-04-20 Thread Daniel K. O.
Daniel Ferreira Monteiro Alves wrote:
What signal is send after click in the close button of a window?
It's because I want to check if the user really wants to close the 
window, if not I want to cancel this action.

"delete-event". If you let the signal propagate, it'll then generate a 
"destroy".

Daniel K. O.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Window buttons

2005-04-20 Thread Daniel Ferreira Monteiro Alves
What signal is send after click in the close button of a window?
It's because I want to check if the user really wants to close the 
window, if not I want to cancel this action.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list