Import line: | Atk = imports.gi.Atk; |
GIR File: | Atk-1.0.gir |
C documentation: | AtkText |
Interface : | Text |
Implementations: | Atk.NoOpObject |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
Atk.Text | ||
get_bounded_ranges
(TextRectangle rect, CoordType coord_type, TextClipType x_clip_type, TextClipType y_clip_type)
:
Atk.TextRange
Get the ranges of text in the specified bounding box.
Get the ranges of text in the specified bounding box. by this function will be NULL.
|
Atk.Text | |
get_caret_offset
()
:
Number
Gets the offset position of the caret (cursor).
Gets the offset position of the caret (cursor).
|
Atk.Text | |
Atk.Text | ||
get_character_count
()
:
Number
Gets the character count.
Gets the character count.
|
Atk.Text | |
get_character_extents
(Number offset, Number x, Number y, Number width, Number height, CoordType coords)
:
Object
Get the bounding box containing the glyph representing the character at a particular text offset.
Get the bounding box containing the glyph representing the character at a particular text offset.
|
Atk.Text | |
get_default_attributes
()
:
Array
|
Atk.Text | |
get_n_selections
()
:
Number
Gets the number of selected regions.
Gets the number of selected regions. occurred.
|
Atk.Text | |
Gets the offset of the character located at coordinates x and y.
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. the specified x and y coordinates.
|
Atk.Text | |
get_range_extents
(Number start_offset, Number end_offset, CoordType coord_type, TextRectangle rect)
:
none
Get the bounding box for text within the specified range.
Get the bounding box for text within the specified range.
|
Atk.Text | |
Atk.Text | ||
Gets the text from the specified selection.
Gets the text from the specified selection.
|
Atk.Text | |
Atk.Text | ||
Gets the specified text.
Gets the specified text. If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character after the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start after the offset to the next word start. The returned string will contain the word after the offset if the offset is inside a word or if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end at or after the offset to the next work end. The returned string will contain the word after the offset if the offset is inside a word and will contain the word after the word after 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 after the offset to the next sentence start. The returned string will contain the sentence after the offset if the offset is inside a sentence or if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end at or after the offset to the next sentence end. The returned string will contain the sentence after the offset if the offset is inside a sentence and will contain the sentence after the sentence after 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 after the offset to the next line start. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end at or after the offset to the next line start.
|
Atk.Text | |
Gets the specified text.
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_WORD_END the returned string is from the word end before the offset to the word end at or 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 after to 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_SENTENCE_END the returned string is from the sentence end before the offset to the sentence end at or 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 after 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. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the offset to the line end at or after the offset.
|
Atk.Text | |
Gets the specified text.
Gets the specified text. If the boundary_type if ATK_TEXT_BOUNDARY_CHAR the character before the offset is returned. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_START the returned string is from the word start before the word start before the offset to the word start before the offset. The returned string will contain the word before the offset if the offset is inside a word and will contain the word before the word before the offset if the offset is not inside a word. If the boundary_type is ATK_TEXT_BOUNDARY_WORD_END the returned string is from the word end before the word end at or before the offset to the word end at or before the offset. The returned string will contain the word before the offset if the offset is inside a word or 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 before the sentence start before the offset to the sentence start before the offset. The returned string will contain the sentence before the offset if the offset is inside a sentence and will contain the sentence before the sentence before the offset if the offset is not inside a sentence. If the boundary_type is ATK_TEXT_BOUNDARY_SENTENCE_END the returned string is from the sentence end before the sentence end at or before the offset to the sentence end at or before the offset. The returned string will contain the sentence before the offset if the offset is inside a sentence or 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 before the line start ar or before the offset to the line start ar or before the offset. If the boundary_type is ATK_TEXT_BOUNDARY_LINE_END the returned string is from the line end before the line end before the offset to the line end before the offset.
|
Atk.Text | |
Removes the specified selection.
Removes the specified selection.
|
Atk.Text | |
Atk.Text | ||
Changes the start and end offset of the specified selection.
Changes the start and end offset of the specified selection.
|
Atk.Text |
Event | Defined By | |
---|---|---|
text_attributes_changed (Text self)
:
none
|
Atk.Text | |
Atk.Text | ||
Atk.Text | ||
text_selection_changed (Text self)
:
none
|
Atk.Text |