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

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.