Tk Inter threading

class pypdevs.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(t, func)[source]

Wait for the specified time, or faster if interrupted

Parameters
  • t – time to wait

  • func – the function to call