http://qs1969.pair.com?node_id=1220154


in reply to Re^2: Tutorials for custom widgets in Tcl/Tk
in thread Tutorials for custom widgets in Tcl/Tk

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
  • Comment on Re^3: Tutorials for custom widgets in Tcl/Tk

Replies are listed 'Best First'.
Re^4: Tutorials for custom widgets in Tcl/Tk
by Sandy (Curate) on Aug 09, 2018 at 17:37 UTC
    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.

      Smoother? Do you compile Tk with XFT support?

      ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,