Button: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
"button" can be used to redefine what the mouse buttons do.
'''button''' can be used to redefine what the mouse buttons do.


===USAGE===
===USAGE===
Line 11: Line 11:


===NOTES===
===NOTES===
  button:      L, M, R, S
button:      L, M, R, S
  modifers:    None, Shft, Ctrl, CtSh
modifers:    None, Shft, Ctrl, CtSh
  actions:    Rota, Move, MovZ, Clip, RotZ, ClpN, ClpF
actions:    Rota, Move, MovZ, Clip, RotZ, ClpN, ClpF
                lb,  mb,  rb,  +lb,  +lbX, -lbX, +mb,  +rb,  
            lb,  mb,  rb,  +lb,  +lbX, -lbX, +mb,  +rb,  
                PkAt, PkBd, RotF, TorF, MovF, Orig, Cent  
            PkAt, PkBd, RotF, TorF, MovF, Orig, Cent  


[[Category:Commands|button]]
[[Category:Commands|button]]

Revision as of 12:11, 29 June 2005

DESCRIPTION

button can be used to redefine what the mouse buttons do.

USAGE

button <button>,<modifier>,<action>

PYMOL API

cmd.button( string button, string modifier, string action )

NOTES

button: L, M, R, S modifers: None, Shft, Ctrl, CtSh actions: Rota, Move, MovZ, Clip, RotZ, ClpN, ClpF

            lb,   mb,   rb,   +lb,  +lbX, -lbX, +mb,  +rb, 
            PkAt, PkBd, RotF, TorF, MovF, Orig, Cent