]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/wxd/MimeTypes.py
1 """Decorator classes for documentation and shell scripting.
4 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
6 __revision__
= "$Revision$"[11:-2]
9 # These are not the real wxPython classes. These are Python versions
10 # for documentation purposes. They are also used to apply docstrings
11 # to the real wxPython classes, which are SWIG-generated wrappers for
15 import Parameters
as wx
21 def GetAllCommands(self
):
25 def GetDescription(self
):
29 def GetExtensions(self
):
37 def GetIconInfo(self
):
41 def GetMimeType(self
):
45 def GetMimeTypes(self
):
49 def GetOpenCommand(self
):
53 def GetPrintCommand(self
):
61 def SetDefaultIcon(self
):
65 def Unassociate(self
):
81 def GetDescription(self
):
85 def GetExtensions(self
):
89 def GetExtensionsCount(self
):
93 def GetIconFile(self
):
97 def GetIconIndex(self
):
101 def GetMimeType(self
):
105 def GetOpenCommand(self
):
109 def GetPrintCommand(self
):
113 def GetShortDesc(self
):
125 def SetShortDesc(self
):
134 class MimeTypesManager
:
137 def AddFallback(self
):
149 def EnumAllFileTypes(self
):
153 def GetFileTypeFromExtension(self
):
157 def GetFileTypeFromMimeType(self
):
161 def Initialize(self
):
165 def ReadMailcap(self
):
169 def ReadMimeTypes(self
):
173 def Unassociate(self
):