For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > September 2007 > Gui builder?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Gui builder?
Bernie Cosell

2007-09-11, 7:04 pm

Just wondering on the availability of graphical GUI builders for Perl/Tk.
I just ran across ZooZ on CPAN and I'll be installing it shortly. Has
anyone used it? Does it work? It is slick? Any recommendations on other
packages for building GUIs? Thanks!
/Bernie\
--
Bernie Cosell Fantasy Farm Fibers
bernie@fantasyfarm.com Pearisburg, VA
--> Too many people, too few sheep <--
QoS@domain.invalid

2007-09-11, 7:04 pm


Bernie Cosell <bernie@fantasyfarm.com> wrote in message-id: < 245de3dq3g22u3co7qsg7j8iub8e1ccgrc@libra
ry.airnews.net>

>
> Just wondering on the availability of graphical GUI builders for Perl/Tk.
> I just ran across ZooZ on CPAN and I'll be installing it shortly. Has
> anyone used it? Does it work? It is slick? Any recommendations on other
> packages for building GUIs? Thanks!
> /Bernie\
> --
> Bernie Cosell Fantasy Farm Fibers
> bernie@fantasyfarm.com Pearisburg, VA
> --> Too many people, too few sheep <--


I can only recommend not to use GUI builders; with Perl GUIs it
is trivial to launch a script after making GUI adjustments.


felix.da.ru

2007-09-14, 8:03 am

On Sep 11, 4:20 pm, Bernie Cosell <ber...@fantasyfarm.com> wrote:
> Just wondering on the availability of graphical GUI builders for Perl/Tk.
> I just ran across ZooZ on CPAN and I'll be installing it shortly. Has
> anyone used it? Does it work? It is slick? Any recommendations on other
> packages for building GUIs? Thanks!
> /Bernie\
> --
> Bernie Cosell Fantasy Farm Fibers
> ber...@fantasyfarm.com Pearisburg, VA
> --> Too many people, too few sheep <--


Yes, ZooZ is a great tool. There are lots of others, based on Perl
itself and written in other languages (tcl/tk, c/gtk, etc.)
First please state what are your requirements for such builder:
supported widgets variety, cross-platform compatibility, full access
to generated code, editing of any widget property, etc., etc.
Personally I'll recommend you to try my (relatively old) builder
VPTK_W (see on CPAN too)
http://search.cpan.org/~felixl/vptk...resentation.pod
http://search.cpan.org/src/FELIXL/v...r/tutorial.html

Regards,

~Felix_

Bernie Cosell

2007-09-17, 7:06 pm

"felix.da.ru" <felix.liberman@gmail.com> wrote:

} On Sep 11, 4:20 pm, Bernie Cosell <ber...@fantasyfarm.com> wrote:
} > Just wondering on the availability of graphical GUI builders for Perl/Tk.
} > I just ran across ZooZ on CPAN and I'll be installing it shortly.

}
} Yes, ZooZ is a great tool. There are lots of others, based on Perl
} itself and written in other languages (tcl/tk, c/gtk, etc.)
} First please state what are your requirements for such builder:
} supported widgets variety, cross-platform compatibility, full access
} to generated code, editing of any widget property, etc., etc.

Well, that's easy: I'm new to Tk [but a very long-time, experienced Perl
programmer]. I'm doing a simple app that was previously done with CGI pgms
[in perl, natch] and the displays were all forms and tables. I'm redoing
the app in Tk. Im not real familiar with the ins and outs of the geometry
managers [working my way through Mastering..:o)] and so I would look for
two things:
1) making it easy to set up an HTML-page-like display. buttons,
dropdowns, nothing real fancy (yet). It'd be nice to be able to drag and
drop and tweak things, rather than fighting through the arguments to "pack"
(also, since the program has a succession of screens, I'd need a "test
harness" to fire up the various subsequent-screens beyond the beginning
one).
2) Getting to look at the code. I'm not sure what you mean by "full
access": I guess I assumed that a GUI builder would spit out a pile of
widget and pack calls that I'd drop into my program. That'd allow me to
see just how to do what I "had done" [in the gui builder].

Don't care much about portability and such: it'll likely only ever run on
Windows with Activestate Tk. As for editing the widget properties: I guess
I assumed being able to do that, too (basically by editing the resulting
Perl code). That is, I'm not looking for a real display manager in which
to embed my app, but just a Perl-code-generator.

} Personally I'll recommend you to try my (relatively old) builder
} VPTK_W (see on CPAN too)


} http://search.cpan.org/~felixl/vptk...resentation.pod
} http://search.cpan.org/src/FELIXL/v...r/tutorial.html

Thanks for the docs!! /bernie\
--
Bernie Cosell Fantasy Farm Fibers
bernie@fantasyfarm.com Pearisburg, VA
--> Too many people, too few sheep <--
Jeff Hobbs

2007-09-18, 7:11 pm

Given the reqs, I would also recommend poking your nose at:
http://spectcl.sourceforge.net/

What you want to look at is the app called (mundanely) GUI Builder, not
the older SpecTcl on which it was originally based.

Jeff

Bernie Cosell wrote:
> Well, that's easy: I'm new to Tk [but a very long-time, experienced Perl
> programmer]. I'm doing a simple app that was previously done with CGI pgms
> [in perl, natch] and the displays were all forms and tables. I'm redoing
> the app in Tk. Im not real familiar with the ins and outs of the geometry
> managers [working my way through Mastering..:o)] and so I would look for
> two things:
> 1) making it easy to set up an HTML-page-like display. buttons,
> dropdowns, nothing real fancy (yet). It'd be nice to be able to drag and
> drop and tweak things, rather than fighting through the arguments to "pack"
> (also, since the program has a succession of screens, I'd need a "test
> harness" to fire up the various subsequent-screens beyond the beginning
> one).
> 2) Getting to look at the code. I'm not sure what you mean by "full
> access": I guess I assumed that a GUI builder would spit out a pile of
> widget and pack calls that I'd drop into my program. That'd allow me to
> see just how to do what I "had done" [in the gui builder].
>
> Don't care much about portability and such: it'll likely only ever run on
> Windows with Activestate Tk. As for editing the widget properties: I guess
> I assumed being able to do that, too (basically by editing the resulting
> Perl code). That is, I'm not looking for a real display manager in which
> to embed my app, but just a Perl-code-generator.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com