User Tools

Site Tools


media:jymol_cmd.setbuttonmode

setButtonMode Command

  • setButtonMode( mode ) sets the button mode for the JyMOL workspace.

Arguments

mode : The mode is the name of a pre-defined button mode that is changed to. Possible values are:

value description
defaultThe default button mode in JyMOL
three_button_maestroMouse mappings that match Schrodinger Maestro
three_button_viewingPyMOL 3 Button Viewing
three_button_editingPyMOL 3 Button Editing
three_button_motionsPyMOL 3 Button Motions
two_button_viewingPyMOL 2 Button Viewing
two_button_selectingPyMOL 2 Button Selecting
two_button_editingPyMOL 2 Button Editing
one_button_viewingPyMOL 1 Button Viewing

Example

jymol.cmd.setButtonMode("three_button_maestro")

will set the button functions in JyMOL to mimic Maestro.

See Also

setButtonMode() works in a similar way (but with different arguments) as the PyMOL command config_mouse in the PyMOL api.

media/jymol_cmd.setbuttonmode.txt · Last modified: 2013/08/19 21:00 (external edit)