(int,int) = StreamIn(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)method : object
A callable object (eg, a method or function)
This method is called with a single integer param, which is the maximum number of
bytes to fetch. The method should return a zero length string, or None to
finish the operation, and a string otherwise.MFC References
CRichEditCtrl::StreamIn
Return Value
The return value is a tuple of (no bytes written, error code)