beetlebug▾
/

winfo atomname

Gives the name of an atom number.

winfo atomname ?-displayof WINDOW? ID

Description

ztk keeps no table of the numbers of winfo atom, so each ID gives an error.

Returns

An atom name.

Examples

# The number of `winfo atom` gives an error in ztk.
% catch {winfo atomname [winfo atom foo]}
1

Errors

% winfo atomname 99999
no atom exists with id "99999"
-errorcode NONE

Facts

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