#NEWLINE# def addTarget( self , target ) : #NEWLINE# #INDENT# self . targets . append ( target ) #NEWLINE# self . resize ( ( len ( self . targets ) + 1 ) , 2 ) #NEWLINE# self . setText ( len ( self . targets ) , 0 , target ) #NEWLINE# return self . targets . index ( target )