Use libmypaint through GObject introspection
Functions to simplify GObject introspection API