QAccessibleTextCursorEvent

The QAccessibleTextCursorEvent class notifies of cursor movements. More

Inheritance diagram of PySide6.QtGui.QAccessibleTextCursorEvent

Inherited by: QAccessibleTextUpdateEvent, QAccessibleTextSelectionEvent, QAccessibleTextRemoveEvent, QAccessibleTextInsertEvent

Synopsis

Functions

Detailed Description

This class is used with updateAccessibility() .

class PySide6.QtGui.QAccessibleTextCursorEvent(iface, cursorPos)

PySide6.QtGui.QAccessibleTextCursorEvent(obj, cursorPos)

Parameters

Create a new QAccessibleTextCursorEvent for iface, The cursorPos is the new cursor position.

Create a new QAccessibleTextCursorEvent for object. The cursorPos is the new cursor position.

PySide6.QtGui.QAccessibleTextCursorEvent.cursorPosition()
Return type

int

Returns the cursor position.

PySide6.QtGui.QAccessibleTextCursorEvent.setCursorPosition(position)
Parameters

position – int

Sets the cursor position for this event.

See also

cursorPosition()