Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl/Tk on windows using ActiveState Perl

by chorg (Monk)
on Feb 10, 2001 at 23:06 UTC ( [id://57648]=perlquestion: print w/replies, xml ) Need Help??

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

I need to make some GUI apps - Should I use Win32::GUI , or should I use Perl/Tk? I have not thought about GUI in a while - does perl/tk display windows-like widgets now? Which has better perlformance?
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen wisely..."

Replies are listed 'Best First'.
Re: Perl/Tk on windows using ActiveState Perl
by OeufMayo (Curate) on Feb 10, 2001 at 23:39 UTC

    chorg, if you are stuck on Windows, and you don't want your users to be too disoriented with the look of your interface, then Win32::GUI is the best pick.

    On the other hand, I found that Win32::GUI lacks documentation, which makes it harder to program with, at least for me...

    Tk although not as pretty looking as Win32::GUI, provides tons of widgets and is far more better documented and much more portable than a Win32::GUI program.

    Also, there are some GUI designers for Tk (specperl is the one I use when I have to), though they aren't really easy to use, after some time you get used to them and they take of the burden of having to define every widget by hand.
    I'm not aware if such tools are available for Win32, but if you find the specifications of the .frx files (VB forms ) you could probably use VB (or any M$ application for that matter) to create a Win32::GUI layout.

    <kbd>--
    PerlMonger::Paris(http => 'paris.pm.org');</kbd>
Re: Perl/Tk on windows using ActiveState Perl
by ichimunki (Priest) on Feb 11, 2001 at 03:10 UTC
    If you are planning to release the applications as Free software, many will want a unix-ready version of the program... meaning Tk is more appropriate.

    If the program relies on Windows for something else, or your target audience is a large group of Windows users, then go with Win32. Isn't that an automatic part of the ActiveState distro (if so, that is one less step and break point during install).

    I don't find the interface to Tk to be unfamiliar on Win32, in fact, it cooperates with Windows better than some other applications I've used on Windows.

    Have you used the Windows API in any other languages? If so, that might be more comfortable than learning the ins and outs of Tk.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://57648]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-03-29 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found