GObject Introspection Tutorial
A multilevel Hello World
Introduction
This tutorial will show you how to use GObject Introspection to access to C code from higher level programming languages. We'll use a simple "Hello World" example that only depends on GLib and GObject. You are assumed to know the basics on how developing with GObject works; if not, freshen up with the GObject tutorial. We'll look at how to use your classes from JavaScript using Gjs and Python using PyGObject.
About this tutorial
This tutorial was written by me, Simon Kågedal Reimer, as a way to learn about GObject Introspection myself. The text has not yet gotten a technical review by an expert on the subject, so beware of inaccuracies. Some inspiration was drawn from the guide Creating a multilevel application with GObject Introspection by Colin Walters.
Please send any corrections or suggestions to <skagedal@gmail.com>. Merge requests to the git repositories at Gitorious are also appreciated.