I implemented ParamsBuilder::declare, which is getting called throug FaustDsp::build_user_interface_static.
Sadly it's getting called before the actual widget is getting inserted, so declare is inserting a "default" Node.
To make add_widget properly work with this, i had to change it a bit. As it didn't check if the self.inner hashmap already contains a Node with this id. It now checks for this, and if it exists, updates the existing Node.
https://faustdoc.grame.fr/manual/syntax/#ui-label-metadata
I implemented ParamsBuilder::declare, which is getting called throug FaustDsp::build_user_interface_static.
Sadly it's getting called before the actual widget is getting inserted, so declare is inserting a "default" Node.
To make add_widget properly work with this, i had to change it a bit. As it didn't check if the self.inner hashmap already contains a Node with this id. It now checks for this, and if it exists, updates the existing Node.