I don’t know if this sounds odd or it has been covered before but I want to make some interface modes for the certain production pipeline I have. Right now to switch to a certain view mode I need to toggle some display options in the glyph editor by using couple of shortcuts on Keyboard. I was wondering is there a method to toggle these options on and off inside the API so I could make a script that toggles couple of them only using one shortcut attached to the script?
from mojo.UI import setGlyphViewDisplaySettings, getGlyphViewDisplaySettings
settings = getGlyphViewDisplaySettings()
# change something, and set it back