[Frank Pilhofer]'s Reload, Refresh, ..., [David Welton]'s endless reloads, [Jeffrey Hobbs]' use of "fresh" [tkcon] tabs [http://groups-beta.google.com/group/comp.lang.tcl/browse_thread/thread/f23709cc07401cc5/ba2bfab93b3b73d8], as well as [Keith Vetter]'s console resets [http://mini.net/tcl/RestartingATkconApplication] ... [A minimal debugger] ... ---- [RS] routinely puts into [Tk]-provided scripts under development these two lines: bind . {exec wish $argv0 &; exit} bind . {console show} ;# Windows only With an interactive console, the following shortcut is often helpful: interp alias {} ? {} set errorInfo Another little helper to display canvas x/y coordinates in the title bar: bind .c {wm title . %x/%y} [LES]: Hmm... I have this: frame $::w.wframe text $::w.wframe.textw scrollbar $::w.wframe.sbar Then I bind it: bind $::w.wframe.textw {wm title $::w "Position: %x/%y" } It works, but only so far as I move the mouse around the text widget. It won't work when I move it over the scroll or title bar. Certainly because I made a binding for the text widget only. I can just bind the mouse movement '''to the frame''', because it '''contains everything''', right? bind $::w.wframe {wm title $::w "Position: %x/%y" } Wrong. Now it only works when I move the mouse over the scroll bar. But isn't the text widget contained in the frame too? What is wrong with my assumption? And I guess it is impossible to detect mouse movement over the title bar? ---- [Category Debugging]