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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
TextRange self() nothrowReturns `this`, for use in `with` statements.
atk.types.TextRectangle bounds() @property nothrowGet `bounds` field. Returns: A rectangle giving the bounds of the text range
void bounds(atk.types.TextRectangle propval) @property nothrowSet `bounds` field. Params: propval = A rectangle giving the bounds of the text range
int startOffset() @property nothrowGet `startOffset` field. Returns: The start offset of a AtkTextRange
void startOffset(int propval) @property nothrowSet `startOffset` field. Params: propval = The start offset of a AtkTextRange
int endOffset() @property nothrowGet `endOffset` field. Returns: The end offset of a AtkTextRange
void endOffset(int propval) @property nothrowSet `endOffset` field. Params: propval = The end offset of a AtkTextRange
string content() @property nothrowGet `content` field. Returns: The text in the text range
void content(string propval) @property nothrowSet `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)