get_text_attributes


Description:

public HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws Error

Gets the attributes applied to a range of text from an Text object.

The text attributes correspond to CSS attributes where possible. <em>DEPRECATED</em>

Parameters:

this

a pointer to the Text object to query.

offset

a int indicating the offset from which the attribute search is based.

start_offset

a int pointer indicating the start of the desired text range.

end_offset

a int pointer indicating the first character past the desired range.

Returns:

a GenericSet describing the attributes at the given character offset.




2022 vala-language.org