get_run_attributes


Description:

public abstract AttributeSet get_run_attributes (int offset, out int start_offset, out int end_offset)

Creates an AttributeSet which consists of the attributes explicitly set at the position offset in the text.

start_offset and end_offset are set to the start and end of the range around offset where the attributes are invariant. Note that end_offset is the offset of the first character after the range. See the enum AtkTextAttribute for types of text attributes that can be returned. Note that other attributes may also be returned.

Parameters:

this

an Text

offset

the character offset at which to get the attributes, -1 means the offset of the character to be inserted at the caret location.

start_offset

the address to put the start offset of the range

end_offset

the address to put the end offset of the range

Returns:

an AttributeSet which contains the attributes explicitly set at offset . This AttributeSet should be freed by a call to set_free.




2022 vala-language.org