How to change font weight in Adw.EntryRow using Pango.AttrList?

I have an EntryRow and I need to change its entry text style. The only way I know how to do this is using Pango.AttrList, but I don’t know how to create one with needed parameter.

Refer:

So what text argument should I use in AttrList.from_string() for making text bold.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.