Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Is it possible to create a basic GUI with scene
-
Is it possible to create a basic GUI with scene such as a basic calculator. If anyone has achieved this please can you share your code
-
While the scene module is not really designed for creating GUIs, it is certainly possible to create a basic calculator with it. In fact, there's an example of how to do exactly that here:
http://omz-software.com/pythonista/forums/discussion/267/calculator/p1 -
GUI Framework for Pythonista
https://gist.github.com/BashedCrab/5924965
Demo scene
https://gist.github.com/BashedCrab/5953776
If you are after a simple GUI to set a few options in your app, then you may find this helpful. If you are after a full suite of native iOS controls then Pythonista probably isn't the right tool for the job.
-
That's great work @bashedcrab! Well done!
-
@bashedcrab Pretty impressive! :)
-
@bashedcrab: Thank you very much for the contribution.
-
My pleasure. There is still a lot of refining that needs to be done. Firstly because i am only just starting to learn python, and I'm still discovering the "pythonic" way.
Secondly I'm probably going to have to abandon my initial design decision of redrawing the entire scene every frame. While it makes to code simpler and is fine for a small gui, it's killing the frame rate for a gui with over 100 components (like the demo).
-
This post is deleted! -
This post is deleted! -
This post is deleted!