<s> from traits . api import * <EOL> from traitsui . api import * <EOL> class Camera ( HasTraits ) : <EOL> """<STR_LIT>""" <EOL> gain = Enum ( <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> , <EOL> desc = "<STR_LIT>" , <EOL> label = "<STR_LIT>" , ) <EOL> exposure = CInt ( <NUM_LIT:10> , <EOL> desc = "<STR_LIT>" , <EOL> label = "<STR_LIT>" , ) <EOL> class Display ( HasTraits ) : <EOL> string = String ( ) <EOL> view = View ( Item ( '<STR_LIT:string>' , show_label = False , springy = True , style = '<STR_LIT>' ) ) <EOL> class Container ( HasTraits ) : <EOL> camera = Instance ( Camera , ( ) ) <EOL> display = Instance ( Display , ( ) ) <EOL> view = View ( <EOL> Item ( '<STR_LIT>' , style = '<STR_LIT>' , show_label = False , ) , <EOL> Item ( '<STR_LIT>' , style = '<STR_LIT>' , show_label = False , ) , <EOL> ) <EOL> Container ( ) . configure_traits ( ) </s>
