#NEWLINE# def setEventListener( element , listener ) : #NEWLINE# #INDENT# "\n    Register an object to receive event notifications for the given\n    element.  The listener's onBrowserEvent() method will be called\n    when a captured event occurs.  To set which events are captured,\n    use sinkEvents().\n    " #NEWLINE# set_listener ( element , element )