enthought / enthought/pyface

Clarify TasksApplication start/stop API

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

@mchilvers: "The only thing that seems odd in our API is that 'run' seems more suited to 'batch' style programs (i.e. those without an event loop). I think in TasksApplication we should override 'start' to start the event loop etc, and 'stop' to close any open windows (of course if the user is stopping the application by closing the last open window there won't be any of those!). Then any 'Exit' or 'Quit' action in the UI simply calls application.stop..."
-- https://github.com/enthought/envisage/pull/8#commitcomment-996860

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.