Button: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
(-deprecated tags)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
 
'''button''' can be used to redefine what the mouse buttons do.
'''button''' can be used to redefine what the mouse buttons do.


Line 6: Line 6:


===PYMOL API===
===PYMOL API===
<source lang="python">
cmd.button( string button, string modifier, string action )
cmd.button( string button, string modifier, string action )
</source>


===NOTES===
===NOTES===
button:      L, M, R, S
button:       
modifers:   None, Shft, Ctrl, CtSh
*L
actions:     Rota, Move, MovZ, Clip, RotZ, ClpN, ClpF
*M
            lbmbrb+lb+lbX, -lbX, +mb+rb,
*R
            PkAt, PkBd, RotF, TorF, MovF, Orig, Cent  
*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  


[[Category:Commands|button]]
[[Category:Commands|Button]]
[[Category:Mouse|Button]]

Latest revision as of 07:29, 4 September 2024

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