<s> """<STR_LIT>""" <EOL> import os , sys <EOL> sys . path . append ( os . path . abspath ( r'<STR_LIT>' ) ) <EOL> from pyface . api import MDIApplicationWindow , MDIWindowMenu , GUI <EOL> from pyface . action . api import Action , MenuManager , MenuBarManager <EOL> class MainWindow ( MDIApplicationWindow ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , ** traits ) : <EOL> """<STR_LIT>""" <EOL> super ( MainWindow , self ) . __init__ ( ** traits ) <EOL> self . menu_bar_manager = MenuBarManager ( <EOL> MenuManager ( <EOL> Action ( name = '<STR_LIT>' , on_perform = self . close ) , <EOL> name = '<STR_LIT>' , <EOL> ) , <EOL> MDIWindowMenu ( self ) <EOL> ) <EOL> self . size = ( <NUM_LIT> , <NUM_LIT> ) <EOL> return <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> gui = GUI ( ) <EOL> window = MainWindow ( ) <EOL> window . open ( ) <EOL> for i in range ( <NUM_LIT:2> ) : <EOL> child = window . create_child_window ( ) <EOL> child . Show ( ) <EOL> gui . start_event_loop ( ) </s>
