- class Attribute¶
The
Attribute
class stores an input method attribute. More…Synopsis¶
Methods¶
def
__init__()
def
__ne__()
def
__eq__()
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:
typ –
AttributeType
s – int
l – int
This is an overloaded function.
Constructs an input method attribute with no value.
type
specifies the type of attribute, andstart
andlength
the position of the attribute.- __init__(typ, s, l, val)
- Parameters:
typ –
AttributeType
s – int
l – int
val – object
Constructs an input method attribute.
type
specifies the type of attribute,start
andlength
the position of the attribute, andvalue
the value of the attribute.- __ne__(rhs)¶
- Parameters:
rhs –
Attribute
- Return type:
bool
- __eq__(rhs)¶
- Parameters:
rhs –
Attribute
- Return type:
bool