Re: Newbie from Hell



Hey Keith,

Thanks so much for all your help.  I really do appreciate it.

Just one thing.  The attachment only has the following in it:

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


I went to the url and checked the archives and it shows only your message below with no attachment.

Is there some other way I can access it?

Thanks again,

Peter.



kms passback co uk wrote:

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



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