<s> """<STR_LIT>""" <EOL> from traits . api import HasTraits , Button <EOL> from traitsui . api import Item , View , Group <EOL> from traitsui . message import message <EOL> class ButtonEditorDemo ( HasTraits ) : <EOL> """<STR_LIT>""" <EOL> fire_event = Button ( '<STR_LIT>' ) <EOL> def _fire_event_fired ( ) : <EOL> message ( "<STR_LIT>" ) <EOL> event_group = Group ( Item ( '<STR_LIT>' , style = '<STR_LIT>' , label = '<STR_LIT>' ) , <EOL> Item ( '<STR_LIT:_>' ) , <EOL> Item ( '<STR_LIT>' , style = '<STR_LIT>' , label = '<STR_LIT>' ) , <EOL> Item ( '<STR_LIT:_>' ) , <EOL> Item ( label = '<STR_LIT>' ) , <EOL> Item ( '<STR_LIT:_>' ) , <EOL> Item ( label = '<STR_LIT>' ) ) <EOL> view1 = View ( event_group , <EOL> title = '<STR_LIT>' , <EOL> buttons = [ '<STR_LIT:OK>' ] , <EOL> width = <NUM_LIT> ) <EOL> popup = ButtonEditorDemo ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> popup . configure_traits ( ) </s>
