HappyDoc Generated Documentation .\chimera\mousemodes.py

. / 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 )
Exceptions   

IOError, v

  expandModifiers 
expandModifiers ( modifiers )
Classes   

MouseCategory

Mouse modes category has its own interface


This document was automatically generated Thu Feb 02 15:18:24 2006 by HappyDoc version 3.0.a1