Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to disable buttons? #91

Closed
NoraCodes opened this issue Dec 11, 2016 · 2 comments
Closed

API to disable buttons? #91

NoraCodes opened this issue Dec 11, 2016 · 2 comments

Comments

@NoraCodes
Copy link

@NoraCodes NoraCodes commented Dec 11, 2016

Most platforms have a "disabled" state for their buttons (in fact I don't know of any that don't) - they become 'greyed out' and can't be clicked. It would be awesome to have an API for this; i.e. button.disable() and button.enable() or set_abled(enabled=True) or set_abled(enabled=False).

@freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Dec 11, 2016

Absolutely agreed. The API that is there is a bare minimum, and not at all finalised. An enable/disable API would be an obvious thing to add.

Dayof added a commit to Dayof/toga that referenced this issue Mar 19, 2017
freakboy3742 added a commit that referenced this issue Mar 19, 2017
@freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Mar 19, 2017

Resolved by #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants