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() -> None
A class representing a rich text object’s borders.
Default constructor.
None
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)
None
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.
None
SetColour (self, colour : int)
Sets colour of all borders.
colour (long)
None
SetColour (self, colour : Colour)
Sets the colour for all borders.
colour (wx.Colour)
None
Sets the style of all borders.
style (int)
None
Sets the width of all borders.
SetWidth (self, width : TextAttrDimension)
width (wx.richtext.TextAttrDimension)
None
SetWidth (self, value : int, units: TextAttrUnits=TEXT_ATTR_UNITS_TENTHS_MM)
value (int)
units (TextAttrUnits)
None
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
.