GTK Tutorial http://www.mit.edu/afs.new/sipb/project/gtk/gtk_v1.2/tutorial/html/gtk_tut-1.html Complile using gcc main.c -o main pkg-config --cflags gtk+-2.0 pkg-config --libs gtk+-2.0