Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

darobin (1316)

  (email not shown publicly)

Journal of darobin (1316)

Friday February 22, 2002
10:14 PM

WxPerl Rocks

[ #3058 ]

I've been playing with WxPerl for the better part of today and I must say it's really really good. In fact, it's the first Perl GUI toolkit that I feel good using. Tk works fine, but it's ugly and I keep getting lost in the docs. WxPerl looks native and Wx (the C++ foundation) has very good docs and is well mapped into Perl. Of the other GUI kits Win32 is a pain to use because the underlying system is a pain (not to mention that it's not portable, and I use Linux most of the time) and the others I tested (Gtk, Qt) simply don't build anywhere I tried.

What I'm trying to build is a small but complete app (a use Perl journal editor) in order to get a good feel for WxPerl as I intend to build a complex app soon after that. So far things are looking great. I'm taking my time as I test every other little option to see what it looks like (and am trying to do it cleanly because I know GUI apps become huge messes before you know it), but overall coding is fast.

Of course, I couldn't just sit there and do GUI programming without throwing in a little...... -- surpise ! -- ..... SAX Goodness ;) I found that typing in menubar and toolbar items was a bit too repetitive and not quite flexible enough. So now I have two classes that are the most simple SAX handlers ever that just take in an XML description of a menubar or toolbar and create it on the fly. Now I'm even happied with the thing :) Once I'm sure I've done it right, I might release those modules separately. YUM! Nice looking UI + SAX, what more can one ask?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • So, if your classes are as handy as you suggest, please publish them.

    I looked a little at wx but I'm already familiar with Tk and I didn't feel like learning another GUI builder. Not that I couldn't eventually be converted. :)

    • If they are indeed handy -- which I'll see soon enough -- and if there isn't anything that fills that role as yet (I looked but so far I haven't found anything, even though XML->GUI is a fairly common thing to do these days) I will most certainly release them. I just don't want to release modules that won't be useful to anyone, or that are too much in flux as they now are. Either way I'll be releasing WxUp as soon as it's vaguely usable, and it'll ship with those inside.

      If you're truly familiar


      -- Robin Berjon []