def METHOD_NAME(self):
    speclist = []
    for specstrings in [self.tSpecStringS1, self.tSpecStringS2, self.tSpecStringS3]:
        sname =  specstrings[0].GetValue().strip()
        if sname: # empty strings will be ignored
            speclist.append({'name'   : sname,
                             't_start': float(specstrings[1].GetValue()),
                             't_end'  : float(specstrings[2].GetValue())})
    print(speclist)
    return speclist