add more tk attrs to class.