Tk Inter threading

class realtime.threadingTkInter.ThreadingTkInter(tk)[source]

Tk Inter subsystem for realtime simulation

__init__(tk)[source]

Constructor

Parameters:queue – the queue object that is also used by the main thread to put events on the main Tk object
interrupt()[source]

Interrupt the waiting thread

unlock()[source]

Unlock the waiting thread

wait(time, func)[source]

Wait for the specified time, or faster if interrupted

Parameters:
  • time – time to wait
  • func – the function to call