Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Sandy (Curate)
on Aug 09, 2018 at 13:36 UTC ( #1220152=note: print w/replies, xml ) Need Help??


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

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.

  • Comment on Re^2: Tutorials for custom widgets in Tcl/Tk

Replies are listed 'Best First'.
Re^3: Tutorials for custom widgets in Tcl/Tk
by Tux (Canon) on Aug 09, 2018 at 13:53 UTC

    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.

        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,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2021-11-30 12:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?