Attribute — PyQt Documentation v6.9.0 (original) (raw)
PyQt6.QtGui.QInputMethodEvent.Attribute
Description¶
The Attribute class stores an input method attribute.
Attributes¶
length: int
TODO
start: int
TODO
type: AttributeType
TODO
value: Any
TODO
Methods¶
__init__(Attribute)
TODO
__init__(AttributeType, int, int)
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__(AttributeType, int, int, Any)
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.
__eq__(Attribute) → bool
TODO
__ne__(Attribute) → bool
TODO