[Y-devel] libYc-0.1
Jerome Laheurte jerome at gandalf.fraca7.homeunix.net
Fri Feb 27 09:03:18 GMT 2004
On Thu, 26 Feb 2004, Peter Prohaska wrote:
> I try to write a "python extension module", t.i. a wrapper around libYc
> so one can import a Y module and have fun :)
Hem, that's already done :)
https://fraca7.free.fr/libYpy-0.2.tgz
> Most of my own little probrams are some mixture of C and python and
> would like to see some running in Y. So I started with the python
> interface. Perhaps that could be gererated with swig or something but it
> seems straight forward to do it by hand for the moment.
The problem with a wrapper around libYc is that you'll have to write
more code and rebuild each time a widget is added... Take a look at
libYpy, it uses some meta-class magic to dynamically create widget
classes.
--
Jérôme Laheurte <fraca7 at free.fr>
Workers of the world, arise! You have nothing to lose but your
chairs.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved