Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Oh well, I have to throw my 2 cents in. :-) In my case, it's a choice between Perl/Tk and Perl/Gtk2. I never got into Wx because it's a bear to install and it's too OO for my tastes. Perl/Qt is old has isn't being actively updated.

Tk is easy to learn and fun. Gtk2 is more difficult, because it gives you more control over everything, from the signals to the underlying Gdk windows.... but that complexity can cause alot of trouble until you figure it out. BUT once you do figure it out, man can you do cool things in Gtk2, like custom-shaped windows.

Gtk2 is actively being developed with the c-libs having bug-fix updates released monthly, and the Perl modules following shortly. That inspires me, and makes me see a bright future there. On the other hand, Tk is like an old-but-solid-toy..... it's still there, easy to play with, but it dosn't quite match up with the glitz and new features of the Gtk2 toy. For example, Gtk2 labels allow you to use pango-markup strings(mixed color and font size), where Tk only allows simple strings. On the flip side, you can't bind to a Gtk2 label, without an event box underneath it. Tk lets you bind to the label.

The one real advantage of Tk, IMHO is the Canvas(and it's steroid-pumped brother Zinc). They both exceed the Gtk2 Gnome2::Canvas (which has lost development status). I think Canvases are where the action is. You can make anything on it, and it runs well. I will mention that replacements for Gnome2::Canvas are in the works.... so the future may be bright there too.

Finally, one other advantage to Perl/Gtk2, is that once you get something running, you can port it to the C version of Gtk2, for a faster compiled version (assuming you have that skill ).


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

In reply to Re: GUI toolkit choice by zentara
in thread GUI toolkit choice by jbert

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-03-29 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found