Errata

Perl/Tk Pocket Reference

Errata for Perl/Tk Pocket Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 3
In the section on Perl/Tk callbacks,

Changed:
Note that B<bind> callbacks are implicitly passed the bound widget
reference as the first argument of the parameters list.
to:
Note that B<bind> I<callbacks> are implicitly passed the bound object
as the first argument of the parameter list.

Also changed:
To prevent B<bind> from supplying an implicit widget reference
to the callback use this form:
to:
To prevent B<bind> from supplying an implicit object reference
to the I<callback>, specify your own object as the first element of
the array:

Anonymous    Apr 01, 2000
Printed
Page 5
Under the -relief option, added "solid" as a valid value.

Anonymous    Apr 01, 2000
Printed
Page 10
In the description of the Canvas bind() command, added this sentence

"Use the B<CanvasBind> method to create a binding for the
canvas as a whole."

Anonymous    Apr 01, 2000
Printed
Page 31

The sentence "Set state of default ring" now reads:

"Set state of default string".

Anonymous    Apr 01, 2000
Printed
Page 49
in -data description

changed:
"Specifies a string" to "Specifies a Perl scalar"

Anonymous    Apr 01, 2000
Printed
Page 62
Removed the italics from "selectionSet"

Anonymous    Apr 01, 2000
Printed
Page 72
Changed

@ISA = qw/Tk::Derived Tk::SomeWidget/;
to:
use base qw/Tk::Derived Tk::SomeWidget/;

Anonymous    Apr 01, 2000
Printed
Page 85
Changed the first sentence of section 15, Bindings and Virtual Events,

to this:

Note that B<bind> I<callbacks> are implicitly passed the bound object
as the first argument of the parameter list.

Anonymous    Apr 01, 2000
Printed
Page 86
The syntax line for eventAdd() had a superfluous constant-width-font

character "t". Removed the "t" so that

tI<virtual> became simply I<virtual>

Anonymous    Apr 01, 2000
Printed
Page 93
The "component" parameter to B<findINC> is now in italics rather than

constant width font.

Anonymous    Apr 01, 2000
Printed
Page 93
The Busy() command has an optional -recurse parameter.

Changed entry to:
$widget->Busy (-recurse => 1);
Changes cursor to a watch until B<Unbusy> is called. If
CW<-recurse> is true, descend the widget hierarchy and
change all cursors.

Anonymous    Apr 01, 2000
Printed
Page 99
Incorrect index entries

geometry, 79,, 83 is now geometry, 79, 83, 88

Anonymous    Apr 01, 2000
Printed
Page 100
Incorrect index entries

Subwidget, 72 is now Subwidget, 74
Text, 8 is now Text, 24
Toplevel, 73 is now Toplevel, 39

Anonymous    Apr 01, 2000