Package qubx :: Module modelGTK :: Class QubModelColorTool
[hide private]
[frames] | no frames]

Class QubModelColorTool

source code

          object --+        
                   |        
      toolspace.Tool --+    
                       |    
toolspace.OverlayRgnTool --+
                           |
                          QubModelColorTool

Mouse interaction and overlay while picking a state's color.

Instance Methods [hide private]
 
__init__(self, x, y, prev_tool, state)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
onOverlay(self, context, w, h) source code
 
onRelease(self, x, y, e) source code

Inherited from toolspace.OverlayRgnTool: next_rgn, onKeyPress, onRoll, prev_rgn

Inherited from toolspace.Tool: activate, deactivate, onActivate, onDblClick, onDeactivate, onDrag, onKeyRelease, onNeedPopup, onPress, onScroll

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from toolspace.OverlayRgnTool: prev_tool, rgn, rgns, start_x, start_y

Inherited from toolspace.Tool: cursor, layers, space

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, x, y, prev_tool, state)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

onOverlay(self, context, w, h)

source code 
Overrides: toolspace.Tool.onOverlay

onRelease(self, x, y, e)

source code 
Overrides: toolspace.Tool.onRelease