Package aldrin :: Module main :: Class AmpView
[show private | hide private]
[frames | no frames]

Type AmpView

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
                Canvas --+
                         |
                        AmpView


A simple control rendering a Buzz-like master VU bar.
Method Summary
  __init__(self, *args, **kwds)
Initializer.
  DrawBuffer(self)
Draws the VU bar client region.
  on_update(self, event)
Event handler triggered by a 25fps timer event.
    Inherited from Canvas
  Blit(self, dc)
Performs the blit of the buffer contents on-screen.
  GetBoundingRect(self)
Returns a tuple that contains the co-ordinates of the top-left and bottom-right corners of the canvas.
  MakeNewBuffer(self)
  onEraseBackground(self, event)
  onPaint(self, event)
Renders the off-screen buffer on-screen.
  onPostPaint(self, dc)
  onSize(self, event)
Perform actual redraw to off-screen buffer only when the size of the canvas has changed.
  ReDraw(self, *args, **kargs)
Explicitly tells the canvas to redraw it's contents.
  Refresh(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
    Inherited from Canvas
bool doublebuffered = True

Instance Method Details

__init__(self, *args, **kwds)
(Constructor)

Initializer.
Overrides:
aldrin.canvas.Canvas.__init__

DrawBuffer(self)

Draws the VU bar client region.
Overrides:
aldrin.canvas.Canvas.DrawBuffer

on_update(self, event)

Event handler triggered by a 25fps timer event.
Parameters:
event - Timer event.
           (type=wx.Event)

Generated by Epydoc 2.1 on Fri Nov 24 13:58:34 2006 http://epydoc.sf.net