Description
Creates an exclamation mark icon.
Syntax
QtWidgets.createExclamationIcon(parent: widget = None) -> ExclamationIcon
Parameters
Parameter |
Type |
Default Value |
Mandatory |
Description |
parent |
widget |
None |
No |
Parent widget, to which the created ExclamationIcon belongs. If not specified, the icon is created without a parent. |
Return value
Type |
Description |
!class ExclamationIcon |
A new ExclamationIcon object. |
Example
linenums="1"
result = QtWidgets.createExclamationIcon()
print(result)
Last update: 14 August 2025, 18:47