PySide6.QtGui.QInputMethodEvent.Attribute

class Attribute

The Attribute class stores an input method attribute. More

Synopsis

Methods

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

PySide6.QtGui.QInputMethodEvent.Attribute.type
PySide6.QtGui.QInputMethodEvent.Attribute.start
PySide6.QtGui.QInputMethodEvent.Attribute.length
PySide6.QtGui.QInputMethodEvent.Attribute.value
__init__(typ, s, l)
Parameters:

This is an overloaded function.

Constructs an input method attribute with no value. type specifies the type of attribute, and start and length the position of the attribute.

__init__(typ, s, l, val)
Parameters:

Constructs an input method attribute. type specifies the type of attribute, start and length the position of the attribute, and value the value of the attribute.

__ne__(rhs)
Parameters:

rhsAttribute

Return type:

bool

__eq__(rhs)
Parameters:

rhsAttribute

Return type:

bool