To store a user setting, I managed to access a StringProperty in my addon popup window like this:
But i want to add an overwrite warning as same as the blender file save window:
Is there a way to do this? I have been searched the API for some hours, and found that blender has a "check_existing" BoolProperty in "bpy.ops.wm.save_as_mainfile()" to paint the box red. But no more sentenses were found about changing text box color in blender's python scripts.
More than approciate for telling me the way to do that! :)