Monday, November 14, 2011

two gtk menu examples

menu factory and menu program for small examples

to compile:

g++ main.cpp -Os -s `pkg-config gtk+-2.0 --cflags` `pkg-config gtk+-2.0 --libs`

create itemfactory as a .c file or you will get a huge list of deprecated error messages

here is tree example for GTK 2.0

No comments:

Post a Comment