AlexQuevillon/UnrealPythonLibrary

Tkinter GUI and threanding Timer cant use in unreal

Opened this issue · 0 comments

Hi, Guy

I have an issue about Tkinter and threanding issue

First is if I use Tkinter in UE, maybe because mainloop(). I have no idea
Second is I cant use threading module in UE, no idea. Below is simple code.
This code can run at PY IDE. 1s print 'hello', but it cant use in UE. It can run but it is not what I need

import threading

def func():
print 'hello!'
timer = threading.Timer(1, func)
timer.start()

func()