From: firstname.lastname@example.org (Peter Prymmer)
Subject: comp.lang.perl.tk FAQ
Date: Wed May 15 22:26:55 EDT 1996
Summary: comp.lang.perl.tk Frequently Asked Questions.
Last-modified: Wed May 15 22:26:55 EDT 1996
The Perl/Tk extension to the Perl programming language is copywritten by its
author Nick Ing-Simmons <email@example.com>
whose Tk-b11.02/COPYING file reads as follows:
Copyright (c) 1995 Nick Ing-Simmons. All rights reserved.
This package is free software; you can redistribute it and/or
modify it under the same terms as Perl itself, with the exception
of the files in the pTk sub-directory which have separate terms
derived from those of the orignal Tk4.0 sources and/or Tix.
See pTk/license.terms for details of this Tk license,
and pTk/Tix.license for the Tix license.
This compilation of Frequently Asked Questions & answers (FAQ) is
intended to answer several of the first (and mostly more basic) questions
posted to the comp.lang.perl.tk newsgroup.
This document concerns itself with the Perl/Tk programming language (or, if you
prefer, the Tk extension to Perl). Please beware that this is not the
Perl FAQ, this is not the
Tcl FAQ, nor is
this the Tcl/Tk
FAQ. Each of those other documents are useful sources of information for
Perl/Tk programmers but are completely different from this one.
This is a dynamic document and contributions, clarifications, and
corrections are most welcome!
Please send e-mail to
With your help this document will get better (-:
- What is perl/Tk?
- What is the difference between perl/Tk and Tkperl?
- Where is it?
- What/Where is CPAN?
- How do I build it?
- Where is the Documentation?
- How do I write scripts in perl/Tk?
- What widget types are available under perl/Tk?
- How do I get widget X to do Y ?
- How do I get a Button to call a Perl subroutine?
- How do I arrange the layout of my widgets?
- How do I get a Popup to popup?
- How do I bind keyboard keys?
- How do I add bindings?
- How do I bind the action of a slider (sic) to ... ?
- How do I configure a Scrollbar to scroll multiple widgets?
- How do I display a bitmap?
- How do I display an image?
- What Image types are available?
- Is there any way to have more than one Listbox contain a selection?
- How do I select a range of tags in a Text widget?
- How do I group Radiobuttons together?
- How do I specify fonts?
- How do I get the entry in an Entry?
- How do I hide a password Entry?
- How do I obtain Menus that do not tear off?
- How do I get a Canvas to ... ?
- Display a bitmap?
- Erase a display?
- Display an Image?
- What things can be created on a Canvas?
- How do I use the Canvas as a geometry manager?
- How do I get a Canvas to output PostScript(c)?
- How do I get a PostScript(c) output of a Canvas w/ widgets?
- How do I get the size of a Canvas? After a re-size?
- How do I bind different actions to different areas of the same Canvas?
- Common Problems.
- What do the ->, => and :: symbols mean?
- What happened to the ampersands &?
- What happened to the quotation marks?
- Must I use "my" on all my variables?
- Is there a way to find out what is in my perl/Tk "PATH"?
- What is the difference between use and require?
- How do I change the cursor/color?
- How do I ring the bell?
- How do I determine the version of perl/Tk that I am running?
- How do I call perl from C?
- How do I call Tcl code from perl/Tk?
- What are some of the primary differences between Tcl/Tk and Perl/Tk?
- How do I install new scripts | modules | extensions?
- How do I write new modules?
- Composite Widgets.
- How do I get a Dialog box?
- Is there a file selector?
- Is there a color editor?
- Is there a round Scale?
- Is there something equivalent to tkerror?
- Are there Tables?
- Programming/development tools.
- Is there a Tcl/Tk to perl/Tk translator?
- Is there something equivalent to
wish in perl/Tk?
- Is there a debugger specifically for perl/Tk?
- Is there a GUI builder in perl/Tk?
- Processes & Inter-Process Communication under Perl/Tk.
- How does one get Perl/Tk to act on events that are not coming from X?
- Is there a send and do I need xauth?
- How can I do animations using after?
- How do I update widgets while waiting for other processes to complete?
- How do you fork on System V (HP)?
- How do I "clear the screen"?
- Are there any international font packages for perl/Tk?
- Are there any other ways to create X interfaces from perl?
- Where can I get more information on graphics modules?
- Are there any major applications written in perl/Tk?
- What is the history of pTk and perl/Tk?
- What can we expect the future to hold?
- How do I obtain the latest version of this FAQ?
- Acknowledgements & maintainer.
Return to table of contents | Next