Win32::GUI or Tk ?

M

MoshiachNow

HI,

What is more popular/preferable/recommended for GUI in Perl:
Win32::GUI or Tk ?

Thanks
 
T

Ted Zlatanov

MoshiachNow schreef:


Or wxPerl?

All three have benefits. Don't forget HTML GUIs too (though limited,
they can do a lot, and you don't have to write a dedicated client).
The questions are:

- what platforms will you use?
- what do you need to do?
- are you familiar with Win32 or Tk or wx?

Ted
 
R

Robert May

Ted said:
All three have benefits. Don't forget HTML GUIs too (though limited,
they can do a lot, and you don't have to write a dedicated client).
The questions are:

- what platforms will you use?
- what do you need to do?
- are you familiar with Win32 or Tk or wx?

That's a pretty good summary of the questions you need to ask yourself.
Answer them and we'll try to provide some advice. (I'm biased to
Win32::GUI myself, but I'll try to be objective).

Regards,
Rob.
 
B

Ben Morrow

Quoth zentara said:
Well Tk will also run on linux, unix, Mac; so Tk is more
cross-platform.

Don't forget the new kid on the block, Gtk2. I think
Gtk2 is the future.
It is actively developed.
It's syntax is close to the c, so you can port to c easily.

For me this would be a disadvantage. I write Perl so I *don't* have to
make my code look like C.
It is very state of the art, and allows you to take full control.

It also looks (IME) awful on windows, and I presume on MacOS as well.

In my (admittedly limited) experience, by far the easiest toolkit to use
is Tk. The Perl bindings are really good. However, I guess it's not
maintained any more (has anyone taken it on?) and it doesn't always
match the native widgets on Win32, either.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,051
Members
47,656
Latest member
rickwatson

Latest Threads

Top