Perl Gtk module 0.1.13 uploaded to ftp.gimp.org & CPAN




I've just uploaded version 0.1.13 of my Gtk module for Perl to
ftp.gimp.org, and CPAN.

This module has no significant technical improvements, but has been
substantially reorganized, with a separate file for each widget, which
should make it easier to update and add widgets. Any widgets that aren't
around during compilation (or rather, their header and the cast macro
aren't around) should be cleanly elided, making it easier to support
optional widgets. 

I've added a bit of support for the GtkToolbar and GtkHandleBox widgets,
but neither are complete, and I've not touched anything else. I've tried,
as best I can to properly use the new _unref stuff, and the _interp
functions.

The new gtk.defs format is being parsed and used -- more of the module is
automatically structured, if not generated. This can be regenerated by
running 'gendefs.pl'. New widgets can be added by placing new .defs file
in the directory, and rerunning gendefs.pl. 

Outstanding problems mostly involve Gtk's interpreter support, in one form
or another. I still haven't been able to unify the signal handling code,
as GTK_TYPE_POINTER is still used -- leaving my code helpless to determine
what is being pointed to. 

Also, I'm still quite stuck on implementing new widgets in Perl:  "class
signals" (the name I'm using for the signal slots present in class
definitions) are not easily supported from Perl, mostly because there is
no chance for interpreter support, as each signal slot contains just a raw
function pointer, which Perl (and other portable interpreters) cannot
manipulate usefully. 

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)





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