How are you?
I'm writing a wizard, in which I want to implement the function that when I left-click the C-alpha atom, there will be a PopUp window coming out with my defined information in the Viewer window. I can do it using 'tkMessageBox.showinfo', but I want to make it beautiful.
I know that when you left-double click or right-click the protein structure, the popup menu show up. I read the source code of 'menu.py', I'm not sure in the function, the parameter 'self_cmd', what's it for? where the menu functions are called? If I figure it out, I think I can code it in my wizard.
Hope you can help me :)