.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.FileType.MessageParameters: ========================================================================================================================================== |phoenix_title| **wx.FileType.MessageParameters** ========================================================================================================================================== Class representing message parameters. An object of this class may be passed to :meth:`wx.FileType.GetOpenCommand` and :meth:`~wx.FileType.MessageParameters.GetPrintCommand` if more than the file name needs to be specified. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class MessageParameters:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.FileType.MessageParameters.__init__` Trivial default constructor. :meth:`~wx.FileType.MessageParameters.GetFileName` Return the filename. :meth:`~wx.FileType.MessageParameters.GetMimeType` Return the MIME type. :meth:`~wx.FileType.MessageParameters.GetParamValue` Overridable method for derived classes. Returns empty string by default. ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~wx.FileType.MessageParameters.FileName` See :meth:`~wx.FileType.MessageParameters.GetFileName` :attr:`~wx.FileType.MessageParameters.MimeType` See :meth:`~wx.FileType.MessageParameters.GetMimeType` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.FileType.MessageParameters(object) **Possible constructors**:: MessageParameters() MessageParameters(filename, mimetype="") Class representing message parameters. .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self)` Trivial default constructor. :html:`

` **__init__** `(self, filename, mimetype="")` Constructor taking a filename and a mime type. :param `filename`: :type `filename`: string :param `mimetype`: :type `mimetype`: string :html:`

` .. method:: GetFileName(self) Return the filename. :rtype: `string` .. method:: GetMimeType(self) Return the MIME type. :rtype: `string` .. method:: GetParamValue(self, name) Overridable method for derived classes. Returns empty string by default. :param `name`: :type `name`: string :rtype: `string` .. attribute:: FileName See :meth:`~wx.FileType.MessageParameters.GetFileName` .. attribute:: MimeType See :meth:`~wx.FileType.MessageParameters.GetMimeType`