Fawn is a header-only GTK+ widget library which provides easy-to-use functions to create widgets.
To use this library, you need to install gtk3-dev
package in your GNU/Linux distribution.
In debian-based distributions it's libgtk-3-dev
.
demo.c
file is the sample file which contains some widgets.
Compile and run it:
$ make demo
or manually:
$ gcc demo.c -o bin/fawn-demo `pkg-config --libs --cflags gtk+-3.0`
$ ./bin/fawn-demo
or in NixOS:
nix-shell --command "gcc demo.c -o demo `pkg-config --libs --cflags gtk+-3.0`"
Result:
All functions list are available in fawn.h
file.