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