cvp
Apr 16, 2017 - 09:15
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...
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.py
This 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...