Am I right in thinking that setting a bpy.types.SpaceImageEditor.BoolProperty does not work properly due to the lack of ID property support which is used to store the value?
from bpy import types
bl_addon_info = {"name": "Example"}
class ImageButtonsPanel(types.Panel):
bl_space_type = "IMAGE_EDITOR"
bl_region_type = "UI"
bl_label = "Example"
def draw(self, context):
self.layout.prop(context.space_data, "example", text="Toggle me")
def register():
types.SpaceImageEditor.BoolProperty(attr="example", name="Example")
types.register(ImageButtonsPanel)
def unregister():
types.unregister(ImageButtonsPanel)
if __name__ == "__main__":
register()