AddInstrumentDialog
index
/home/mike/src/jokosher/trunk/Jokosher/AddInstrumentDialog.py

#       THIS FILE IS PART OF THE JOKOSHER PROJECT AND LICENSED UNDER THE GPL. SEE
#       THE 'COPYING' FILE FOR DETAILS
#
#       AddInstrumentDialog.py
#       
#       This module handles the dialog for adding instruments to a project. Don't
#       you just love instruments. We do. In fact, I suspect Laszlo has printed a
#       picture of the dialog box out and sleeps next to it.
#
#-------------------------------------------------------------------------------

 
Modules
       
Globals
gtk
os

 
Classes
       
AddInstrumentDialog

 
class AddInstrumentDialog
    This class handles all of the processing associated with the
Add Instrument dialog.
 
  Methods defined here:
OnCancel(self, button)
Cancel button is pressed
OnOK(self, button=None)
OK pushed on the dialog
OnSearchChange(self, widget)
A new letter is added to the search box, so update the search
OnSelected(self, iconview, path)
An instrument is selected
OnSelectionChanged(self, button)
If a new instrument icon is chosen, this method is called
__init__(self, project, parent)