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.
Add a button in the title bar of Pythonista?
-
Is it possible to add a button (icon,action) in the title bar of Pythonista, where we find the script name, run button, wrench button etc...
-
see
https://github.com/jsbain/objc_hacks/blob/master/apphack.pyThis example adds a "run in current workspace" button to the toolbar, but also exposes a general fuction for adding ui.Buttons to the toolbar.
-
I've tried the script but tb is None...
Replaced by ...== b'OMTabViewToolbar' ==> ok
One more time (not the last one, I hope) Thanks a lot...
-
@cvp You can always post a pull request of your improvements.
-
@ccc I suppose it is not really a bug, it was ok in Python 2?
-
turns out i had fixed that and other issues a long time ago, but never pushed. fixed now.
-
Thanks because execfile was also deprecated...