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

Port 'Progress Bar' demo to Python #85

Merged
merged 4 commits into from
Feb 19, 2024
Merged

Port 'Progress Bar' demo to Python #85

merged 4 commits into from
Feb 19, 2024

Conversation

rolandlo
Copy link
Contributor

The demo works fine. I followed the Javascript implementation and replaced setInterval() by GLib.timeout_add.

One question: Wouldn't it be better (for the sake of keeping different implementations close) if the Javascript implementation used the GLib function instead of a function which only exists in Javascript?

@sonnyp
Copy link
Contributor

sonnyp commented Feb 12, 2024

One question: Wouldn't it be better (for the sake of keeping different implementations close) if the Javascript implementation used the GLib function instead of a function which only exists in Javascript?

Agree. Can you update the JS?

@rolandlo
Copy link
Contributor Author

One question: Wouldn't it be better (for the sake of keeping different implementations close) if the Javascript implementation used the GLib function instead of a function which only exists in Javascript?

Agree. Can you update the JS?

Done!

Copy link
Contributor

@sonnyp sonnyp left a comment

Choose a reason for hiding this comment

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

JS 👍

demos/Progress Bar/main.py Outdated Show resolved Hide resolved
@theCapypara theCapypara merged commit fdab209 into main Feb 19, 2024
1 check passed
@theCapypara theCapypara deleted the python-progress-bar branch February 19, 2024 11:33
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.

3 participants