Window(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.
Window
(bpy_struct)¶ Open window
-
height
¶ Window height
Type: int in [0, 32767], default 0, (readonly)
-
stereo_3d_display
¶ Settings for stereo 3d display
Type: Stereo3dDisplay
, (readonly, never None)
-
width
¶ Window width
Type: int in [0, 32767], default 0, (readonly)
-
x
¶ Horizontal location of the window
Type: int in [-32768, 32767], default 0, (readonly)
-
y
¶ Vertical location of the window
Type: int in [-32768, 32767], default 0, (readonly)
-
cursor_warp
(x, y)¶ Set the cursor position
-
cursor_set
(cursor)¶ Set the cursor
Parameters: cursor (enum in ['DEFAULT', 'NONE', 'WAIT', 'CROSSHAIR', 'MOVE_X', 'MOVE_Y', 'KNIFE', 'TEXT', 'PAINT_BRUSH', 'HAND', 'SCROLL_X', 'SCROLL_Y', 'SCROLL_XY', 'EYEDROPPER']) – cursor
-
cursor_modal_set
(cursor)¶ Restore the previous cursor after calling
cursor_modal_set
Parameters: cursor (enum in ['DEFAULT', 'NONE', 'WAIT', 'CROSSHAIR', 'MOVE_X', 'MOVE_Y', 'KNIFE', 'TEXT', 'PAINT_BRUSH', 'HAND', 'SCROLL_X', 'SCROLL_Y', 'SCROLL_XY', 'EYEDROPPER']) – cursor
-
cursor_modal_restore
()¶ cursor_modal_restore
-
classmethod
bl_rna_get_subclass
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Struct
subclass
-
classmethod
bl_rna_get_subclass_py
(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References