The base class for custom drawing handlers.
Currently, drawing handlers can provide virtual attributes.
Creates a drawing handler object. |
|
Returns the name of the handler. |
|
Provides virtual attributes that we can provide. |
|
Gets the mixed virtual attributes for individual positions within the object. |
|
Gets the count for mixed virtual attributes for individual positions within the object. |
|
Gets the virtual text for this object. |
|
Returns |
|
Do we have virtual text for this object? Virtual text allows an application to replace characters in an object for editing and display purposes, for example for highlighting special characters. |
|
Sets the name of the handler. |
Possible constructors:
RichTextDrawingHandler(name: str='') -> None
The base class for custom drawing handlers.
Creates a drawing handler object.
name (string)
None
Returns the name of the handler.
str
Provides virtual attributes that we can provide.
attr (wx.richtext.RichTextAttr)
bool
Gets the mixed virtual attributes for individual positions within the object.
For example, individual characters within a text object may require special highlighting. Returns the number of virtual attributes found.
positions (list of integers)
attributes (RichTextAttrArray)
int
Gets the count for mixed virtual attributes for individual positions within the object.
For example, individual characters within a text object may require special highlighting.
int
Gets the virtual text for this object.
text (string)
bool
Returns True
if this object has virtual attributes that we can provide.
bool
Do we have virtual text for this object? Virtual text allows an application to replace characters in an object for editing and display purposes, for example for highlighting special characters.
bool
Sets the name of the handler.
name (string)
None