Re: How to ask on exit "Do you really want to exit?"



On Tue, 2004-10-26 at 15:42 +0300, sefairken beykent edu tr wrote:
When user clicks the close button at right bottom,i want my program to ask
"Do you really want to exit?",if no the program goes on to work.

I connected a destroy event to window.But what i must do exactly?.

Try the code here:

http://www.passback.co.uk/tmp/confirm-quit.c

Which was created in response to this email thread:

http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00329.html

Keith.




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