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. |
|
Enable or disable delayed image loading. |
|
Enable or disable images. |
|
Enables virtual attribute processing. |
|
Returns |
|
Returns |
|
Returns |
|
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. |
|
Set laying out flag. |
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 |
|
A public C++ attribute of type |
Possible constructors:
RichTextDrawingContext(buffer : RichTextBuffer) -> None
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)
None
Applies any virtual attributes relevant to this object.
attr (wx.richtext.RichTextAttr)
bool
Enable or disable delayed image loading.
b (bool)
None
Enable or disable images.
b (bool)
None
Enables virtual attribute processing.
b (bool)
None
Returns True
if delayed image loading is enabled.
bool
Returns True
if images are enabled.
bool
Returns True
if laying out.
bool
Returns the virtual attributes for this object.
Virtual attributes can be provided for visual cues without affecting the actual styling.
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.
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
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling.
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
None
Set laying out flag.
b (bool)
None
See GetImagesEnabled
See GetLayingOut
and SetLayingOut
A public C++ attribute of type RichTextBuffer
.
A public C++ attribute of type bool
.
A public C++ attribute of type bool
.
A public C++ attribute of type bool
.
A public C++ attribute of type bool
.