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()

MessageParameters(filename, mimetype="")

Class representing message parameters.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Trivial default constructor.



__init__ (self, filename, mimetype=””)

Constructor taking a filename and a mime type.

Parameters:
  • filename (string) –

  • mimetype (string) –





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


Properties

FileName

See GetFileName



MimeType

See GetMimeType