Re: embedding G-I into apps



On Wed, Sep 10, 2008 at 7:59 AM, Johan Dahlin <johan gnome org> wrote:
>
> I would rather do it the other way around, by creating C bindings
> for the scanner, so you could do:
>
> scanner = gi_scanner_new ()
> gi_scanner_set_namespace (scanner, "totem");
> gi_scanner_add_sources (scanner, "totem-menu.h", "totem-video-widget.h");
> etc.

So these calls would go in the app?  And the implementation would just
be in the main libgobject-introspection?

> That would make it sufficient to just g_module_open(NULL);
>
> To do that we'd need two tools:
> 1) one to generate A GIR for a python interface
> 2) another to create C bindings for a python method.

Would we try to mix this GIR with a GIR for the whole of
libgobject-introspection?  Or just keep it standalone?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]