Hello PyMOL users,
Menus
=
Is there a way I can add custom menu in PyMOL?
Ideally I'd like to be able to call both
* pml scripts, as well as
* full python pymol scrpts
Shortcuts
=
Similarly -- is there a way I can bind exectution of given
* pml script, or
* full python pymol
http://pymolwiki.org/index.php/Set_Key
http://pymolwiki.org/index.php/Extend is also useful.
-David
On Tuesday, October 23, 2012 at 6:02 AM, Boris Kheyfets wrote:
Hello PyMOL users,
Menus
=
Is there a way I can add custom menu in PyMOL?
Ideally I'd like to be able to call
Found a solution.
Basically it is to add
pmg_tk/startup/newmenu.py
file with the following content:
from Tkinter import *
from pymol import cmd
def __init__(self):
self.menuBar.addmenu('NewMenu', 'Sample Menu')
self.menuBar.addmenuitem('NewMenu', 'command',
Hi Boris,
David Hall's suggestions are perfect.
Let me offer one more. If you can put up with programming a little
Python, check out pymol/modules/pymol/menu.py and
pymol/modules/pymol/preset.py. In menu.py you could add a No W menu
option (or similar) to the A Preset
Cheers,
-- Jason
On
Hi,
Is it now possible to have wire mesh cgo object spheres in pymol?
I found this thread from a while ago (2004) but googleing, I didn't
find anything more recent.
The one sort of work around that I though of was to create pseudo-atoms
and somehow modify their radius and then show them as