winfo atom

winfo atom

Returns a decimal string giving the integer identifier for the atom whose name is name. If no atom exists with the name name then a new one is created. If the -displayof option is given then the atom is looked up on the display of window; otherwise it is looked up on the display of the application's main window.

winfo atom ?-displayof window(aka which display to look for)? name

<<winfo,tcl.tk>>