8
$\begingroup$

Blender's application handlers are listed here, but is it possible to create a new one?

For example, I'd like an application handler which is a callback for every time I add a strip to the Video Sequence Editor.

$\endgroup$

1 Answer 1

5
$\begingroup$

The Blender/Python API can’t (yet)...
...
- Define callbacks or listeners to be notified when data is changed.

Source: API docs

App handlers can't be created with Python, they need to the coded in C. The fact that registering arbitrary event callback isn't supported suggests that such an event driven design is not intended in Blender.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .