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

Perl:Tk tutorials

by Anonymous Monk
on Jul 15, 2002 at 08:31 UTC ( #181713=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks;
Can someone please direct me to a good Perl:Tk tutorial?
Soon, I need to incorporate GU's with my Perl scripts.
Many Thanks in advance

Replies are listed 'Best First'.
Re: Perl Tk Tutorials
by cjf (Parson) on Jul 15, 2002 at 08:41 UTC
Re: Perl:Tk tutorials
by hiseldl (Priest) on Jul 15, 2002 at 12:27 UTC
    I am almost finished with a Perl/Tk tutorial. Check the PerlMonks Tutorials at the end of the week, I should have it uploaded by then.

    Update: I added the tutorial. Please click on over to the Tk Tutorial.


Re: Perl:Tk tutorials
by aufrank (Pilgrim) on Jul 15, 2002 at 14:15 UTC
    I've only done a very limited amount of perl::Tk stuff, but for what I did, I found that the documentation was helpful enough... it doesn't necessarily make things easy, but it at least gave me enough direction so that I figured things out eventually.

    I would start with the UserGuide part of the pod, it outlines the use of the most basic functions. Once you've read through that you can read about different events and widgets and such in the rest of the pod. I'll echo a previous poster's comments in saying that you should definitely also check out the widget demo.

    Hope this helps,

Re: Perl:Tk tutorials
by stefp (Vicar) on Jul 15, 2002 at 14:00 UTC
    I find the demos included in the tarball invaluable. When beginning with complex systems, it easier to adapt some existing codes than to roll-up ones own from scratch. Usually (and depending on you installation system, perl pecific or not: ppm, cpan, rpm, apt-get...), these demos are not included in the installed system.

    Also Advanced Perl Programming contains some material about Tk. It is one of my three favorite perl books with the bible and OOP. Random hints: even if Tk is quite oldish in its look, it has two powerful widgets: see Tk::Text and Tk::Canvas, also the power of GUIs is in the ability to define new event handlers: see Tk::bind.

    -- stefp -- check out TeXmacs wiki

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://181713]
Approved by IlyaM
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2023-02-08 19:25 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (43 votes). Check out past polls.