/ . / chimera / mousemodes.py
Functions
|
|
|
setButtonFunction
|
setButtonFunction (
button,
modifiers,
function,
isDefault=False,
)
|
|
expandButton
|
expandButton ( button, modifiers )
|
|
addFunction
|
addFunction (
name,
callables,
icon=None,
)
Add a named mouse function with callback functions + optional icon
The 3 (or 5) callbacks are invoked on: mouse press, mouse motion,
and mouse release and optionallly mouse double press and mouse
double release. The callbacks take two arguments: viewer and
event. The callbacks will be called from tkgui.py.
An optional icon can be supplied. If not, then an icon will be
looked up (using the function name with .png appended) via
chimage.get()
|
|
getCallables
|
getCallables ( button, modifiers )
|
|
getFuncName
|
getFuncName ( button, modifiers )
|
|
getDefault
|
getDefault ( button, modifiers )
|
|
getImage
|
getImage ( name, master )
|
|
expandModifiers
|
expandModifiers ( modifiers )
|
|
|