I use a GTK TreeView Object to display the spanish lotto (primitiva) history
Tested this program on UBUNTU 12.04
You must have installed on your system sqlite3.h and GTK 3.0
In this program I use Sqlite and GTK
For complie this program use make with my makefile
or write this command:
gcc main.c model.c \`pkg-config --cflags --libs gtk+-3.0 \` -Wall -g -lsqlite3 -std=c99 -o main