def activated(self):
        filename = self.window.central_pane.editor.path
        self.window.title = filename if filename else 'Untitled'
You must override this.
dataset/ETHPy150Open enthought/pyface/examples/tasks/basic/example_task.py/ExampleTask.activated--crossover with--dataset/ETHPy150Open tudorprodan/tastypie_user_session/tastypie_user_session/resources.py/UserSessionResource.find_or_create_user_for_new_session