I have TextView widget in Glade named "formula-view". I'm trying to do this to change font:
formulaView = self.builder.get_object("formula-view") fontdesc = pango.FontDescription('Ubuntu 16') formulaView.override_font(fontdesc)
But this works with error. How to correctly change font?
I just want to change the font of a widget, but I don't know how to do it. Error looks like this:
AttributeError: type object 'Context' has no attribute '__info__'