phoenix_title wx.FileType.MessageParameters

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.


class_hierarchy Class Hierarchy

Inheritance diagram for class MessageParameters:

method_summary Methods Summary

__init__

Trivial default constructor.

GetFileName

Return the filename.

GetMimeType

Return the MIME type.

GetParamValue

Overridable method for derived classes. Returns empty string by default.


property_summary Properties Summary

FileName

See GetFileName

MimeType

See GetMimeType


api Class API

class wx.FileType.MessageParameters(object)

Possible constructors:

MessageParameters() -> None

MessageParameters(filename : str, mimetype: str='') -> None

Class representing message parameters.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Trivial default constructor.

Return type:

None



__init__ (self, filename : str, mimetype: str=’’)

Constructor taking a filename and a mime type.

Parameters:
  • filename (string) –

  • mimetype (string) –

Return type:

None





GetFileName(self)

Return the filename.

Return type:

str



GetMimeType(self)

Return the MIME type.

Return type:

str



GetParamValue(self, name : str)

Overridable method for derived classes. Returns empty string by default.

Parameters:

name (string) –

Return type:

str


Properties

FileName

See GetFileName



MimeType

See GetMimeType