Hi,
Just calling tkMessagebox like that causes a Tcl error which confuses
PyMOL, causing the crash. Try this code instead:
# begin Python block
python
import tkMessageBox
tkMessageBox.showinfo("title", "msg")
# end python block of code
python end
This wraps the code as one block and sends
Hi to all,
I need to open a message box dialog inside a pyMOL plug-in.
When I try the code:
import tkMessageBox
tkMessageBox.showinfo(‘title’, ‘msg’)
pyMOL crashes (the window doesn’t appear and pyMOL blocks).
I am just entering pyMOL and python. I never used Tkinter before.
Could anyone help