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

GUI: finish public api of arcade.gui.property #2014

Merged
merged 8 commits into from
Mar 13, 2024

Conversation

eruvanos
Copy link
Member

@eruvanos eruvanos commented Mar 4, 2024

properties provide instance and value to listener (keep support for simple callbacks)

Copy link
Member

@pushfoo pushfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My overall impression is good and I like callbacks. I have one change to suggest and a question.

arcade/gui/property.py Outdated Show resolved Hide resolved
arcade/gui/property.py Show resolved Hide resolved
arcade/gui/property.py Outdated Show resolved Hide resolved
@pushfoo
Copy link
Member

pushfoo commented Mar 4, 2024

TL;DR: After fixing my suggestion typo, merge as-is if you or einarf think it's fine

I'm not yet sure on the type annotations for this. My instinct is that there is something we can do to polish it, but I may also be wrong. Getting it merged and working takes priority over perfect types, however. It's not breaking anything else as far as I can tell, and the stricter type checkers aren't something we're in full compliance with yet anyway.

Co-authored-by: Paul <36696816+pushfoo@users.noreply.github.com>
@eruvanos eruvanos closed this Mar 13, 2024
@eruvanos eruvanos deleted the gui/improve-properties branch March 13, 2024 21:49
@eruvanos eruvanos restored the gui/improve-properties branch March 13, 2024 21:52
@eruvanos eruvanos reopened this Mar 13, 2024
@eruvanos eruvanos merged commit 1e63b46 into development Mar 13, 2024
8 checks passed
@eruvanos eruvanos deleted the gui/improve-properties branch March 13, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants