I'd absolutely not proclaim Wx to be better than Tk. They both serve a different public, both in end-user as in developer.
I myself don't like Wx at all: I cannot get all the needed dependencies to compile/test/run on the operating systems I need a GUI on: HP-UX, AIX are amongst them. Tk builds out of the box: no dependencies needed whatsoever.
I can have a small application up and running in Tk within minutes. And it looks nice. At least nice enough for the purpose. With Wx I need a whole lot more time for the design, and even then - to my eyes - it doesn't even look "better". If GUI/functionality compose time in Tk is estimated to 30/60 percent of my precious time, in Wx I'm likely to go to 80/20 percent. And I don't like Wx' documentation nor the overly complex OO style.
I really absolutely do not care about the fact that you can make your GUI app look "native" with Wx. Most people indeed say that Wx is "beautiful", and that Tk is (butt) ugly. I do not agree at all, but that is a personal opinion. The fact that Tk looks like Tk everywhere is a pré!
So "better" totally depends on what you want to achieve, and if it is possible at all.
Enjoy, Have FUN! H.Merijn
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||