Hi,
In python API, it seems it’s not impossible to access font view with tab index or tab related things.
If I have several tabs and I want to open font view without closing other tabs, how can I do it?
Thanks,
Hi,
In python API, it seems it’s not impossible to access font view with tab index or tab related things.
If I have several tabs and I want to open font view without closing other tabs, how can I do it?
Thanks,
Font.currentTab = Font.fontView
Many thanks!
Glyphs.font.currentTab = Glyphs.font.fontView
=> AttributeError: ‘NSKVONotifying_GSFont’ object has no attribute ‘fontView’
‘fontView’ is in wrapper, but not in python api at https://docu.glyphsapp.com/#gsfont.
It seems it was missing.
instead of that, it is working.
Glyphs.font.currentTab = Glyphs.currentDocument.windowController().tabBarControl().tabItemAtIndex_(0)