Thursday, December 01, 2005

Kudos on a GTK2-Perl/GladeXML Article

Before I move on to another task, just
wanted to ack Grant McLean for the great article:

http://live.gnome.org/GTK2-Perl/GladeXML/Tutorial

It served up the right amount of information and depth
to get going. Nice insights to move me from basic command
line based code to OO and GUI ... I know, I know...
it's still a long road.

A couple of goodies that I figured out:

1. Where to go to get Class::Accessor::Fast (CPAN)
2. This snippet of code in the init method implied by Figure 7:

if($self->auto_sounds->get_active) {
$self->enable_auto_sounds;
}
else {
$self->disable_auto_sounds;
}

I extended the timer app per Grant's suggestion.
The only thing I did not do was the packaging, but I am sure
I will return to that paragraph for advice...

Cheers, Vince