GTK+ 2.0 testgtk.c on debian squeeze
I am trying to learn GTK+. I use the official GTK+ tutorial at http://developer.gnome.org/gtk-tutorial/stable/
They refer to a file called testgtk.c that shows most of the GTK functionality. I just can't find it on my system. I installed the packages libgtk2.0* except libgtk2.0-cil* and libgtk2.0-dbg. And i installed gtk2.0-examples. Then i tried a "find / -name testgtk*" which gave me no result.
I know the file is included in the source packages of GTK+ in the subdir /tests/testgtk.c. But to compile the file it is necessary to compile the whole package, wich generates a config.h file that is included by testgtk.c. I don't want to compile this and related packages by hand.
I think I am missing something. I searched google and the forum but got no matches related to this.
Any hints would be great!
Welcome to LQ.
testgtk.c is the first hit with Google .. testgtk.c ..
And : Is located in the gtk source , e.g. gtk+-2.24.10/tests/testgtk.c
cd gtk+-<version>/ && ./configure : config.h is generated.
Thank you so much!
I tried it with the 3.4 Version and ./configure aborted because of wrong package versions, obviously ;)
Didn't know where to find the source of the installed debian package.
Glad to have this forum :)
Debian sources ..
e.g. Squeeze http://packages.debian.org/source/squeeze/gtk+2.0
→ → gtk+2.0_2.20.1.orig.tar.gz ( Bottom of the page.)
Maybe this should be placed in the newbie section :p
|All times are GMT -5. The time now is 05:43 PM.|