Area(bpy_struct)
base class — bpy_struct
- class bpy.types.Area(bpy_struct)
Area in a subdivided screen, containing an editor
- height
Area height (in [0, 32767], default 0, readonly)
- Type:
int
- regions
Regions this area is subdivided in (default None, readonly)
- Type:
Show menus in the header (default True)
- Type:
bool
- spaces
Spaces contained in this area, the first being the active space (NOTE: Useful for example to restore a previously used 3D view space in a certain area to get the old view orientation) (default None, readonly)
- Type:
- type
Current editor type for this area (default
'VIEW_3D')- Type:
Literal[Space Type Items]
- ui_type
Current editor type for this area
- Type:
str
- width
Area width (in [0, 32767], default 0, readonly)
- Type:
int
- x
The window relative vertical location of the area (in [-inf, inf], default 0, readonly)
- Type:
int
- y
The window relative horizontal location of the area (in [-inf, inf], default 0, readonly)
- Type:
int
- tag_redraw()
tag_redraw
- header_text_set(text)
Set the header status text
- Parameters:
text (str) – Text, New string for the header, None clears the text
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type: