ShortcutController.setContextByName

Changes the context for the controller to the context matching @name.

Contexts are resolved at runtime through the current theme (and possibly a parent theme if it inherits from one).

class ShortcutController
void
setContextByName
(
string name
)

Parameters

name
Type: string

The name of the context

Meta

Since

3.26