Implements saving a buffer to plain text.
__init__ |
|
CanLoad |
Returns True if we can load using this handler. |
CanSave |
Returns True if we can save using this handler. |
DoLoadFile |
Override to load content from stream into buffer. |
DoSaveFile |
Override to save content to stream from buffer. |
wx.richtext.
RichTextPlainTextHandler
(RichTextFileHandler)¶Possible constructors:
RichTextPlainTextHandler(name="Text", ext="txt",
type=RICHTEXT_TYPE_TEXT)
Implements saving a buffer to plain text.
__init__
(self, name="Text", ext="txt", type=RICHTEXT_TYPE_TEXT)¶Parameters: |
|
---|
CanLoad
(self)¶Returns True
if we can load using this handler.
Return type: | bool |
---|
CanSave
(self)¶Returns True
if we can save using this handler.
Return type: | bool |
---|
DoLoadFile
(self, buffer, stream)¶Override to load content from stream into buffer.
Parameters: |
|
---|---|
Return type: | bool |
DoSaveFile
(self, buffer, stream)¶Override to save content to stream from buffer.
Parameters: |
|
---|---|
Return type: | bool |