A class for passing information to drawing and measuring functions.
Pass the buffer to the context so the context can retrieve information such as virtual attributes. |
|
Applies any virtual attributes relevant to this object. |
|
Enables virtual attribute processing. |
|
Returns the virtual attributes for this object. |
|
Returns |
|
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. |
|
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling. |
|
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. |
|
A public C++ attribute of type |
Possible constructors:
RichTextDrawingContext(buffer)
A class for passing information to drawing and measuring functions.
Pass the buffer to the context so the context can retrieve information such as virtual attributes.
buffer (wx.richtext.RichTextBuffer) –
Applies any virtual attributes relevant to this object.
attr (wx.richtext.RichTextAttr) –
obj (wx.richtext.RichTextObject) –
bool
Enables virtual attribute processing.
b (bool) –
Returns the virtual attributes for this object.
Virtual attributes can be provided for visual cues without affecting the actual styling.
obj (wx.richtext.RichTextObject) –
Returns True
if virtual attribute processing is enabled.
bool
Gets the mixed virtual attributes for individual positions within the object.
For example, individual characters within a text object may require special highlighting. The function is passed the count returned by GetVirtualSubobjectAttributesCount.
obj (wx.richtext.RichTextObject) –
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.
obj (wx.richtext.RichTextObject) –
int
Gets the virtual text for this object.
obj (wx.richtext.RichTextPlainText) –
text (string) –
bool
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling.
obj (wx.richtext.RichTextObject) –
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.
obj (wx.richtext.RichTextPlainText) –
bool
A public C++ attribute of type RichTextBuffer
.