next up previous contents index
Next: Controlling VMD from Python Up: Python callbacks Previous: Python callbacks   Contents   Index


Using Tkinter menus in VMD

The object-oriented interface to Tk known as Tkinter is included with the embedded Python interpreter. You can create Tkinter GUI's in the usual way, with one caveat: the Tkinter.mainloop() method should never be called, as it will interfere with VMD's own event loop. VMD will take care of updating your GUI windows for you.



vmd@ks.uiuc.edu