Movatterモバイル変換


[0]ホーム

URL:


Method

AtkTextget_text_before_offset

deprecated: 2.9.3 

Declaration[src]

gchar*atk_text_get_text_before_offset(AtkText*text,gintoffset,AtkTextBoundaryboundary_type,gint*start_offset,gint*end_offset)

Description[src]

Gets the specified text.

Deprecated since: 2.9.3

Please useatk_text_get_string_at_offset() instead.

Parameters

offset

Type: gint

Position.

boundary_type

Type: AtkTextBoundary

AnAtkTextBoundary.

start_offset

Type: gint*

The starting character offset of the returned string.

The argument will be set by the function.
end_offset

Type: gint*

The offset of the first character after the returned substring.

The argument will be set by the function.

Return value

Type: gchar*

A newly allocated string containing the text beforeoffset bounded by the specifiedboundary_type. Useg_free() to free the returned string.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.

[8]ページ先頭

©2009-2026 Movatter.jp