TextViewAccessible

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

self
TextViewAccessible self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
builder
TextViewAccessibleGidBuilder builder()

Get builder for gtk.text_view_accessible.TextViewAccessible

Mixed In Members

From mixin EditableTextT!()

copyText
void copyText(int startPos, int endPos)

Copy text from start_pos up to, but not including end_pos to the clipboard.

cutText
void cutText(int startPos, int endPos)

Copy text from start_pos up to, but not including end_pos to the clipboard and then delete from the widget.

deleteText
void deleteText(int startPos, int endPos)

Delete text start_pos up to, but not including end_pos.

insertText
void insertText(string string_, int position)

Insert text at a given position.

pasteText
void pasteText(int position)

Paste text from clipboard to specified position.

setTextContents
void setTextContents(string string_)

Set text contents of text.

From mixin StreamableContentT!()

getMimeType
string getMimeType(int i)

Gets the character string of the specified mime type. The first mime type is at position 0, the second at position 1, and so on.

getNMimeTypes
int getNMimeTypes()

Gets the number of mime types supported by this object.

getStream
glib.iochannel.IOChannel getStream(string mimeType)

Gets the content in the specified mime type.

getUri
string getUri(string mimeType)

Get a string representing a URI in IETF standard format (see http://www.ietf.org/rfc/rfc2396.txt) from which the object's content may be streamed in the specified mime-type, if one is available. If mime_type is NULL, the URI for the default (and possibly only) mime-type is returned.

From mixin TextT!()

addSelection
bool addSelection(int startOffset, int endOffset)

Adds a selection bounded by the specified offsets.

getBoundedRanges
atk.text_range.TextRange[] getBoundedRanges(atk.types.TextRectangle rect, atk.types.CoordType coordType, atk.types.TextClipType xClipType, atk.types.TextClipType yClipType)

Get the ranges of text in the specified bounding box.

getCaretOffset
int getCaretOffset()

Gets the offset of the position of the caret (cursor).

getCharacterAtOffset
dchar getCharacterAtOffset(int offset)

Gets the specified text.

getCharacterCount
int getCharacterCount()

Gets the character count.

getCharacterExtents
void getCharacterExtents(int offset, int x, int y, int width, int height, atk.types.CoordType coords)

If the extent can not be obtained (e.g. missing support), all of x, y, width, height are set to -1.

getNSelections
int getNSelections()

Gets the number of selected regions.

getOffsetAtPoint
int getOffsetAtPoint(int x, int y, atk.types.CoordType coords)

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.

getRangeExtents
void getRangeExtents(int startOffset, int endOffset, atk.types.CoordType coordType, atk.types.TextRectangle rect)

Get the bounding box for text within the specified range.

getSelection
string getSelection(int selectionNum, int startOffset, int endOffset)

Gets the text from the specified selection.

getStringAtOffset
string getStringAtOffset(int offset, atk.types.TextGranularity granularity, int startOffset, int endOffset)

Gets a portion of the text exposed through an #AtkText 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.

getText
string getText(int startOffset, int endOffset)

Gets the specified text.

getTextAfterOffset
string getTextAfterOffset(int offset, atk.types.TextBoundary boundaryType, int startOffset, int endOffset)

Gets the specified text.

getTextAtOffset
string getTextAtOffset(int offset, atk.types.TextBoundary boundaryType, int startOffset, int endOffset)

Gets the specified text.

getTextBeforeOffset
string getTextBeforeOffset(int offset, atk.types.TextBoundary boundaryType, int startOffset, int endOffset)

Gets the specified text.

textRemoveSelection
bool textRemoveSelection(int selectionNum)

Removes the specified selection.

scrollSubstringTo
bool scrollSubstringTo(int startOffset, int endOffset, atk.types.ScrollType type)

Makes a substring of text visible on the screen by scrolling all necessary parents.

scrollSubstringToPoint
bool scrollSubstringToPoint(int startOffset, int endOffset, atk.types.CoordType coords, int x, int y)

Move the top-left of a substring of text to a given position of the screen by scrolling all necessary parents.

setCaretOffset
bool setCaretOffset(int offset)

Sets the caret (cursor) position to the specified offset.

setSelection
bool setSelection(int selectionNum, int startOffset, int endOffset)

Changes the start and end offset of the specified selection.

connectTextAttributesChanged
gulong connectTextAttributesChanged(T callback, Flag!"After" after)

Connect to TextAttributesChanged signal.

connectTextCaretMoved
gulong connectTextCaretMoved(T callback, Flag!"After" after)

Connect to TextCaretMoved signal.

connectTextChanged
gulong connectTextChanged(string detail, T callback, Flag!"After" after)

Connect to TextChanged signal.

connectTextInsert
gulong connectTextInsert(string detail, T callback, Flag!"After" after)

Connect to TextInsert signal.

connectTextRemove
gulong connectTextRemove(string detail, T callback, Flag!"After" after)

Connect to TextRemove signal.

connectTextSelectionChanged
gulong connectTextSelectionChanged(T callback, Flag!"After" after)

Connect to TextSelectionChanged signal.

Inherited Members

From ContainerAccessible

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
ContainerAccessible self()

Returns this, for use in with statements.

builder
ContainerAccessibleGidBuilder builder()

Get builder for gtk.container_accessible.ContainerAccessible

From EditableText

_getGType
GType _getGType()
copyText
void copyText(int startPos, int endPos)

Copy text from start_pos up to, but not including end_pos to the clipboard.

cutText
void cutText(int startPos, int endPos)

Copy text from start_pos up to, but not including end_pos to the clipboard and then delete from the widget.

deleteText
void deleteText(int startPos, int endPos)

Delete text start_pos up to, but not including end_pos.

insertText
void insertText(string string_, int position)

Insert text at a given position.

pasteText
void pasteText(int position)

Paste text from clipboard to specified position.

setTextContents
void setTextContents(string string_)

Set text contents of text.

From StreamableContent

_getGType
GType _getGType()
getMimeType
string getMimeType(int i)

Gets the character string of the specified mime type. The first mime type is at position 0, the second at position 1, and so on.

getNMimeTypes
int getNMimeTypes()

Gets the number of mime types supported by this object.

getStream
glib.iochannel.IOChannel getStream(string mimeType)

Gets the content in the specified mime type.

getUri
string getUri(string mimeType)

Get a string representing a URI in IETF standard format (see http://www.ietf.org/rfc/rfc2396.txt) from which the object's content may be streamed in the specified mime-type, if one is available. If mime_type is NULL, the URI for the default (and possibly only) mime-type is returned.

From Text

_getGType
GType _getGType()
addSelection
bool addSelection(int startOffset, int endOffset)

Adds a selection bounded by the specified offsets.

getBoundedRanges
atk.text_range.TextRange[] getBoundedRanges(atk.types.TextRectangle rect, atk.types.CoordType coordType, atk.types.TextClipType xClipType, atk.types.TextClipType yClipType)

Get the ranges of text in the specified bounding box.

getCaretOffset
int getCaretOffset()

Gets the offset of the position of the caret (cursor).

getCharacterAtOffset
dchar getCharacterAtOffset(int offset)

Gets the specified text.

getCharacterCount
int getCharacterCount()

Gets the character count.

getCharacterExtents
void getCharacterExtents(int offset, int x, int y, int width, int height, atk.types.CoordType coords)

If the extent can not be obtained (e.g. missing support), all of x, y, width, height are set to -1.

getNSelections
int getNSelections()

Gets the number of selected regions.

getOffsetAtPoint
int getOffsetAtPoint(int x, int y, atk.types.CoordType coords)

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.

getRangeExtents
void getRangeExtents(int startOffset, int endOffset, atk.types.CoordType coordType, atk.types.TextRectangle rect)

Get the bounding box for text within the specified range.

getSelection
string getSelection(int selectionNum, int startOffset, int endOffset)

Gets the text from the specified selection.

getStringAtOffset
string getStringAtOffset(int offset, atk.types.TextGranularity granularity, int startOffset, int endOffset)

Gets a portion of the text exposed through an #AtkText 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.

getText
string getText(int startOffset, int endOffset)

Gets the specified text.

getTextAfterOffset
string getTextAfterOffset(int offset, atk.types.TextBoundary boundaryType, int startOffset, int endOffset)

Gets the specified text.

getTextAtOffset
string getTextAtOffset(int offset, atk.types.TextBoundary boundaryType, int startOffset, int endOffset)

Gets the specified text.

getTextBeforeOffset
string getTextBeforeOffset(int offset, atk.types.TextBoundary boundaryType, int startOffset, int endOffset)

Gets the specified text.

textRemoveSelection
bool textRemoveSelection(int selectionNum)

Removes the specified selection.

scrollSubstringTo
bool scrollSubstringTo(int startOffset, int endOffset, atk.types.ScrollType type)

Makes a substring of text visible on the screen by scrolling all necessary parents.

scrollSubstringToPoint
bool scrollSubstringToPoint(int startOffset, int endOffset, atk.types.CoordType coords, int x, int y)

Move the top-left of a substring of text to a given position of the screen by scrolling all necessary parents.

setCaretOffset
bool setCaretOffset(int offset)

Sets the caret (cursor) position to the specified offset.

setSelection
bool setSelection(int selectionNum, int startOffset, int endOffset)

Changes the start and end offset of the specified selection.

connectTextAttributesChanged
gulong connectTextAttributesChanged(T callback, Flag!"After" after)

Connect to TextAttributesChanged signal.

connectTextCaretMoved
gulong connectTextCaretMoved(T callback, Flag!"After" after)

Connect to TextCaretMoved signal.

connectTextChanged
gulong connectTextChanged(string detail, T callback, Flag!"After" after)

Connect to TextChanged signal.

connectTextInsert
gulong connectTextInsert(string detail, T callback, Flag!"After" after)

Connect to TextInsert signal.

connectTextRemove
gulong connectTextRemove(string detail, T callback, Flag!"After" after)

Connect to TextRemove signal.

connectTextSelectionChanged
gulong connectTextSelectionChanged(T callback, Flag!"After" after)

Connect to TextSelectionChanged signal.