atk.text_range

Module for [TextRange] class

class TextRange

Types 1

A structure used to describe a text range.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
TextRange self()Returns `this`, for use in `with` statements.
atk.types.TextRectangle bounds() @propertyGet `bounds` field. Returns: A rectangle giving the bounds of the text range
void bounds(atk.types.TextRectangle propval) @propertySet `bounds` field. Params: propval = A rectangle giving the bounds of the text range
int startOffset() @propertyGet `startOffset` field. Returns: The start offset of a AtkTextRange
void startOffset(int propval) @propertySet `startOffset` field. Params: propval = The start offset of a AtkTextRange
int endOffset() @propertyGet `endOffset` field. Returns: The end offset of a AtkTextRange
void endOffset(int propval) @propertySet `endOffset` field. Params: propval = The end offset of a AtkTextRange
string content() @propertyGet `content` field. Returns: The text in the text range
void content(string propval) @propertySet `content` field. Params: propval = The text in the text range
Constructors
this(atk.types.TextRectangle bounds = atk.types.TextRectangle.init, int startOffset = int.init, int endOffset = int.init, string content = string.init)Create a `text_range.TextRange` boxed type. Params: bounds = A rectangle giving the bounds of the text range startOffset = The start offset of a AtkTextRange endOffset = The end offset of a AtkText...
this(void * ptr, Flag!"Take" take)