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

Class MPDPlaylist

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

Minor mode to display the current playlist and controls for music playing.

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.
 
createColumns(self)
 
OnItemActivated(self, evt)
 
getSelectedSongs(self)
 
delete(self, message=None)
 
OnSongChanged(self, evt)
 
OnStartDrag(self, evt)
 
AddSongs(self, x, y, songs)
 
setSelected(self, ids)
 
playlistChanged(self, msg=None)
 
OnPlaylistChanged(self, evt)
 
reset(self, mpd=None, visible=None)
 
appendSong(self, message=None)
 
highlightSong(self, newindex)
 
songChanged(self, msg)

Inherited from minor.MinorMode: getDefaultPaneInfo, getPaneInfo, paneInfoHook, setup

Inherited from lib.column_autosize.ColumnAutoSizeMixin: InsertSizedColumn, ResizeColumns

Inherited from lib.dropscroller.ListDropScrollerMixin: OnAutoScrollTimer, finishListScroll, getDropIndex, processListScroll

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 Playlist"
  default_classprefs = IntParam('best_width', 400), 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)

Class Variable Details

default_classprefs

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