Viewport Shading Call Menu or Context Menu

hi im looking for call menu of viewport shading


for quicker access and organizing since im running out of shortcut keys
but it seems i cant find it

for now i have these

Transform orientations Not Call Menu : Code => transform.select_orientation
Snap Element … wm.call_menu / Name : VIEW3D_MT_snap

but how about for viewport shading is it a call menu or a code like transform orientation
thank you for answer

It’s an enum, not a menu. So it’s gonna be wm.context_menu_enum with space_data.viewport_shade as the context attribute.

Hi !
sorry for bad english what i mean is

if the snap element and Transform orientation has Context menu exist how about viewport shadinglist?
i wanna ask if viewport shading context menu can be set in input editor

thank you for answers

The input settings I posted will give you a menu :slight_smile: Sorry for the confusion. I meant that that specific setting is stored as an enum, and there are no built-in operators (like transform.select_orientation) or menus (like VIEW3D_MT_snap) that access it, so we have to construct it on the fly using that wm.context_menu_enum operator.

thank you very much ! problem is solve the popup menu is working now