A class for representing width and height.
Default constructor. |
|
Apply to this object, but not if the same as compareWith. |
|
Collects the attributes that are common to a range of content, building up a note of which attributes are absent in some objects and which clash in some objects. |
|
Partial equality test. |
|
Gets the height. |
|
Returns the width. |
|
Is the size valid? |
|
Removes the specified attributes from this object. |
|
Resets the width and height dimensions. |
|
Sets the height. |
|
Sets the width. |
|
Equality operator. |
A public C++ attribute of type |
|
A public C++ attribute of type |
Possible constructors:
TextAttrSize() -> None
A class for representing width and height.
Default constructor.
None
Apply to this object, but not if the same as compareWith.
dims (wx.richtext.TextAttrSize)
compareWith (wx.richtext.TextAttrSize)
bool
Collects the attributes that are common to a range of content, building up a note of which attributes are absent in some objects and which clash in some objects.
attr (wx.richtext.TextAttrSize)
clashingAttr (wx.richtext.TextAttrSize)
absentAttr (wx.richtext.TextAttrSize)
None
Partial equality test.
If weakTest is True
, attributes of this object do not have to be present if those attributes of size are present. If weakTest is False
, the function will fail if an attribute is present in size but not in this object.
size (wx.richtext.TextAttrSize)
weakTest (bool)
bool
Gets the height.
Returns the width.
Is the size valid?
bool
Removes the specified attributes from this object.
attr (wx.richtext.TextAttrSize)
bool
Resets the width and height dimensions.
None
Sets the height.
SetHeight (self, value : int, flags : TextAttrDimensionFlags)
value (int)
flags (wx.richtext.TextAttrDimensionFlags)
None
SetHeight (self, dim : TextAttrDimension)
None
Sets the width.
SetWidth (self, value : int, flags : TextAttrDimensionFlags)
value (int)
flags (wx.richtext.TextAttrDimensionFlags)
None
SetWidth (self, dim : TextAttrDimension)
None
int
int
Equality operator.
size (wx.richtext.TextAttrSize)
A public C++ attribute of type TextAttrDimension
.
A public C++ attribute of type TextAttrDimension
.