Think about Loose Coupling | |
PerlMonks |
Re: Wx vs. Tkby batkins (Chaplain) |
on Oct 19, 2003 at 01:58 UTC ( [id://300345]=note: print w/replies, xml ) | Need Help?? |
Tk is actually a very well-designed module. It's got a number of advantages over other Perl toolkits, including the following:
In Wx, that would require all kind of infrastructure that isn't really necessary for such a simple script. Of course, There's More Than One Way to Do It, so that might be a good thing if that's the kind of stuff you're into. I can definitely see your point about the appearance of Tk, but it doesn't have to be that way. See my node about improving Tk's interface. Basically, try adding the following lines to the top of your app: Of course, replace $mw with whatever scalar you keep your MainWindow in. I think that the revised interface looks a lot better than the standard one. I was trying to resist, but I can't help but make a shameless plug here. Download milkbone from http://milkbone.org and take a look at the interface. It was created completely with Perl/Tk, but, IMHO, it looks as good as any other application. So I would suggest giving Tk another look. It's actually a very nice piece of software to work with. The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows. - Frank Zappa
In Section
Meditations
|
|