New Perl GUI
nealbutler writes: "This is up on perl.com, and I suppose a lot of people have seen it, but I think it's cool enough to warrant an article! wxWindows, the free C++ Crossplatform GUI framework is now available for perl! I've wxPython, and it rocks, so Tk/Perl's days may now be numbered...My main development platform is (unfortunately...) Win32, and Tk/Perl doesn't have half as much Win32 stuff as wxWindows does (e.g. accessing proper windows dialog boxes, etc.)."
Heresy! Kill the heretics!
GUIs are bad. CLIs are good.
Doesn't this defeat the purpose?
Every Windowed Perl programmer's first app will consist of a single window with an multi-line edit field and a button. When you press the button it will parse the test in the edit field and say "Hello World"
I do everything the voices in my head tell me to...
It seems that the concepts built into this module of what messages and actions a control can take are fairly limited. There are quite a few more messages a button control can take, for example. A message handler that caught MOUSE_OVER messages could allow some visual eyecandy by highlighting the control's appearance...
Is WxWindows really this simplistic, or is it just the tutorial?
Having played around with wxPython, I can honestly say I will never go back to Tk or any other GUI interface.
What the article doesn't empahsise enough is that this is a cross platform GUI. The same code will work on win32, nearly all *nixes, plus apple and some wierd paltforms to boot.
The other thing the article doesn't impress strongly enough is how good the underlying C++ wxWindows library is. This is C++ GUI Nirvana, OO from the bottom up, crossplatform, native look and feel, a really useful set of builtin widgets, plus, perhaps most importantly a really well though out and easily extandable class structure.
From now on I will use nothing else, I may even give up programming curses.
Old COBOL programmers never die. They just code in C.