get_default_attributes


Description:

public TextAttributes get_default_attributes ()

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.

Parameters:

this

a TextView

Returns:

a new TextAttributes