beetlebug▾
/

text debug

Gives or sets the debug flag of the text widgets.

PATHNAME debug ?BOOLEAN?

Description

In Tk, a true value makes the text widgets check their data structures after each change. ztk keeps the flag for debug and makes no check.

Returns

The flag with no argument, else an empty string.

Examples

% text .db
> .db debug 1
> .db debug
1

Errors

Each value is stored as a flag.

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also