ANNOUNCE: Glade-Perl 0.51
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: "glade-devel glade pn org" <glade-devel glade pn org>, "gtk-list redhat com" <gtk-list redhat com>, "gtk-perl-list redhat com" <gtk-perl-list redhat com>
- Subject: ANNOUNCE: Glade-Perl 0.51
- Date: Thu, 02 Mar 2000 06:02:06 +0000
Hi all,
After an exchange on the mailing list I made Glade-Perl generate i18n
capable code. This prompted me to internationalise Glade-Perl itself
and after a lot of repetetive editing it is now possible in one run to:
1) See Glade-Perl diagnostics in one language
2) Produce source code commented in another language
3) Generate source code that will run in any language
This is limited by the fact that there are no translations yet for
Glade-Perl:(
If you can help, I have included file $DIST_DIR/ppo/Glade-Perl.pot and I
would be very, very grateful for any translated .po files.
I have just uploaded perl module Glade-Perl-0.51.tar.gz to CPAN
ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/Glade/
and it is already available on my websites.
http://www.glade.perl.connectfree.co.uk/index.html
http://freespace.virgin.net/dermot.musgrove/computers/perl/index.html
Glade-Perl generates perl source code from a Glade file - Glade is Damon
Chaplin's beautiful Gtk+/Gnome UI builder.
Glade-Perl can display the UI as it is built and/or generate source code
and it can be called directly from Glade's 'Build' button. It can also
generate code to use libglade if you prefer.
Regards, Dermot
snipped from the Changelog:
------------------------------------------------------------
Thu Mar 2 04:30:08 GMT 2000 - Dermot Musgrove <dermot.musgrove@virgin.net>
- Version 0.51
- PerlUI testing source comments removed from generated code
- PerlRun->create_image() pixmaps made relative to usual global.
- PerlUIExtra->new_GnomeAbout() pixmaps made relative to usual global.
- PerlUIExtra->new_GnomePixmap() pixmaps made relative to usual global.
so now there should be no hard-coded paths in the generated code :)
- PerlUI->internal_pack_widget() fixed to add() Gtk::Text objects to a
Gtk::ScrolledWindow correctly (like Gtk::CTree or Gtk::CList).
Thanks to Frank de Lange for an excellent report and suggestions.
- PerlUI->new_from_child_name() amended to deal with Gnome::Dialogs
- PerlUIExtra->frig_Gnome_Dialog_buttons() to add Gnome::Dialog buttons
and accelerators in a better way (unstandard in Glade-Perl though :( )
This works for all Gnome Dialogs (MessageBox, PropertyBox, Dialog)
but only with gnome-perl CVS after 20000301.
- PerlRun->load_translations() and mo_format_value() _(), S_() and D_()
new subs to implement gettext support for apps, source and diagnostics.
- PerlUI* generate gettext code for all text fields in widgets.
- PerlSource->perl_AUTOLOAD_top() now generates load_translation() call
- All modules diagnostics messages converted to sprintf-like format so
that diag_print can translate them.
- PerlProject->diag_print() became diag_ref_print() and new diag_print()
written for i18n of Glade-Perl. You can now specify the language for
diagnostics, the language for the source (comments) and the generated
apps can use their own languages!
All defaults are $ENV{'LANG'} but diagnostics and source languages can
be overridden in the site, user or Project.glade2perl.xml options files
------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]