What addon does
It make all inactive objects look wireframe
Inactive_Shading_v_1_0_1.py (3.0 KB)
Feel free to modify for your best usability or make improvement.
And just in case, I’m not a coder, but only a person who proposed an idea. =)
P.S. maybe it better be checkbox instead of button, if some one make it look like checkbox let as know how.