Obtain tl_class from the widget instead of using the value from eval.