On Fri, 2004-07-30 at 08:25 +0900, Peter Dennis wrote:
Hi all,
I am trying to create a simple window that uses a dialog to confirm exit
from the window.
Ok, my previous two answers were both slightly wrong! So I just went
ahead an wrote an example myself, and this time I tested that it
actually works :-)
Attached is a short C program that creates a window with two buttons.
If you click the hello button you should get a message on STDOUT. If
you click the quit button a dialog should popup asking you to confirm
that you want to quit.
To compile the program:
gcc -o confirm-quit confirm-quit.c `pkg-config --cflags --libs gtk+-2.0`
Keith.
------------------------------------------------------------------------
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list