Further more, if anyone is interested in toggling between WIRE and SOLID display type you can use wm.context_toggle_enum
instead of wm.context_menu_enum
, which then lets you provide the two toggle values. (or pick any two from the available types: TEXTURED, SOLID, WIRE, BOUNDS you want to toggle between).