I am trying to add a View Type switching menu to a custom menu. I can’t find any
way to access that menu via python. Is the view type menu in the headers
accessible only to C?
I also tried building a menu to switch view types using the operators
which appear in the info panel after changing a view type, but couldn’t
manage to get anything that worked.
Can anyone point me in the right direction?