Canvas provides the CWMH(CanvasWorkspace Menu Handler), a global handler variable that allows to register the menu click event in any handler files; you can write menu click handler anywhere in the application with the CWMHvariable.

See section section Form Container APIs to view the list of form container APIs and their usage.

...