Hello All,

I would like to segway into the wonderful world of GUIs. Earlier today, I poked around the Monestary looking for information on Win32::GUI. After a few failed attempts at running simple tests, I decided to look up Tk. (See also: Win32::GUI vs Tk)

The Tk module comes with ActivePerl, and the test I found on PerlMonks: Re: Tk on Win32 worked perfectly.

The mental wheels started turning...

Many useful applications never take off until they have a friendly, usable interface. Tk will be able to provide a pretty frontend to my Perl scripts. And, from what I understand (I may be mistaken) Perl/Tk will run on any machine with Perl and the Tk module.

I would like to know if any one has some good references for programming with Tk. I have found, however, that much of the information on Tk deals with Tcl as well. I am completely unfamiliar with Tcl, with the exception that it's fairly easy to include in other languages. The two PM articles listed above were all I could find that dealt with Tk.

Given: Perl/Tk. I haven't gotten a chance to get to the bookstore yet, but next time I do, it will be purchased :)

Initially, I would like to create some simple apps that display various plain-text files, a log viewer, so to speak, so any information dealing with presenting text in a window would be greatly appreciated.

So, the short of the long is: if anyone has any good online references for a newbie to Tk, would you mind passing them along?

Many thanks,
John J Reiser
newrisedesigns.com


In reply to Using Tk for display/information purposes by newrisedesigns

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.