get_bounded_ranges


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.3" ) ]
public virtual TextRange[] get_bounded_ranges (TextRectangle rect, CoordType coord_type, TextClipType x_clip_type, TextClipType y_clip_type)

Get the ranges of text in the specified bounding box.

Parameters:

this

an Text

rect

An AtkTextRectangle giving the dimensions of the bounding box.

coord_type

Specify whether coordinates are relative to the screen or widget window.

x_clip_type

Specify the horizontal clip type.

y_clip_type

Specify the vertical clip type.

Returns:

Array of AtkTextRange. The last element of the array returned by this function will be NULL.




2022 vala-language.org