Has anyone been able to acces Tkinter inside blender? There are a couple of external windows I’d like to have…especially ones that pop up in the real time engine.
Thanks
KJV
Has anyone been able to acces Tkinter inside blender? There are a couple of external windows I’d like to have…especially ones that pop up in the real time engine.
Thanks
KJV
when you use TK from inside Blender, the control is passed to the TK module and doesn’T returns until it is closed. I wouldn’t know for gameblender though, but I guess it’s the same.
Martin
Thanks,
I was hoping to have an external status box. I am using the game engine to fly objects using data from a simulation. I guess I’ll have to use the debugging selections in the real time engine window.
KJV
Yes, I’ve seen some Tkinter GUI being used inside Blender, not as an external window, but kind of like Blender.Draw module.
I don’t see why an external Tk window should give any problems, just be shure to start it in a new thread, so it doesn’t block blender.
By the way, A very ease way to debug in GameEngine, is to make an object in Blender, attach it to gamelogic (GameLog.debug=owner), and have some owner variable for debug (fe owner.log).
make sure tis is a string property.
Now, from everywher in your game you can say GameLogic.debug.log = something
(note the ` char, not ’ char, to instantly convert to a string)
Hope this helps,
Jasper
[Post] Posted: Sat Jul 13, 2002 12:55 pm Post subject:
Yes, I’ve seen some Tkinter GUI being used inside Blender, not as an external window, but kind of like Blender.Draw module.
Would you ar anyone be able to point me to an example of this?
Or even better the same using wxPython???