gui.set() is available (since 1.8.0) and it can be used to set constants for a node (since 1.9.1):
gui.set()