Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Tutorials for custom widgets in Tcl/Tk

by Tux (Canon)
on Aug 07, 2018 at 06:45 UTC ( [id://1219974]=note: print w/replies, xml ) Need Help??


in reply to Tutorials for custom widgets in Tcl/Tk

Of course this is a personal opinion, but please skip Learning Perl/Tk and use Mastering Perl/Tk instead. This first is (IMHO) useless, the second is a nice refence book.


Enjoy, Have FUN! H.Merijn
  • Comment on Re: Tutorials for custom widgets in Tcl/Tk

Replies are listed 'Best First'.
Re^2: Tutorials for custom widgets in Tcl/Tk
by Sandy (Curate) on Aug 09, 2018 at 13:36 UTC
    Ah, I have read, digested, reread Mastering Perl/Tk many times

    But, it looks awful on MAC, and not so great on windows, so I want to update to Tcl/Tk.

    Problem is, I have lots of custom widgets which I don't know how to port.

      If you think perl/Tk looks awful (you're allowed to think so, I know more people that do, but it still is an opinion), tcl/Tk won't change a thing! It will look just as ugly (or beautiful) as perl/Tk. It is all Tk in the end.

      If your perception of nice/beautiful is that it should match the native window styles, and zillion of people will agree with you that that is what they expect, than you should change to Wx. Be prepared to a whole lot of work in rewriting your code. The pro of Wx is that your portable App will look native on all platforms. The con of Wx (compared to Tk) is that you need a lot more code and that the App does not look the same in every environment.

      It may be obvious that I prefer Tk, but I also understand that people say it shows its age.


      Enjoy, Have FUN! H.Merijn
        Believe me, on the MAC, there is a difference.

        Perl/Tk uses X11, (you need to have XQuartz or something similar).

        Tcl::Tk uses more of the native MAC windows, does not use XQuartz, and the fonts, lines, etc, look a lot smoother.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-26 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found