Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
An employee is person with a boss and a phone number.

    

src/p/y/pyface-HEAD/examples/tasks/enaml/enaml_panes.py   pyface(Download)
    def create_component(self):
        with traits_enaml.imports():
            from employee_view import EmployeeView
        from employee import Employer, Employee
 
        boss_john = Employer(first_name='John', last_name='Paw',
                             company_name="Packrat's Cats")
        employee_mary = Employee(first_name='Mary', last_name='Sue',