Well, the label.set_text()
uses message passing, and the label. get_text_metrics()
doesn’t. That’s why they work as they do. Granted
Ideally, I’d have something like a label.calc_text_metrics(font, text)
, but currently, we don’t have a way to reference the font
object to pass in there. Hmm, maybe if we also had a label.get_font()
… I’ll discuss this with the team next week.