Reputation: 41
Im developing a GUI program in linux using tkinter, the main thread build the window and place buttons with events asociated, then it just joins mainloop and wait for event. Is there a way to generate an event when user writes in program terminal (the one used to open python progrm)? How can i use my event thread to read user inputs and respond? The only alternative is using another thread but i would like to avoid that.
Upvotes: 0
Views: 26