Logo Search packages:      
Sourcecode: matplotlib version File versions

set_dynamic_test.py

from enthought.traits.api    import *
from enthought.traits.ui.api import *

class Team ( HasTraits ):

    batting_order = List( Str )
    roster        = List( [ 'Tom', 'Dick', 'Harry', 'Sally' ], Str )
    
    view = View( Item( 'batting_order', editor = SetEditor( name    = 'roster',
                                                            ordered = True ) ),
                 '_', 'roster@' )
                 
if __name__ == '__main__':
    Team().configure_traits()                 

Generated by  Doxygen 1.6.0   Back to index