]>
Commit | Line | Data |
---|---|---|
1e4a197e | 1 | """Decorator classes for documentation and shell scripting. |
1fded56b RD |
2 | |
3 | Information contained in this module, and all modules imported by this | |
4 | module, is covered by the wxWindows Free Documentation Licence. See | |
5 | the LICENSE.txt file for details. | |
1e4a197e RD |
6 | """ |
7 | ||
8 | __author__ = "Patrick K. O'Brien <pobrien@orbtech.com>" | |
9 | __cvsid__ = "$Id$" | |
10 | __revision__ = "$Revision$"[11:-2] | |
11 | ||
12 | ||
13 | # These are not the real wxPython classes. These are Python versions | |
14 | # for documentation purposes. They are also used to apply docstrings | |
15 | # to the real wxPython classes, which are SWIG-generated wrappers for | |
16 | # C-language classes. | |
17 | ||
18 | ||
19 | _topics = { | |
20 | 'Accelerators': None, | |
21 | 'App': None, | |
22 | 'Base': None, | |
23 | 'ClipDragDrop': None, | |
24 | 'Config': None, | |
25 | 'Controls': None, | |
26 | 'DataStructures': None, | |
27 | 'DateTime': None, | |
28 | 'Dialogs': None, | |
29 | 'Drawing': None, | |
30 | 'Errors': None, | |
31 | 'EventFunctions': None, | |
32 | 'Events': None, | |
33 | 'FileSystem': None, | |
34 | 'Frames': None, | |
35 | 'Functions': None, | |
36 | 'Help': None, | |
37 | 'ImageHandlers': None, | |
38 | 'Joystick': None, | |
39 | 'LayoutConstraints': None, | |
40 | 'Logging': None, | |
41 | 'Menus': None, | |
42 | 'MimeTypes': None, | |
43 | 'Misc': None, | |
44 | 'Panel': None, | |
45 | 'Printing': None, | |
46 | 'Process': None, | |
47 | 'SashSplitter': None, | |
48 | 'Sizers': None, | |
49 | 'Streams': None, | |
50 | 'Threading': None, | |
51 | 'ToolBar': None, | |
52 | 'Tree': None, | |
53 | 'Validators': None, | |
54 | 'Window': None, | |
55 | } | |
56 | ||
57 | for topic in _topics.keys(): | |
58 | _topics[topic] = __import__(topic, globals()) | |
59 | exec 'from %s import *' % topic | |
60 | ||
61 | del topic # Cleanup the namespace. | |
62 | ||
63 | try: | |
64 | del wx # Cleanup any module that imports Parameters as wx. | |
65 | except: | |
66 | pass |