<s> """<STR_LIT>""" <EOL> from traits . api import HasTraits , List , Str <EOL> from traitsui . api import View , Item , ListStrEditor <EOL> class ShoppingListDemo ( HasTraits ) : <EOL> shopping_list = List ( Str ) <EOL> view = View ( <EOL> Item ( '<STR_LIT>' , <EOL> show_label = False , <EOL> editor = ListStrEditor ( title = '<STR_LIT>' , auto_add = True ) <EOL> ) , <EOL> title = '<STR_LIT>' , <EOL> width = <NUM_LIT> , <EOL> height = <NUM_LIT:0.5> , <EOL> resizable = True <EOL> ) <EOL> demo = ShoppingListDemo ( shopping_list = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' <EOL> ] ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> demo . configure_traits ( ) </s>
