Skip to content

Genie sample code ​

These pages host the Genie examples that were listed on the GNOME Wiki under Projects/Genie/Examples. The original wiki is retired; the sources here are taken from the wiki archive and adapted only where noted (for example clearer tree walks or compile filenames). Each page is self-contained: you can copy a fenced block into a .gs file and compile it. Genie requires tab characters for indentation; the fenced sources here use tabs so they work with valac after copy-paste.

Legacy APIs

Several samples target GTK+ 2, GTK+ 3, libsoup 2.4, or older pkg-config names. They are useful for learning Genie syntax and patterns, but expect to adjust packages and APIs for a current desktop or distribution.

Samples ​

See also ​