This is a read-only mirror of pymolwiki.org
Difference between revisions of "Button"
Jump to navigation
Jump to search
m (8 revisions) |
|||
| (7 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | ||
| − | + | '''button''' can be used to redefine what the mouse buttons do. | |
| − | + | ||
===USAGE=== | ===USAGE=== | ||
| − | + | button <button>,<modifier>,<action> | |
| − | + | ||
===PYMOL API=== | ===PYMOL API=== | ||
| − | <source lang="python"> | + | <source lang="python"> |
| − | + | cmd.button( string button, string modifier, string action ) | |
</source> | </source> | ||
===NOTES=== | ===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 | ||
| − | [[Category:Commands| | + | [[Category:Commands|Button]] |
| + | [[Category:Mouse|Button]] | ||
Latest revision as of 01:31, 28 March 2014
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