in reply to Tutorials for custom widgets in Tcl/Tk

G'day Sandy,

I take it you currently have Tk widgets you've written yourself and you want to translate them into something else; however, I don't really know what you mean by "perl Tcl/Tk". Perhaps Tcl::Tk, Tkx, or similar?

It's also unclear whether you're looking for online tutorials or books to buy.

Anyway, if you could clarify those points, it would help. In the meantime, here's a few suggestions.

— Ken

Replies are listed 'Best First'.
Re^2: Tutorials for custom widgets in Tcl/Tk
by Sandy (Curate) on Aug 09, 2018 at 14:37 UTC
    Sorry if I was not clear

    I want to migrate to Tcl::Tk

    Yes, I have lots of custom widgets in Tk (Perl/Tk) that I want to migrate to Tcl::Tk

    I have looked at books online, but it is hard to tell if they are focussing more on Tcl than Tk. I don't want to spend oodles of money only to have a book that does not describe how to make custom widgets.

    Online tutorials are fine too... I just want to learn it.

    Apparently Tcl::Tk allows you to write pure Tcl code, which would allow me to create a custom widget in pure Tcl, translating would be a pain, but I will do it if I have to. But I still need to know how.

    Thx, Sandy