PySide6.QtGui.QAccessibleTextCursorEvent¶
- class QAccessibleTextCursorEvent¶
The
QAccessibleTextCursorEventclass notifies of cursor movements.Details
This class is used with
updateAccessibility().Inherited by:
QAccessibleTextUpdateEvent,QAccessibleTextSelectionEvent,QAccessibleTextRemoveEvent,QAccessibleTextInsertEventSynopsis¶
Methods¶
def
__init__()def
cursorPosition()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__(iface, cursorPos)¶
- Parameters:
iface –
QAccessibleInterfacecursorPos – int
Create a new
QAccessibleTextCursorEventforiface, ThecursorPosis the new cursor position.- __init__(obj, cursorPos)
- Parameters:
obj –
QObjectcursorPos – int
Create a new
QAccessibleTextCursorEventforobject. ThecursorPosis the new cursor position.- cursorPosition()¶
- Return type:
int
Returns the cursor position.
See also
- setCursorPosition(position)¶
- Parameters:
position – int
Sets the cursor
positionfor this event.See also