Obtains a copy of the default text attributes.
These are the attributes used for text unless a tag overrides them. You’d typically pass the default attributes in to get_attributes in order to get the attributes in effect at a given text position.
The return value is a copy owned by the caller of this function, and should be freed with unref.
this |
a TextView |
a new TextAttributes |