#NEWLINE# def get_cols_selection_value( self , cols ) : #NEWLINE# #INDENT# ' Returns a list of TraitGridSelection objects containing the\n            objects corresponding to the grid rows and the traits corresponding\n            to the specified columns.\n        ' #NEWLINE# values = [ ] #NEWLINE# for obj in self . __items ( False ) : #NEWLINE# #INDENT# values . extend ( [ TraitGridSelection ( obj = obj , name = self . __get_column_name ( col ) ) for col in cols ] ) #NEWLINE# #UNINDENT# return values