#NEWLINE# @ decorate_set_on_listener ( 'confirm_dialog' , '(self)' ) #NEWLINE# def set_on_confirm_dialog_listener( self , listener , funcname ) : #NEWLINE# #INDENT# 'Registers the listener for the GenericDialog.confirm_dialog event.\n\n        Note: The prototype of the listener have to be like my_on_confirm_dialog(self).\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_ONCONFIRM , funcname , funcname )