Forum: Poser Python Scripting


Subject: more on: Running multiple Tkinter scripts.

tromnek opened this issue on Jan 21, 2005 ยท 12 posts


tromnek posted Fri, 28 January 2005 at 1:41 PM

Ok. I think this has everything I want. You can create a standalone 'judge/protector' (now named Sir Bedevere) with;
NewtTk().mainloop()

or your app can create a separate 'Sir Bedevere' along with itself by;

root = NewtTk().Tk()<br></br>(snip...)<br></br>root.mainloop()

or your app can keep 'Sir Bedevere' all to itself by;

root = NewtTk().Tk(newtoplevel=0)<br></br>(snip...)<br></br>root.mainloop()

Let me know if there are any problems with this approach (or any suggestions).
duckmango, I renamed a bunch of symbols from earlier versions you saw, hope it isn't too confusing.