Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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.

  • I've never used Tcl::Tk; but I see from its doco, discussions of both "Perl/Tk" and "Tcl/Tk": maybe something useful there. I also noted in its MANIFEST what appears to be the same filenames (tk-demos/*) as Tk's widget demo: a comparison of the two might help.
  • I have used Tkx so, if that's what you're using, I may be able to provide more direct help. Its doco has links to tutorials. One in particular, TkDocs - Tk Tutorial, shows code for creating the same widgets using Perl, Tcl, Ruby and Python: again, a comparison may be fruitful.
  • ActiveState ActiveTcl provides a lot of documentation; although not too much in the way of Tk tutorials (as far as I can see). I did find this useful when I was first getting to grips with Tkx.

— Ken

In reply to Re: Tutorials for custom widgets in Tcl/Tk by kcott
in thread Tutorials for custom widgets in Tcl/Tk by Sandy

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-01-29 01:55 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (74 votes). Check out past polls.