Difference between revisions of "Button"

From PyMOLWiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
===USAGE===
 
===USAGE===
  button <button>,<modifier>,<action>
+
button <button>,<modifier>,<action>
  
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">  
+
<source lang="python">
  cmd.button( string button, string modifier, string action )
+
cmd.button( string button, string modifier, string action )
 
</source>
 
</source>
  

Revision as of 23:09, 2 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