Well I decided to have a play with the Gtk2 Perl bindings last week or so. It took me a while to get the hang of how things went on, but overall I really like how easy it is to put things together.
I decided to write a sample app using GLADE. I created a window, added a text field, a button, and a list view, and saved it as XML. Then I wrote a program which uses Parse::CPAN::Authors, reads in the GLADE file using Gtk2::GladeXML, and puts in the right hooks. See the source. See a screenshot. Hey presto, a small GUI interface to search the CPAN author list. I really liked how easy it was to put together. GUI in Perl isn't dead. Maybe its time has come...
gtk and perl is quite nice (Score:2)
I might try GTK2 again, the only concern I have with perl/gtk is the long list of dependancies involved - if I could build an easy to deploy bundle using GTK2 and Perl I would choose that over QT/C++ which I am currently looking at for writing GUI applications.
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
How about Wx? (Score:1)
Very nice. Why didn't you use Gtk::SimpleList? I'm not familiar with Gtk but the interface looks simpler
It's very much alive with Wx [sf.net]. I've knocked up a quick port of your app to wxPerl. Screenshots on Windows [simonflack.com] and Linux [simonflack.com] are available as well as the source [simonflack.com]
--simonflk
Re:How about Wx? (Score:2)