#NEWLINE# def previewEvent( evt ) : #NEWLINE# #INDENT# ret = True #NEWLINE# if ( len ( sEventPreviewStack ) > 0 ) : #NEWLINE# #INDENT# preview = sEventPreviewStack [ ( len ( sEventPreviewStack ) - 1 ) ] #NEWLINE# ret = preview . onEventPreview ( ret ) #NEWLINE# if ( not ret ) : #NEWLINE# #INDENT# eventCancelBubble ( evt , True ) #NEWLINE# eventPreventDefault ( evt ) #NEWLINE# #UNINDENT# #UNINDENT# return ret