EntryAccessible

Constructors

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

Members

Functions

self
EntryAccessible self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
builder
EntryAccessibleGidBuilder builder()

Get builder for gtk.entry_accessible.EntryAccessible

Mixed In Members

From mixin ActionT!()

doAction
bool doAction(int i)

Perform the specified action on the object.

getDescription
string getDescription(int i)

Returns a description of the specified action of the object.

getKeybinding
string getKeybinding(int i)

Gets the keybinding which can be used to activate this action, if one exists. The string returned should contain localized, human-readable, key sequences as they would appear when displayed on screen. It must be in the format "mnemonic;sequence;shortcut".

getLocalizedName
string getLocalizedName(int i)

Returns the localized name of the specified action of the object.

getNActions
int getNActions()

Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object.

getName
string getName(int i)

Returns a non-localized string naming the specified action of the object. This name is generally not descriptive of the end result of the action, but instead names the 'interaction type' which the object supports. By convention, the above strings should be used to represent the actions which correspond to the common point-and-click interaction techniques of the same name: i.e. "click", "press", "release", "drag", "drop", "popup", etc. The "popup" action should be used to pop up a context menu for the object, if one exists.

setDescription
bool setDescription(int i, string desc)

Sets a description of the specified action of the object.

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 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 WidgetAccessible

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

Returns this, for use in with statements.

builder
WidgetAccessibleGidBuilder builder()

Get builder for gtk.widget_accessible.WidgetAccessible

From Action

_getGType
GType _getGType()
doAction
bool doAction(int i)

Perform the specified action on the object.

getDescription
string getDescription(int i)

Returns a description of the specified action of the object.

getKeybinding
string getKeybinding(int i)

Gets the keybinding which can be used to activate this action, if one exists. The string returned should contain localized, human-readable, key sequences as they would appear when displayed on screen. It must be in the format "mnemonic;sequence;shortcut".

getLocalizedName
string getLocalizedName(int i)

Returns the localized name of the specified action of the object.

getNActions
int getNActions()

Gets the number of accessible actions available on the object. If there are more than one, the first one is considered the "default" action of the object.

getName
string getName(int i)

Returns a non-localized string naming the specified action of the object. This name is generally not descriptive of the end result of the action, but instead names the 'interaction type' which the object supports. By convention, the above strings should be used to represent the actions which correspond to the common point-and-click interaction techniques of the same name: i.e. "click", "press", "release", "drag", "drop", "popup", etc. The "popup" action should be used to pop up a context menu for the object, if one exists.

setDescription
bool setDescription(int i, string desc)

Sets a description of the specified action of the object.

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 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.