PyCRichEditCtrl.StreamOut

(int, int) = StreamOut(format, method )

Invokes a callback to stream data into the control.

Parameters

format : int

The format. One of the win32con.SF_* flags (SF_TEXT,SF_RTF) and may also combine SFF_SELECTION.

method : object

A callable object (eg, a method or function) This method is called with a string parameter. It should return an integer, zero to abort, non zero otherwise.

MFC References

CRichEditCtrl::StreamOut

Return Value

The return value is a tuple of (no bytes written, error code)