From: Steve L. <st...@di...> - 2017-12-01 06:33:18
|
Should Tk work in a thread on MacOS ? The following script works on Linux and Windows, but not MacOS the toplevel window resizes but the label doesn’t appear. I can’t find any documentation that says it shouldn’t work. package require Thread set id [thread::create] thread::send $id { package require Tk label .l1 -text "This is a label" grid configure .l1 } It seems the grid is the problem, because I can see the label widget exists. Replacing grid with a pack doesn’t fix it. Can anyone shed some light? —Steve |