A class representing a rich text object’s borders.
See also
wx.richtext.RichTextAttr, wx.richtext.RichTextCtrl, RichTextAttrBorder
Default constructor. |
|
Applies border 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. |
|
Returns |
|
Removes the specified attributes from this object. |
|
Resets all borders. |
|
Sets colour of all borders. |
|
Sets the style of all borders. |
|
Sets the width of all borders. |
|
Equality operator. |
See |
|
See |
|
See |
|
See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Possible constructors:
TextAttrBorders()
A class representing a rich text object’s borders.
Default constructor.
Applies border to this object, but not if the same as compareWith.
borders (wx.richtext.TextAttrBorders) –
compareWith (wx.richtext.TextAttrBorders) –
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.TextAttrBorders) –
clashingAttr (wx.richtext.TextAttrBorders) –
absentAttr (wx.richtext.TextAttrBorders) –
Partial equality test.
If weakTest is True
, attributes of this object do not have to be present if those attributes of borders are present. If weakTest is False
, the function will fail if an attribute is present in borders but not in this object.
borders (wx.richtext.TextAttrBorders) –
weakTest (bool) –
bool
Returns True
if at least one border is valid.
bool
Removes the specified attributes from this object.
attr (wx.richtext.TextAttrBorders) –
bool
Resets all borders.
SetColour (self, colour)
Sets colour of all borders.
colour (long) –
SetColour (self, colour)
Sets the colour for all borders.
colour (wx.Colour) –
Sets the style of all borders.
style (int) –
Sets the width of all borders.
SetWidth (self, width)
width (wx.richtext.TextAttrDimension) –
SetWidth (self, value, units=TEXT_ATTR_UNITS_TENTHS_MM)
value (int) –
units (TextAttrUnits) –
int
int
Equality operator.
borders (wx.richtext.TextAttrBorders) –
A public C++ attribute of type TextAttrBorder
.
A public C++ attribute of type TextAttrBorder
.
A public C++ attribute of type TextAttrBorder
.
A public C++ attribute of type TextAttrBorder
.