tk/appname

(tk/appname)
returns the name of the Tcl/Tk application (the name that may be used in send commands to communicate with the Tcl/Tk application).
(tk appname ?newName?)
the name of the application is changed to newName.

If the given name is already in use, then a suffix of the form #2 or #3 is appended in order to make the name unique.

The command's result is the name actually chosen. The name newName should not start with a capital letter.


Corresponding Tcl/Tk command:

tk appname ...

© Author | Home | Sitemap