QAccessibleTextInsertEvent¶
The QAccessibleTextInsertEvent
class notifies of text being inserted. More…
Synopsis¶
Functions¶
def
changePosition
()def
textInserted
()
Detailed Description¶
This class is used with updateAccessibility()
.
- class PySide6.QtGui.QAccessibleTextInsertEvent(iface, position, text)¶
PySide6.QtGui.QAccessibleTextInsertEvent(obj, position, text)
- Parameters
obj –
PySide6.QtCore.QObject
position – int
text – str
Constructs a new QAccessibleTextInsertEvent
event for iface
. The text has been inserted at position
.
Constructs a new QAccessibleTextInsertEvent
event for object
. The text
has been inserted at position
. By default, it is assumed that the cursor has moved to the end of the selection. If that is not the case, one needs to manually set it with setCursorPosition()
for this event.
- PySide6.QtGui.QAccessibleTextInsertEvent.changePosition()¶
- Return type
int
Returns the position where the text was inserted.
- PySide6.QtGui.QAccessibleTextInsertEvent.textInserted()¶
- Return type
str
Returns the text that has been inserted.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.