Add a new event to a registry
String. Name for the Event.
Logical. If the Event already exists, should I overwrite it? If TRUE then yes, without warning. If FALSE (default) then no, throw an error.
Add a new event to a registry. If an Event of that name already
exists then if
overwrite is not set then an error is thrown, and
overwrite is set then the contents of the old Event are simply replaced.
add.handler to add a handler to an existing Event.
1 2 3 4