ContextValue¶
-
class
guerilla.ContextValue¶ Bases:
guerilla.ContextControlNodeA ContextValue node allows routing a Plug value based on the current context
-
static
getplugincontext(plug, context)¶ Get the plug value for a specific context
Parameters: Returns: The value of the plug for the given context
Return type: any
-
static
setplug(plug, value)¶ Overrides a plug value for the current context, or set the plug default value when no context is active
Parameters: - plug (
Plug) – The plug to override - value (any) – The value to set in the context
- plug (
-
static
setplugincontext(plug, value, context)¶ Overrides a plug value for the current context, or set the plug default value when no context is active
Parameters:
-
static