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

Type MasterPanel

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
                 Panel --+
                         |
                        MasterPanel


A panel containing the master slider and BPM/TPB spin controls.
Method Summary
  __init__(self, rootwindow, *args, **kwds)
Initializer.
  on_bpm(self, event)
Event handler triggered when the bpm spin control value is being changed.
  on_mousewheel(self, event)
Sent when the mousewheel is used on the master slider.
  on_player_callback(self, player, plugin, data)
callback for ui events sent by zzub.
  on_scroll_changed(self, event)
Event handler triggered when the master slider has been dragged.
  on_tpb(self, event)
Event handler triggered when the tpb spin control value is being changed.
  update_all(self)
Updates all controls.
    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)

Instance Method Details

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

Initializer.
Overrides:
wx._windows.Panel.__init__

on_bpm(self, event)

Event handler triggered when the bpm spin control value is being changed.
Parameters:
event - event.
           (type=wx.Event)

on_mousewheel(self, event)

Sent when the mousewheel is used on the master slider.
Parameters:
event - A mouse event.
           (type=wx.MouseEvent)

on_player_callback(self, player, plugin, data)

callback for ui events sent by zzub.
Parameters:
player - player instance.
           (type=zzub.Player)
plugin - plugin instance
           (type=zzub.Plugin)
data - event data.
           (type=zzub_event_data_t)

on_scroll_changed(self, event)

Event handler triggered when the master slider has been dragged.
Parameters:
event - event.
           (type=wx.Event)

on_tpb(self, event)

Event handler triggered when the tpb spin control value is being changed.
Parameters:
event - event.
           (type=wx.Event)

update_all(self)

Updates all controls.

Generated by Epydoc 2.1 on Sun Feb 4 18:01:15 2007 http://epydoc.sf.net