ANNOUNCE: Glade-Perl 0.60
- From: dermot glade perl connectfree co uk
- To: gtk-list gnome org, gtk-perl-list gnome org
- Subject: ANNOUNCE: Glade-Perl 0.60
- Date: Sun, 05 May 2002 00:07:11 +0100
Hi all,
I have just uploaded perl module Glade-Perl-0.60.tar.gz to CPAN
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Glade/
but please use your local mirror
(see ftp://ftp.cpan.org/pub/CPAN/MIRRORED.BY)
Until it is mirrored around the world, tarballs and RPMs are available
on the Glade-Perl website.
http://www.glade.perl.connectfree.co.uk
Glade-Perl generates object-oriented perl 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 Perl source,
distribution and skeleton documentation files. The generation script
'glade2perl' can be called directly from Glade's 'Build' button.
If you prefer, glade2perl can generate code that uses libglade to construct
the UI directly from the Glade file.
Regards, Dermot
snipped from http://www.glade.perl.connectfree.co.uk/Changelog
------------------------------------------------------------
Fri May 3 03:56:25 BST 2002 Dermot Musgrove <dermot.musgrove at virgin.net>
- Version 0.60
- Documentation and dist files written for Libglade style apps as well.
- PerlRun->save_file_from_string() allows writing undef string.
- PerlUI->new_GtkSpinButton() bug fix for set_wrap() code.
- PerlProject->use_Glade_Project() forces a leading '#' for 'copying'.
- PerlSource->perl_preamble() (extra) leading '#' removed from 'copying.
- PerlSource->dist_Makefile_PL() now uses Glade-Perl's min. requirements
as defaults for Makefile.PL version checks for Gtk and Gnome.
- PerlUI->internal_pack_widget() fixed to add() Gnome::IconLists instead
of add_with_viewport() - thanks to René Seindal <rene at seindal.dk>
- PerlUI->new_accelerator() changed to generate code that looks up the
keyval at UI construction time so that apps are more portable.
Also generated code will use Gtk::Gdk->keyval_from_name() in case any
subsequent app user doesn't have a populated Gtk::Keysyms.pm (some RPMs)
- PerlUIExtra->new_GtkPixmapMenuItem() similarly changed.
- PerlUIExtra->new_GnomeEntry() fixed to set history ID correctly.
Thanks to Franco Broi for the bug report.
- PerlSource->perl_AUTOLOAD_top() small change to generated sub AUTOLOAD()
- PerlSource->perl_*_top() now generate modules with initial version
number of 0.10 (was 0.01) to make scripts handling the distribution of
modules more predictable - minor version now always has 2 significant
digits and can be incremented without packing (eg. 0.10 > 0.11).
Also %params now passed through from toplevel script to app_run()
- New user option <source><save_connect_id>1</save_connect_id></source>
and PerlUI->new_signal() changed to generate code that will save all
the signal connection ids in a predictable way so that signals can be
blocked and unblocked in handlers. The connection id is held in eg:
my $id = $forms->{'__CONNECT_ID'}{'entry1'}{'after_key_press_event'}
and can be used like $form->{'entry1'}->signal_handler_block($id);
and later $form->{'entry1'}->signal_handler_unblock($id);
or $form->{'entry1'}->signal_disconnect($id);
or $form->{'entry1'}->signal_emit($id);
The last hash key is either 'signal' or 'after_signal' depending on
whether the signal is connected normally or after. I have never needed
this functionality but someone asked for it, the costs of the changes
are negligible and they should not affect any existing code - just
don't give any widget the name '__CONNECT_ID'.
The default (0) produces the same code as previous versions.
- PerlProject->use_Glade_project() fixed to write missing project logo.
- PerlSource->dist_MANIFEST_SKIP() generates file MANIFEST.SKIP such that
src/ProjectSIGS.pm will not be included in default MANIFEST file when
you run 'make manifest'
- PerlRun->write_missing_gettext_strings() produces better .pot file
- FAQ - new Q/A about automatic installion using CPAN.pm and updated Q/A
about accessing widgets with PerlRun->lookup_widget() new in 0.59
- PerlUI->use_par() fixed to escape leading single quote in string
- PerlUI->Widget_from_Proto() split into construct_widget() and
new_sub_widget(). This is an attempt to tidy the code a little.
- PerlRun data fields altered to double quote default 'copying' message
so that the \n is interpolated. Thanks to Mark W. Eichin for report.
- PerlProject->use_Glade_project() fixed to not escape author strings
and PerlSource->perl_preamble() to cope with the change. Also Mark :)
- PerlSource->perl_about() fixed to pass author/description/copying
as single-quoted literals in generated code (see above).
- $PACKAGE, $VERSION, $AUTHOR, $DATE fields not now inherited from
Glade::PerlRun. This was bad behaviour and broke the CPAN automatic
updating module so each module is separately updated now.
------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]