Feature request: ValueTree::setPropertyExcludingAllListeners()

ValueTree has a very useful method setPropertyExcludingListener() which enables a specific listener to be excluded from update notifications.

However, sometimes we want to set a piece of state and have none of the listeners notified. It would therefore be useful to either be able to exclude all listeners, or pass in a list of listeners to be excluded.

Yes, I would argue that ValueTree::setPropertyExcludingAllListeners() would be good for modularity/encapsulation, as one object doesn’t necessarily know all the other Listeners that have been added to a ValueTree.

1 Like

And, sorry to piggyback on this FR, but while changes were being made, would it be possible to have these as well?


1 Like