PySide6.QtGui.QAccessibleStateChangeEvent¶
- class QAccessibleStateChangeEvent¶
- The - QAccessibleStateChangeEventnotfies the accessibility framework that the state of an object has changed. More…- Synopsis¶- Methods¶- def - __init__()
- def - changedStates()
 - 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 - Detailed Description¶- This class is used with - updateAccessibility().- See also - __init__(iface, state)¶
- Parameters:
- iface – - QAccessibleInterface
- state – - State
 
 
 - Constructs a new - QAccessibleStateChangeEvent.- ifaceis the interface associated with the event- stateis the state of the accessible object.- Constructs a new - QAccessibleStateChangeEventfor- object. The difference to the object’s previous state is in- state.- Returns the states that have been changed. - Keep in mind that the returned states are the ones that have changed. To find out about the state of an object, use - state().- For example, if an object used to have the focus but loses it, the object’s state will have focused set to - false. This event on the other hand tells about the change and has focused set to- truesince the focus state is changed from- trueto- false.