WindowManager(ID)

base classes — bpy_struct, ID

class bpy.types.WindowManager(ID)

Window manager datablock defining open windows and other user interface data

addon_filter

Filter add-ons by category

Type :enum in [], default ‘’

Search within the selected filter

Type :string, default “”
addon_support

Display support level

Type :enum set in {‘OFFICIAL’, ‘COMMUNITY’}, default {‘OFFICIAL’, ‘COMMUNITY’}
clipboard
Type :string, default “”
keyconfigs

Registered key configurations

Type :KeyConfigurations bpy_prop_collection of KeyConfig, (readonly)
operators

Operator registry

Type :bpy_prop_collection of Operator, (readonly)
windows

Open windows

Type :bpy_prop_collection of Window, (readonly)
classmethod fileselect_add(operator)

Show up the file selector.

Parameters:operator (Operator) – Operator to call.
classmethod modal_handler_add(operator)

modal_handler_add

Parameters:operator (Operator) – Operator to call.
Return type:boolean
event_timer_add(time_step, window=None)

event_timer_add

Parameters:
  • time_step (float in [0, inf]) – Time Step, Interval in seconds between timer events
  • window (Window, (optional)) – Window to attach the timer to or None.
Return type:

Timer

event_timer_remove(timer)

event_timer_remove

classmethod invoke_props_popup(operator, event)

Operator popup invoke.

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

result

Return type:

enum set 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 set 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 set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’, ‘PASS_THROUGH’}

classmethod invoke_confirm(operator, event)

Operator confirmation.

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

result

Return type:

enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’, ‘PASS_THROUGH’}

Inherited Properties

Inherited Functions

References

Previous topic

Window(bpy_struct)

Next topic

WipeSequence(EffectSequence)