#NEWLINE# @ decorate_set_on_listener ( 'onselection' , '(self,folderItemInstance)' ) #NEWLINE# def set_on_selection_listener( self , listener , funcname ) : #NEWLINE# #INDENT# self . eventManager . register_listener ( self . EVENT_ONSELECTION , listener , funcname )