simonpena.com Una mezcla heterogénea de tecnología y desvaríos

18Aug/100

GObject Introspection has landed in Grilo!

If you're using Grilo from git, last patches enabled improved GObject Introspection so you can start using Python with PyGObject to develop your applications.

A Python clone of the grilo-test-ui is provided, and should give you an idea of what can be done with these new bindings: basically enjoy all the power in Grilo without needing to touch C code, and without us having to maintain manually created bindings.

If you're a JavaScript user, then you need to watch bug #616961. As JavaScript doesn't support GParamSpecs yet (#626047), you'll need this patch which replaces GParamSpec annotations with uints. And now, time for unit testing with PyGObject!

Using Grilo bindings from Python console

grilo-test-ui using GObject Introspection bindings

Missing GParamSpec when accessing from JavaScript

Posted by Simón

Comments (0) Trackbacks (1)

Leave a comment

(required)