Movatterモバイル変換


[0]ホーム

URL:


Method

AtkTextget_run_attributes

Declaration[src]

AtkAttributeSet*atk_text_get_run_attributes(AtkText*text,gintoffset,gint*start_offset,gint*end_offset)

Description[src]

Creates anAtkAttributeSet which consists of the attributes explicitlyset at the positionoffset in the text.start_offset andend_offset areset to the start and end of the range aroundoffset where the attributes areinvariant. Note thatend_offset is the offset of the first characterafter the range. See the enum AtkTextAttribute for types of textattributes that can be returned. Note that other attributes may also be returned.

Parameters

offset

Type: gint

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

start_offset

Type: gint*

The address to put the start offset of the range.

The argument will be set by the function.
end_offset

Type: gint*

The address to put the end offset of the range.

The argument will be set by the function.

Return value

Type: AtkAttributeSet

AnAtkAttributeSet which contains the attributes explicitly set atoffset. ThisAtkAttributeSet should be freed by a call to atk_attribute_set_free().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.

[8]ページ先頭

©2009-2026 Movatter.jp