BobFishel has asked for the wisdom of the Perl Monks concerning the following question:

Wise Monks,

I am in need of your help! I am looking for a RAD that will help me design (and output code for) a perl program.

I've looked into several already and I've been very confused by them (I've never done any gui programming before)

I'm not looking for much, just a few text fields, some radio buttons and a tree/listview.

I've read a bunch of documentation for different gui implementations and although I would like it to look native on win32 I've decided if I can find a RAD I like for TK I'll go ahead and use it. I'm not concerned about cross platform compatibility but I'll consider it a bonus if it runs on anything other then win32.
I will say however that I didn't like the wxPerl syntax at all...

I guess what I'm looking for is a RAD that will allow me to drag some controls onto a blank window, position them like I want them and spit out the code that will generate that nice looking window and maybe give me a start on where to add my event handlers.

Any recommendations are helpful. Thanks!

-Bob
  • Comment on Please reccomend a Windows Rad for Gui Programs (form designer?)

Replies are listed 'Best First'.
Re: Please reccomend a Windows Rad for Gui Programs (form designer?)
by thunders (Priest) on Jan 11, 2009 at 04:16 UTC
    There is a project called Guido which aims to be exactly what you describe. However it hasn't been updated in several years, so I don't know what state it's in.

    Personally If I needed to do a Perl GUI, I would go for something QT or GTK+ based as both are cross platform and have perl bindings and fairly mature GUI building tools in QTDesigner and Glade. Both tend to look more "modern" and polished than TK in my opinion.

Re: Please reccomend a Windows Rad for Gui Programs (form designer?)
by planetscape (Chancellor) on Jan 11, 2009 at 10:16 UTC
Re: Please reccomend a Windows Rad for Gui Programs (form designer?)
by Marshall (Canon) on Jan 11, 2009 at 05:16 UTC
    The Perl Tk GUI is very easy to use, if you do some basic homework. The main thing is to understand how "frames" and geometry management works. Most beginners don't use enough frame objects and things wind up in weird places. I don't know of a "GUI builder drag-n-drop" for Perl Tk. One of my GUI I/F's runs like a rocket and is just a few pages of Perl code. This thing has up to and beyond 80,000 objects and works great (<50ms display time).
Re: Please reccomend a Windows Rad for Gui Programs (form designer?)
by zentara (Cardinal) on Jan 11, 2009 at 15:56 UTC
    I would suggest using the Glade Gui layout tool. Google for "Glade designer". It does what you want, and will let you write Perl/Gtk2 code, which is about the most active/advanced stuff now for Perl-based GUI's. Another neat thing about Glade, is it produces xml files that can be converted to a slightly different form suitable for use with Gtk2::Builder, (which is a new Gtk2 module that essentially builds xml-based design support right into Gtk2). So you can design with Glade, convert the glade-xml to builder-xml with the "gtk-builder-convert" utility . See builder-libglade faq

    The Latest CamelBox has Glade may interest you.

    Here is a simple example from the Perl/Gtk2 maillist. The xml in the following, can be made with the glade designer, and converted with gtk-builder-convert


    I'm not really a human, but I play one on earth Remember How Lucky You Are
Re: Please reccomend a Windows Rad for Gui Programs (form designer?)
by zwon (Abbot) on Jan 11, 2009 at 19:34 UTC

    I used SpecTcl for Perl/Tk GUI some years ago. Now I see they have also new product GUI Builder. If you plan to use Tk this may be interesting for you. http://spectcl.sourceforge.net/