I am replacing some PyGtk code that looks like this :
pango.AttrForeground(65535, 0, 0, 0, 100)
Translating that to Gtk3 looks like this :
Pango.AttrType.FOREGROUND(65535, 0, 0, 0, 100)
However I get the error TypeError: 'AttrType' object is not callable
. Googling seems to bring no results or then I searched for the wrong thing. Any ideas? Thank you very much.