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

Toga experimentation (2025) #137

Closed
wants to merge 10 commits into from
Closed

Conversation

mhsmith
Copy link
Collaborator

@mhsmith mhsmith commented Feb 4, 2025

@mhsmith
Copy link
Collaborator Author

mhsmith commented Feb 11, 2025

We decided not to pursue this any further. This PR contains the most recent prototype, which was able to run the calculator example on top of Toga as follows:

  • Add the Toga repository as a Git submodule, and include the necessary packages in invent.tar.gz.
  • Replace the Invent public APIs of Column, Row, Button, Label and TextInput with the corresponding Toga classes, and move the PyScript-based implementations of those widgets into a Toga backend.
  • Turn Grid into a custom Toga widget, but keep it outside the Toga repository for now.

The next steps would have been:

  • Extend this to the farmyard example.
  • Try running it on a different Toga backend.

@mhsmith mhsmith closed this Feb 11, 2025
@ntoll
Copy link
Collaborator

ntoll commented Feb 11, 2025

Thank you so much for this. 🤗

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.

2 participants