Package peppy :: Package plugins :: Module mpd_major_mode :: Class MPDSearchResults
[frames] | no frames]

Class MPDSearchResults

                     object --+            
                              |            
      lib.userparams.ClassPrefs --+        
                                  |        
                     object --+   |        
                              |   |        
               debug.debugmixin --+        
                                  |        
                    minor.MinorMode --+    
                                      |    
                      MPDMinorModeMixin --+
                                          |
              lib.nextpanel.wx.ListCtrl --+
                                          |
                             object --+   |
                                      |   |
lib.column_autosize.ColumnAutoSizeMixin --+
                                          |
                             object --+   |
                                      |   |
               lib.nextpanel.debugmixin --+
                                          |
                                         MPDSearchResults

Minor mode to display the results of a file search.

Nested Classes

Inherited from lib.userparams.ClassPrefs: __metaclass__

Instance Methods
 
__init__(self, major, parent)
Classes using this mixin should call this method, or at least save the major mode.
 
deletePreHook(self)
Hook to clean up any resources before anything else is deleted.
 
paneInfoHook(self, paneinfo)
Hook to modify the paneinfo object before the major mode does anything with it.
 
createColumns(self)
 
OnItemActivated(self, evt)
 
getSelectedSongs(self)
 
OnStartDrag(self, evt)
 
reset(self, mpd=None)
 
populateTracks(self, tracks)
 
searchResultsTracks(self, message=None)
 
populate(self, artists, albums)
 
searchResultsArtistsAlbums(self, message=None)
 
showIfHidden(self)
 
update(self)

Inherited from minor.MinorMode: getDefaultPaneInfo, getPaneInfo, setup

Inherited from lib.column_autosize.ColumnAutoSizeMixin: InsertSizedColumn, ResizeColumns

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

Class Methods

Inherited from MPDMinorModeMixin: worksWithMajorMode

Inherited from minor.MinorMode: getValidMinorModes

Inherited from debug.debugmixin: dprint

Class Variables
  keyword = "MPD Search Results"
  default_classprefs = IntParam('best_width', 800), IntParam('be...

Inherited from minor.MinorMode: classprefs

Inherited from lib.userparams.ClassPrefs: preferences_sort_weight

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from object: __class__

Method Details

__init__(self, major, parent)
(Constructor)

 

Classes using this mixin should call this method, or at least save the major mode.

Overrides: object.__init__
(inherited documentation)

deletePreHook(self)

 

Hook to clean up any resources before anything else is deleted.

This hook is called whether or not the minor mode has a window.

Overrides: minor.MinorMode.deletePreHook
(inherited documentation)

paneInfoHook(self, paneinfo)

 

Hook to modify the paneinfo object before the major mode does anything with it.

Overrides: minor.MinorMode.paneInfoHook
(inherited documentation)

Class Variable Details

default_classprefs

Value:
IntParam('best_width', 800), IntParam('best_height', 400), IntParam('m\
in_width', 300), IntParam('min_height', 200),