Changeset 855

Show
Ignore:
Timestamp:
06/04/07 01:24:28 (2 years ago)
Author:
lilo_booter
Message:

+ Provides a means to override the double click behaviour

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jahtools/jbatch/jbatch_select.py

    r847 r855  
    1818                self.root = "/" 
    1919                self.list = [ ] 
     20                self.handler = self.play 
    2021 
    2122                frame = Tkinter.Frame( self ) 
     
    8485                                self.root = thing 
    8586                        else: 
    86                                 self.execute( [ thing, "." ] ) 
     87                                self.handler( thing ) 
    8788                        if up: 
    8889                                if self.root != "/": 
     
    9293                                if parent in self.list: 
    9394                                        self.select( self.list.index( parent ) ) 
    94                                  
     95 
     96        def play( self, thing ): 
     97                self.execute( [ thing, "." ] ) 
     98 
    9599        def select( self, request ): 
    96100                self.list_.select_clear( 0, self.list_.size( ) )