PySide6.QtGui.QAccessibleAnnouncementEvent¶
- class QAccessibleAnnouncementEvent¶
- The - QAccessibleAnnouncementEventis used to request the announcement of a given message by assistive technologies. More…- Synopsis¶- Methods¶- def - __init__()
- def - message()
- def - politeness()
- def - setPoliteness()
 - 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().- __init__(iface, message)¶
- Parameters:
- iface – - QAccessibleInterface
- message – str 
 
 
 - Constructs a new - QAccessibleAnnouncementEventevent for- ifaceto request the announcement of- messagewith politeness- Polite.- setPolitenesscan be used to adjust the politeness.- __init__(object, message)
- Parameters:
- object – - QObject
- message – str 
 
 
 - Constructs a new - QAccessibleAnnouncementEventevent for- objectto request the announcement of- messagewith politeness- Polite.- setPolitenesscan be used to adjust the politeness.- message()¶
- Return type:
- str 
 
 - Returns the message. - politeness()¶
- Return type:
 
 - Returns the politeness. - See also - setPoliteness(politeness)¶
- Parameters:
- politeness – - AnnouncementPoliteness
 
 - Sets the politeness with which the announcement will be requested to - politeness.- See also