Logo Search packages:      
Sourcecode: wavesurfer version File versions  Download package

def WsurfPlugin::SamplePlugin::addMenuEntriesProc (   self,
  w,
  pane,
  m,
  hook,
  x,
  y 
)
Add menu entries

Definition at line 156 of file WsurfPlugin.py.

                                                        :
        """Add menu entries"""
        # self.master is known at registration time
        if hook == 'create':
            menu = TkObject(self.master, '%s.%s' % (m, hook)) 
            menu.add('command', label="Waveform (sample)",
            command=lambda self=self, w=w, pane=pane: \
                     self.createWaveform(w,pane))


Generated by  Doxygen 1.6.0   Back to index