[PyMOL] clicking to select cgo objects

2012-03-22 Thread Peter Kerpedjiev
Hi, Is there a way to select a CGO object by clicking on it in the display? Is it possible to add python handler for a mouse-click event? The scenario is this: I draw some CGO objects to the display. When the user clicks on one, I want to hide that object and display another one. -Peter

Re: [PyMOL] clicking to select cgo objects

2012-03-22 Thread Jason Vertrees
Hi Peter, Is there a way to select a CGO object by clicking on it in the display? Is it possible to add python handler for a mouse-click event? The scenario is this: I draw some CGO objects to the display. When the user clicks on one, I want to hide that object and display another one. You