[Y-devel] libYc-0.1
Jerome Laheurte jerome at gandalf.fraca7.homeunix.net
Fri Feb 27 10:34:03 GMT 2004
On Fri, 27 Feb 2004, Richard Hills wrote:
> > 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.
>
> Having looked at libYpy this seems like quite a cool way to do it,
> which simply isn't available to libYc. This reduces the number of
> functions libYpy can use from libYc, though I'm not sure this makes it a
> bad idea. There are some quite a few low level functions in libYpy
> (mainly object and signal related ones) for which there are (or should
> be) identical implementations in libYc. Then again, I don't know much
> about Python, so correct me if this seems a bad idea.
Actually, the only C functions needed by libYpy are old libY's
yReceive() and ySend(). I plan on using the equivalent functions in
libYc to avoid code duplication.
But using the higher-level libYc functions would force me to make
libYpy a 'standard' binding, using SWIG or whatever, which would
invalidate the whole meta-class hack and place the burden of C code
maintenance on me :)
> btw I have also created a sourceforge account "ywin-extralib" which is
> waiting to become active, so that all libY* developers can distribute
> from the same site. Then if www.y-windows.org links to it it'll increase
> use and interest in alternative bindings to libYc++. If people are
> interested I'll add them to the list of maintainers,
Aaah, hosting and trackers! Count me in.
--
Jérôme Laheurte <fraca7 at free.fr>
How wonderful opera would be if there were no singers.
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved