Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Begin Your Skyscraper

by scorpio17 (Abbot)
on Aug 11, 2011 at 15:15 UTC ( #919895=note: print w/replies, xml ) Need Help??

in reply to Begin Your Skyscraper

You should also consider wxPerl. I like it much better than Perl/Tk - BUT, I also do a lot of C++ programming using wxWidgets, so I'm pretty familiar with the wx widget library. One issue, for example, is that Tk looks like Tk everywhere. wxWidgets uses the native GUI elements for whichever environment you're running on (so on windows, it looks more like a native windows app, etc.). Having said all that, I usually make everything into a webapp, then use the browser as my GUI.

Replies are listed 'Best First'.
Re^2: Begin Your Skyscraper
by Tux (Abbot) on Aug 11, 2011 at 16:36 UTC

    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
      I didn't say wxPerl was "better" than Perl/Tk... I said I like it better. On most linux distributions, installation is as easy as "apt-get install wxperl". For windows, there are pre-built binaries available here:
      There are tools, like wxGlade, that make building your GUI a mostly drag-n-drop exercise. So, it is also possible to have a small app up and running in minutes with wxPerl.

      The OP listed learning Perl/Tk as an essential step, as if it were the ONLY possible solution for GUIs with perl, and that's clearly not the case. There's also PerlQt. Like all things perl, TMTOWTDI.

        You're absolutely right. I indeed misread "like better" as "is better". And because I like Tk that much, I immediately jumped in.

        runrig already mentioned that the Learning/Tk book is kinda useless and Mastering Perl/Tk is much better. I wholeheartedly agree. Though I'd like to add that after reading the latter, having the perl/Tk quick reference guide available is darn handy.

        ... and Glib and Gtk2 and X11::Protocol all to get into graphical front ends. Not really for starting out simple GUI apps though.

        Enjoy, Have FUN! H.Merijn

      I'd absolutely not proclaim Wx to be better than Tk.

      Read carefully

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://919895]
[marto]: demonstrably yes, since you claim to want a safe space, your definition for which seems to be a place where you can name call, make things up or otherwise post without being challenged
[usemodperl]: no that's not it at all, meant safe for perl people, to not be hounded by weirdos obsessed with things like... whitespace :-)
[choroba]: I'm definitely not obsessed with whitespace, I rate myself among Perl people, and I haven't noticed any hounding
[marto]: "no it's not that"...."weirdos "...
[marto]: List EXE_FILES installed by CPAN so a couple of people suggest that your code looks obfuscated. I'd have to ageree, from the perspective of those who can't follow all of that one liner, it doesn't read well
Veltro is a weirdo, obsessed with whitespace
[marto]: to use the word "obsession" when so few people have said so little about it is grasping at staws
marto wishes tye was around, he's so much better at this sort of thing
usemodperl likes tye!
usemodperl tye  too

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2018-06-24 15:58 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.