Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32::GUI or Tk ?

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Joined
Feb 6, 2002
Messages
1,851
Location
IL
HI,

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

Thanks

Long live king Moshiach !
 
I've never used either, but Win32::GUI would have the advantage that it uses the native Windows toolkit, thereby making the program faster and smaller for Windows users, and presenting a familiar interface. Of course, it is Windows-only. Tk has the advantage of being cross-platform.
 
There are others too. wxWidgets use the native widgets on whichever platform they run on, so they'll look like Windows programs on Windows and like Gtk programs on Linux. There's also Gtk (for which the Glade GUI builder is great to use alongside the Gtk2::GladeXML module). That's available cross-platform too.
 
Thanks.
I just did not see many issues related to Win32::GUI on the forum,so I have figured out it's not popular.

Long live king Moshiach !
 
Seems that way alright. Tk seems to be popular on this particular forum, for whatever reason.

I suspect a couple of reasons why Win32::GUI may not be so popular, apart at all from the quality of the module, which I'm not in a position to comment on.

- The majority of Perl programmers are writing for *nix systems, so Win32::GUI isn't appropriate to what they're doing.
- A decent number of people writing Perl on Windows are at least aware of *nix systems, if not also using them themselves. These people are more likely to choose a GUI toolkit that's cross platform, so it can be run on multiple operating systems.
- People who solely run Windows get advice on GUI toolkits from the folks in the above groups and are led away from Win32::GUI, towards other solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top