WindowManager(ID)

base classes — bpy_struct, ID

class bpy.types.WindowManager(ID)

Window manager datablock defining open windows and other user interface data

clipboard
Type :string, default “”
keyconfigs

Registered key configurations

Type :KeyConfigurations collection of KeyConfig, (readonly)
operators

Operator registry

Type :Collection of Operator, (readonly)
windows

Open windows

Type :Collection of Window, (readonly)
classmethod add_fileselect(operator)

Show up the file selector.

Parameters:
  • operator (Operator) – Operator to call.
classmethod add_modal_handler(operator)

add_modal_handler

Parameters:
  • operator (Operator) – Operator to call.
Return type:

boolean

classmethod invoke_props_popup(operator, event)

Operator popup invoke.

Parameters:
  • operator (Operator) – Operator to call.
  • event (Event) – Event.
Returns:

result

Return type:

enum in [‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’, ‘PASS_THROUGH’]

classmethod invoke_props_dialog(operator, width=300, height=20)

Operator dialog (non-autoexec popup) invoke.

Parameters:
  • operator (Operator) – Operator to call.
  • width (int in [0, inf], (optional)) – Width of the popup.
  • height (int in [0, inf], (optional)) – Height of the popup.
Returns:

result

Return type:

enum in [‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’, ‘PASS_THROUGH’]

classmethod invoke_search_popup(operator)

invoke_search_popup

Parameters:
  • operator (Operator) – Operator to call.
classmethod invoke_popup(operator, width=300, height=20)

Operator popup invoke.

Parameters:
  • operator (Operator) – Operator to call.
  • width (int in [0, inf], (optional)) – Width of the popup.
  • height (int in [0, inf], (optional)) – Height of the popup.
Returns:

result

Return type:

enum in [‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’, ‘PASS_THROUGH’]

Inherited Properties

Inherited Functions

References

Previous topic

Window(bpy_struct)

Next topic

WipeSequence(EffectSequence)