mode : The mode is the name of a pre-defined button mode that is changed to. Possible values are:
value | description |
---|---|
default | The default button mode in JyMOL |
three_button_maestro | Mouse mappings that match Schrodinger Maestro |
three_button_viewing | PyMOL 3 Button Viewing |
three_button_editing | PyMOL 3 Button Editing |
three_button_motions | PyMOL 3 Button Motions |
two_button_viewing | PyMOL 2 Button Viewing |
two_button_selecting | PyMOL 2 Button Selecting |
two_button_editing | PyMOL 2 Button Editing |
one_button_viewing | PyMOL 1 Button Viewing |
jymol.cmd.setButtonMode("three_button_maestro")
will set the button functions in JyMOL to mimic Maestro.
setButtonMode() works in a similar way (but with different arguments) as the PyMOL command config_mouse in the PyMOL api.