Skip to main content
DynamicNodeCompileButton(label="Update Dynamic Node")

Example

from mirmod.controls import DynamicNodeCompileButton

@wob.receiver("state", "compile", control=DynamicNodeCompileButton(label="Refresh Node"), hidden=False, connectable=False)
def compile_button(self, data):
	pass
This control presents a button that lets power users re-compile the node from the current state of the node’s API within the designer. This enables dynamic nodes that can change their attributes depending on the state of other controls on the node.

Parameters

NameTypeDescription
labelstringThe text displayed on the button. Default “Update Dynamic Node”.