#NEWLINE# def select( self , data ) : #NEWLINE# #INDENT# 'Call this method to trigger the `on_select` event with the `data`\n        selection. The `data` can be anything you want.\n        ' #NEWLINE# self . dispatch ( 'on_select' , data ) #NEWLINE# if self . dismiss_on_select : #NEWLINE# #INDENT# self . dismiss ( )