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.
__init__ |
Trivial default constructor. |
GetFileName |
Return the filename. |
GetMimeType |
Return the MIME type. |
GetParamValue |
Overridable method for derived classes. Returns empty string by default. |
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.
Parameters: |
|
---|
GetFileName
(self)¶Return the filename.
Return type: | string |
---|
GetMimeType
(self)¶Return the MIME type.
Return type: | string |
---|
GetParamValue
(self, name)¶Overridable method for derived classes. Returns empty string by default.
Parameters: | name (string) – |
---|---|
Return type: | string |
FileName
¶See GetFileName
MimeType
¶See GetMimeType