tk/wm iconname

(tk/wm 'iconname #<widget> ?newName?)
If newName is specified, then it is passed to the window manager; the window manager should display newName inside the icon associated with #<widget>. In this case an empty string is returned as result. If newName isn't specified then the command returns the current icon name for #<widget>, or an empty string if no icon name has been specified (in this case the window manager will normally display the #<widget>'s title, as specified with the tk/wm title command).

© Author | Home | Sitemap