Short version: What does the bl_space_type
value "EMPTY" mean in the context of bpy.types.Panel
?
Long version:
I'm doing a deep(ish) dive into the Blender Python API. Currently I'm studying bpy.types.Panel
in the hopes of improving the panels in my add-ons. One of the standard fields in Panel classes is bl_space_type
. The manual has a list of space types (‘EMPTY’, ‘VIEW_3D’, IMAGE_EDITOR’, ‘NODE_EDITOR’, ‘SEQUENCE_EDITOR’, ‘CLIP_EDITOR’, ‘DOPESHEET_EDITOR’, GRAPH_EDITOR’,
‘NLA_EDITOR’, ‘TEXT_EDITOR’, ‘CONSOLE’, ‘INFO’, ‘TOPBAR’, ‘STATUSBAR’, ‘OUTLINER’, ‘PROPERTIES’, ‘FILE_BROWSER’, ‘SPREADSHEET’, and ‘PREFERENCES’).
Most of the space types correspond to to the various editors and make perfect sense as such and I understand how bl_space_type
is used in a panel. I've done the obvious web search for "Blender python bl_space_type EMPTY'; but the search has turned up (sorry for the pun) empty. None of the proposed "Similar questions" seem to shed any light on the issue.
I am speculating that 'EMPTY', is used as a stand in for "any space type at all"; but I can't find anything that confirms this.
Does anyone know what the 'EMPTY' bl_space_type
is used for?