#NEWLINE# @ decorate_set_on_listener ( 'onchange' , '(self,new_value)' ) #NEWLINE# def set_on_change_listener( self , listener , funcname ) : #NEWLINE# #INDENT# 'Registers the listener for the DropDown.onchange event.\n\n        Note: The prototype of the listener have to be like my_dropdown_onchange(self, value). Where value is\n        the textual content of the selected item.\n\n        Args:\n            listener (App, Widget): Instance of the listener. It can be the App or a Widget.\n            funcname (str): Literal name of the listener function, member of the listener instance\n        ' #NEWLINE# self . eventManager . register_listener ( self . EVENT_ONCHANGE , listener , funcname )