add_controller


Description:

public void add_controller (owned EventController controller)

Adds controller to this so that it will receive events.

You will usually want to call this function right after creating any kind of EventController.

Parameters:

this

a Widget

controller

a EventController that hasn't been added to a widget yet