Package aldrin :: Module preferences :: Class MidiInPanel
[show private | hide private]
[frames | no frames]

Type MidiInPanel

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


Panel which allows to see and change a list of used MIDI input devices. You can also set up controller mappings here.
Method Summary
  __init__(self, rootwindow, *args, **kwds)
  apply(self)
Validates user input and reinitializes the driver with current settings.
  on_add_controller(self, event)
Handles 'Add' button click.
  on_remove_controller(self, event)
Handles 'Remove' button click.
  update_controllers(self)
Updates the controller list.
    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

apply(self)

Validates user input and reinitializes the driver with current settings. If the reinitialization fails, the user is being informed and asked to change the settings.

on_add_controller(self, event)

Handles 'Add' button click. Opens a popup that records controller events.
Parameters:
event - Command event.
           (type=wx.CommandEvent)

on_remove_controller(self, event)

Handles 'Remove' button click. Removes the selected controller from list.
Parameters:
event - Command event.
           (type=wx.CommandEvent)

update_controllers(self)

Updates the controller list.

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