OCR Project.py
def delete_treeview_line(self, event):
		'''
		Function activate when select an entry from a Treeview and press Delete btn
		'''
		selected = self.Treeview.selection()
		to_remove = []
		for child_obj in selected:
			child = self.Treeview.item(child_obj)
			tm_index = child['values'][0]
			to_remove.append(tm_index)
			self.Treeview.delete(child_obj)

		Function activate when select an entry from a Treeview and press Delete btn
		
Function activate when select an entry from a Treeview and press Delete btn
Function activate when select an entry from a Treeview and press Delete btn
def delete_treeview_line(self, event):
		selected = self.Treeview.selection()
		to_remove = []
		for child_obj in selected:
			child = self.Treeview.item(child_obj)
			tm_index = child['values'][0]
			to_remove.append(tm_index)
			self.Treeview.delete(child_obj)
def delete_treeview_line ( self , event ) : selected = self . Treeview . selection ( ) to_remove = [ ] for child_obj in selected : child = self . Treeview . item ( child_obj ) tm_index = child [ 'values' ] [ 0 ] to_remove . append ( tm_index ) self . Treeview . delete ( child_obj )
Function activate when select an entry from a Treeview and press Delete btn
Function activate when select an entry from a Treeview and press Delete btn
'''
		Function activate when select an entry from a Treeview and press Delete btn
		'''
self
event