Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: GUI Toolkit

by biohisham (Priest)
on Jun 29, 2010 at 07:27 UTC ( #847069=note: print w/replies, xml ) Need Help??

in reply to GUI Toolkit

Tk is a very robust module that has excellent documentation available and many properly designed widgets and additions. Its functions are named in an intuitive manner and there are many books written around it like Learning Perl Tk, Mastering Perl Tk and others.

I think that this module having been around long enough and that Tcl/Tk programming is so mature serves as a plus point, on the flip side, the look and feel of the widgets are aging when compared to the other GUI modules out there. Nevertheless the module is quite stable and aptly documented and supported.

Check GUI Programming-->What ISN'T good about PerlGTK? for a relevant discussion.

Excellence is an Endeavor of Persistence. A Year-Old Monk :D .

Replies are listed 'Best First'.
Re^2: GUI Toolkit
by CountZero (Bishop) on Jun 29, 2010 at 08:19 UTC
    I second that!

    And besides, it seems to be the only GUI framework that never gave me any problem in installing or running under the various forms of Perl I used (ActiveState or Strawberry; from 5.6 all the way to 5.12).


    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re^2: GUI Toolkit
by Tux (Canon) on Jun 29, 2010 at 10:37 UTC

    A plus from me too. Besides the fact that Tk is seen by many as ugly, I see very little shortcomings.

    Tk is actively maintained and builds on most OS's out of the box, including HP-UX, AIX, and Windows with Strawberry perl.

    The documentation is complete, and almost all fuctionality is available. It is very hard to make thing like rotated text on a Canvas, but if that is what you need, you might find some more luck in using Tk::RotCanvas or Tk::Zinc.

    After installing Tk, there is a demonstration script called widget, from which you can cut-and-paste code to get started.

    I found it very very hard to create a working anvironment on AIX and/or HP-UX to get Wx running, and I also dislike the immensely complicated (but complete) documentation for Wx. It just takes too much time and coding to get started, and if GUI programming is not a daily job, it is hard to remember all the ins and outs for Wx.

    Relatively new is Tkx, which looks very promising. As I already am very comfortable with Tk, I didn't really look into it yet.

    Playing directly with X11 modules is only for the masochists.

    Glib plus Gtk2 might be an option if you are on linux.

    Enjoy, Have FUN! H.Merijn

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://847069]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2023-09-27 07:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found