Timer events within a Tkinter class
Hi all,
Is it possible to have a Vizard timer event occur within a Tkinter application? I seem to be running into a problem with the Tkinter main loop dominating the program execution, so Vizard's normal functionality temporarily halts in the background. In other words, a timer event created using vizact.ontimer() will not execute within the Tkinter application. Is there a way around this? |
Found the answer here: http://forum.worldviz.com/showthread...hlight=tkinter
|
Ran into another problem. Having Vizard embedded in the Tkinter frame works fine, and Vizard picks up mouse events. However, it does not pick up keyboard events. Here is the relevant code:
Code:
class InputSetup(Tkinter.Frame): Code:
viz.update(viz.UPDATE_INPUT) Is there anything I'm overlooking that I need to manually ensure is updated? |
All times are GMT -7. The time now is 09:49 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC