Rhope Documentation

Documentation Home > Custom Widget > Set Handler

Set Handler@Custom Widget

Sets a worker to handle events received by the widget. In the current implementation, custom widgets receive "draw", "mousedown", "mouseup" and "mousemove" events.

Input Type Description
Custom Widget The custom widget to modify
String Name of the event to set a handler for
Worker The worker to handle the event

Output Type Description
Custom Widget The new custom widget