Table Of Contents

Previous topic

MessageDialog

Next topic

MimeTypesManager

This Page

phoenix_title MessageParameters

Class representing message parameters.

An object of this class may be passed to FileType.GetOpenCommand and GetPrintCommand if more than the file name needs to be specified.


class_hierarchy Inheritance Diagram

Inheritance diagram for class MessageParameters

Inheritance diagram of 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 MessageParameters(object)

Class representing message parameters.

Possible constructors:

MessageParameters()

MessageParameters(filename, mimetype='')

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