beetlebug▾
/

text peer

Works on the peers of the text, in Tk.

PATHNAME peer create NEWPATHNAME ?OPTION VALUE ...?
PATHNAME peer names

Description

In Tk, a peer is another text widget that shows the same content. ztk has no peers: names gives an empty list, and create gives an error.

Returns

An empty list for names.

Examples

% text .pe
> .pe peer names

Errors

% text .pe2; .pe2 peer create .pe2.p
the text subcommand "peer create" is not in ztk
-errorcode NONE

Facts

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

See also