wx.html.HtmlFilter¶This class is the parent class of input filters for wx.html.HtmlWindow.
It allows you to read and display files of different file formats.
See also
Class Hierarchy¶
Methods Summary¶Constructor. |
|
Returns |
|
Reads the file and returns string with HTML document. |
Class API¶Possible constructors:
HtmlFilter() -> None
This class is the parent class of input filters for HtmlWindow.
Constructor.
None
Returns True if this filter is capable of reading file file.
Example:
def CanRead(file):
# file is a wx.FSFile in this case...
return (file.GetMimeType() == "application/x-ugh")
file (wx.FSFile)
bool