Hi Eduard, > I would like to catch the event click on a residue or atoms. > For instance, I click on a residue in my structure (or in > the wizard sequence ), I would like to 1/ get in a variable what I clicked > and 2/ launch immediately my function. > It is possible? If yes, where can I get some example or explanation for > that.
You can use "wizard" framework. Please examine "examples/devel/click_ordered_list.py" in Pymol source tree. Best regards, Takanori Nakane ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net