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()
MessageParameters(filename, mimetype="")
Class representing message parameters.
__init__
(self, *args, **kw)¶__init__ (self)
Trivial default constructor.
__init__ (self, filename, mimetype=””)
Constructor taking a filename and a mime type.
filename (string) –
mimetype (string) –
GetFileName
(self)¶Return the filename.
string
GetMimeType
(self)¶Return the MIME type.
string
GetParamValue
(self, name)¶Overridable method for derived classes. Returns empty string by default.
name (string) –
string
FileName
¶See GetFileName
MimeType
¶See GetMimeType