Class representing message parameters.
An object of this class may be passed to wx.FileType.GetOpenCommand
and GetPrintCommand
if more than the file name needs to be specified.
Trivial default constructor. |
|
Return the filename. |
|
Return the MIME type. |
|
Overridable method for derived classes. Returns empty string by default. |
See |
|
See |
wx.FileType.
MessageParameters
(object)¶Possible constructors:
MessageParameters() -> None
MessageParameters(filename : str, mimetype: str='') -> None
Class representing message parameters.
__init__
(self, *args, **kw)¶__init__ (self)
Trivial default constructor.
None
__init__ (self, filename : str, mimetype: str=’’)
Constructor taking a filename and a mime type.
filename (string) –
mimetype (string) –
None
GetFileName
(self)¶Return the filename.
str
GetMimeType
(self)¶Return the MIME type.
str
GetParamValue
(self, name : str)¶Overridable method for derived classes. Returns empty string by default.
name (string) –
str
FileName
¶See GetFileName
MimeType
¶See GetMimeType