Master of threads under DigitalMicrograph
问题 I have created two threads in DigitalMicrograph and they are executed as soon as the script is executed. I want something different. Let's imagine two buttons for the threads (start and stop thread). How can I add code to activate the threads only when I push buttons ? It would be very helpful if you had a code exemple for me. 回答1: There are a couple of things to consider: You can not allocate new objects from within the UIframe object. (To be more precise: From a method invoked by a UI