def METHOD_NAME(self, sv):
    s = sv.get()
    self.component.compName = s
    self.component.compImgName = s[:1].lower() + s[1:] if s else ''
    self.imgNameVar.set('imageName: %s' % self.component.compImgName)