Area(bpy_struct)

base class — bpy_struct

class bpy.types.Area(bpy_struct)

Area in a subdivided screen, containing an editor

height

Area height

Type :int in [0, 32767], default 0, (readonly)
regions

Regions this area is subdivided in

Type :bpy_prop_collection of Region, (readonly)
show_menus

Show menus in the header

Type :boolean, default False
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

Type :AreaSpaces bpy_prop_collection of Space, (readonly)
type

Space type

Type :enum in [‘EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUTLINER’, ‘PROPERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SEQUENCE_EDITOR’, ‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’, ‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’, ‘CONSOLE’, ‘USER_PREFERENCES’], default ‘EMPTY’
width

Area width

Type :int in [0, 32767], default 0, (readonly)
tag_redraw()

tag_redraw

header_text_set(text="")

Set the header text

Parameters:text (string, (optional)) – Text, New string for the header, no argument clears the text

Inherited Properties

Inherited Functions

References

Previous topic

AnyType(bpy_struct)

Next topic

AreaLamp(Lamp)