Virtualvfunc_Adds a selection bounded by the specified offsets.
the starting character offset of the selected region
the offset of the first character after the selected region.
Virtualvfunc_Get the ranges of text in the specified bounding box.
An AtkTextRectangle giving the dimensions of the bounding box.
Specify whether coordinates are relative to the screen or widget window.
Specify the horizontal clip type.
Specify the vertical clip type.
Virtualvfunc_Gets the offset of the position of the caret (cursor).
Virtualvfunc_Gets the specified text.
a character offset within text
Virtualvfunc_Gets the character count.
Virtualvfunc_If the extent can not be obtained (e.g. missing support), all of x, y, width, height are set to -1.
Get the bounding box containing the glyph representing the character at a particular text offset.
Virtualvfunc_Creates an Atk.AttributeSet which consists of the default values of attributes for the text. See the enum AtkTextAttribute for types of text attributes that can be returned. Note that other attributes may also be returned.
Virtualvfunc_Gets the number of selected regions.
Virtualvfunc_Gets the offset of the character located at coordinates x and y. x and y
are interpreted as being relative to the screen or this widget's window
depending on coords.
Virtualvfunc_Get the bounding box for text within the specified range.
If the extents can not be obtained (e.g. or missing support), the rectangle fields are set to -1.
The offset of the first text character for which boundary information is required.
The offset of the text character after the last character for which boundary information is required.
Specify whether coordinates are relative to the screen or widget window.
Virtualvfunc_Creates an Atk.AttributeSet which consists of the attributes explicitly
set at the position offset in the text. start_offset and end_offset are
set to the start and end of the range around offset where the attributes are
invariant. Note that end_offset is the offset of the first character
after the range. See the enum AtkTextAttribute for types of text
attributes that can be returned. Note that other attributes may also be
returned.
the character offset at which to get the attributes, -1 means the offset of the character to be inserted at the caret location.
Virtualvfunc_Gets the text from the specified selection.
The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.
Virtualvfunc_Gets a portion of the text exposed through an Atk.Text according to a given offset
and a specific granularity, along with the start and end offsets defining the
boundaries of such a portion of text.
If granularity is ATK_TEXT_GRANULARITY_CHAR the character at the
offset is returned.
If granularity is ATK_TEXT_GRANULARITY_WORD the returned string
is from the word start at or before the offset to the word start after
the offset.
The returned string will contain the word at the offset if the offset is inside a word and will contain the word before the offset if the offset is not inside a word.
If granularity is ATK_TEXT_GRANULARITY_SENTENCE the returned string
is from the sentence start at or before the offset to the sentence
start after the offset.
The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence before the offset if the offset is not inside a sentence.
If granularity is ATK_TEXT_GRANULARITY_LINE the returned string
is from the line start at or before the offset to the line
start after the offset.
If granularity is ATK_TEXT_GRANULARITY_PARAGRAPH the returned string
is from the start of the paragraph at or before the offset to the start
of the following paragraph after the offset.
position
Virtualvfunc_Gets the specified text.
a starting character offset within text
an ending character offset within text, or -1 for the end of the string.
Virtualvfunc_Gets the specified text.
position
Virtualvfunc_Gets the specified text.
If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character at the offset is returned.
If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start at or before the offset to the word start after the offset.
The returned string will contain the word at the offset if the offset is inside a word and will contain the word before the offset if the offset is not inside a word.
If the boundary type is ATK_TEXT_BOUNDARY_SENTENCE_START the returned string is from the sentence start at or before the offset to the sentence start after the offset.
The returned string will contain the sentence at the offset if the offset is inside a sentence and will contain the sentence before the offset if the offset is not inside a sentence.
If the boundary type is ATK_TEXT_BOUNDARY_LINE_START the returned string is from the line start at or before the offset to the line start after the offset.
position
Virtualvfunc_Gets the specified text.
position
Virtualvfunc_Removes the specified selection.
The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.
Virtualvfunc_Makes a substring of text visible on the screen by scrolling all necessary parents.
start offset in the text
end offset in the text, or -1 for the end of the text.
specify where the object should be made visible.
Virtualvfunc_Virtualvfunc_Sets the caret (cursor) position to the specified offset.
In the case of rich-text content, this method should either grab focus or move the sequential focus navigation starting point (if the application supports this concept) as if the user had clicked on the new caret position. Typically, this means that the target of this operation is the node containing the new caret position or one of its ancestors. In other words, after this method is called, if the user advances focus, it should move to the first focusable node following the new caret position.
Calling this method should also scroll the application viewport in a way that matches the behavior of the application's typical caret motion or tab navigation as closely as possible. This also means that if the application's caret motion or focus navigation does not trigger a scroll operation, this method should not trigger one either. If the application does not have a caret motion or focus navigation operation, this method should try to scroll the new caret position into view while minimizing unnecessary scroll motion.
the character offset of the new caret position
Virtualvfunc_Changes the start and end offset of the specified selection.
The selection number. The selected regions are assigned numbers that correspond to how far the region is from the start of the text. The selected region closest to the beginning of the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region can change the numbering.
the new starting character offset of the selection
the new end position of (e.g. offset immediately past) the selection
Virtualvfunc_Virtualvfunc_Virtualvfunc_the signal handler which is executed when there is a text change. This virtual function is deprecated sice 2.9.4 and it should not be overriden.
Virtualvfunc_
Interface for implementing Text. Contains only the virtual methods that need to be implemented.