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.
Hide classes
-
Hi!
Using pythonista i find many good classes: Button, TextLayer etc.
Where I can read documentation of this classes (without console)? -
scene.Button and scene.TextLayer are "undocumented" classes so:
- you will not find them in the normal Pythonista docs, and
- use them at your own risk as they should be considered incomplete, unsupported, and possibly buggy.
See OMZ's comments in: http://omz-forums.appspot.com/pythonista/post/5356769110917120
You can however read the source code for them...
import inspect, scene print(inspect.getsource(scene.Button)) print(inspect.getsource(scene.TextLayer))
-
Thanks!
Fantastical app ))
-
And more: I don't find in docs about run() function for run scene subclasses.
-
-
KeyboardHack.py rebuilt to leverage scene.Button: https://gist.github.com/cclauss/8427853