Re: Can python classes be made available with Gobject Introspection?



Hi Sebastián


2017-09-22 1:18 GMT-03:00 Sebastian Silva <sebastian fuentelibre org>:

How would one export a Python class like it is done here for Vala?

No, You can't compile a shared library from Python. If you need a class to be available in other languajes with gobject-introspection "automatic" bindings, you should write the class in C or Vala.
 

I'm interested in porting sugar-toolkit-gtk3 to gobject-introspection.

 If you mean porting the toolkit to use gobject-introspection, it is already using it.
 

Any pointers would be sincerely appreciated.

Regards,

Sebastian


_______________________________________________
python-hackers-list mailing list
python-hackers-list gnome org
https://mail.gnome.org/mailman/listinfo/python-hackers-list




--
.. manuq ..


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