]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/mdi.py
removed duplicate method def
[wxWidgets.git] / wxPython / src / msw / mdi.py
1 # This file was created automatically by SWIG.
2 import mdic
3
4 from misc import *
5
6 from windows import *
7
8 from gdi import *
9
10 from fonts import *
11
12 from clip_dnd import *
13
14 from frames import *
15
16 from stattool import *
17
18 from controls import *
19
20 from events import *
21 import wx
22 class wxMDIParentFramePtr(wxFramePtr):
23 def __init__(self,this):
24 self.this = this
25 self.thisown = 0
26 def Create(self, *_args, **_kwargs):
27 val = mdic.wxMDIParentFrame_Create(self, *_args, **_kwargs)
28 return val
29 def ActivateNext(self, *_args, **_kwargs):
30 val = mdic.wxMDIParentFrame_ActivateNext(self, *_args, **_kwargs)
31 return val
32 def ActivatePrevious(self, *_args, **_kwargs):
33 val = mdic.wxMDIParentFrame_ActivatePrevious(self, *_args, **_kwargs)
34 return val
35 def ArrangeIcons(self, *_args, **_kwargs):
36 val = mdic.wxMDIParentFrame_ArrangeIcons(self, *_args, **_kwargs)
37 return val
38 def Cascade(self, *_args, **_kwargs):
39 val = mdic.wxMDIParentFrame_Cascade(self, *_args, **_kwargs)
40 return val
41 def GetActiveChild(self, *_args, **_kwargs):
42 val = mdic.wxMDIParentFrame_GetActiveChild(self, *_args, **_kwargs)
43 return val
44 def GetClientWindow(self, *_args, **_kwargs):
45 val = mdic.wxMDIParentFrame_GetClientWindow(self, *_args, **_kwargs)
46 return val
47 def GetToolBar(self, *_args, **_kwargs):
48 val = mdic.wxMDIParentFrame_GetToolBar(self, *_args, **_kwargs)
49 return val
50 def GetWindowMenu(self, *_args, **_kwargs):
51 val = mdic.wxMDIParentFrame_GetWindowMenu(self, *_args, **_kwargs)
52 return val
53 def SetWindowMenu(self, *_args, **_kwargs):
54 val = mdic.wxMDIParentFrame_SetWindowMenu(self, *_args, **_kwargs)
55 return val
56 def SetToolBar(self, *_args, **_kwargs):
57 val = mdic.wxMDIParentFrame_SetToolBar(self, *_args, **_kwargs)
58 return val
59 def Tile(self, *_args, **_kwargs):
60 val = mdic.wxMDIParentFrame_Tile(self, *_args, **_kwargs)
61 return val
62 def __repr__(self):
63 return "<%s.%s instance; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
64 class wxMDIParentFrame(wxMDIParentFramePtr):
65 def __init__(self,*_args,**_kwargs):
66 self.this = mdic.new_wxMDIParentFrame(*_args,**_kwargs)
67 self.thisown = 1
68 self._setOORInfo(self)
69
70
71
72 def wxPreMDIParentFrame(*_args,**_kwargs):
73 val = wxMDIParentFramePtr(mdic.new_wxPreMDIParentFrame(*_args,**_kwargs))
74 val.thisown = 1
75 val._setOORInfo(val)
76 return val
77
78
79 class wxMDIChildFramePtr(wxFramePtr):
80 def __init__(self,this):
81 self.this = this
82 self.thisown = 0
83 def Create(self, *_args, **_kwargs):
84 val = mdic.wxMDIChildFrame_Create(self, *_args, **_kwargs)
85 return val
86 def Activate(self, *_args, **_kwargs):
87 val = mdic.wxMDIChildFrame_Activate(self, *_args, **_kwargs)
88 return val
89 def Maximize(self, *_args, **_kwargs):
90 val = mdic.wxMDIChildFrame_Maximize(self, *_args, **_kwargs)
91 return val
92 def Restore(self, *_args, **_kwargs):
93 val = mdic.wxMDIChildFrame_Restore(self, *_args, **_kwargs)
94 return val
95 def __repr__(self):
96 return "<%s.%s instance; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
97 class wxMDIChildFrame(wxMDIChildFramePtr):
98 def __init__(self,*_args,**_kwargs):
99 self.this = mdic.new_wxMDIChildFrame(*_args,**_kwargs)
100 self.thisown = 1
101 self._setOORInfo(self)
102
103
104
105 def wxPreMDIChildFrame(*_args,**_kwargs):
106 val = wxMDIChildFramePtr(mdic.new_wxPreMDIChildFrame(*_args,**_kwargs))
107 val.thisown = 1
108 val._setOORInfo(val)
109 return val
110
111
112 class wxMDIClientWindowPtr(wxWindowPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
116 def Create(self, *_args, **_kwargs):
117 val = mdic.wxMDIClientWindow_Create(self, *_args, **_kwargs)
118 return val
119 def __repr__(self):
120 return "<%s.%s instance; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
121 class wxMDIClientWindow(wxMDIClientWindowPtr):
122 def __init__(self,*_args,**_kwargs):
123 self.this = mdic.new_wxMDIClientWindow(*_args,**_kwargs)
124 self.thisown = 1
125 self._setOORInfo(self)
126
127
128
129 def wxPreMDIClientWindow(*_args,**_kwargs):
130 val = wxMDIClientWindowPtr(mdic.new_wxPreMDIClientWindow(*_args,**_kwargs))
131 val.thisown = 1
132 val._setOORInfo(val)
133 return val
134
135
136
137
138 #-------------- FUNCTION WRAPPERS ------------------
139
140
141
142 #-------------- VARIABLE WRAPPERS ------------------
143
144 IDM_WINDOWTILE = mdic.IDM_WINDOWTILE
145 IDM_WINDOWTILEHOR = mdic.IDM_WINDOWTILEHOR
146 IDM_WINDOWCASCADE = mdic.IDM_WINDOWCASCADE
147 IDM_WINDOWICONS = mdic.IDM_WINDOWICONS
148 IDM_WINDOWNEXT = mdic.IDM_WINDOWNEXT
149 IDM_WINDOWTILEVERT = mdic.IDM_WINDOWTILEVERT
150 wxFIRST_MDI_CHILD = mdic.wxFIRST_MDI_CHILD
151 wxLAST_MDI_CHILD = mdic.wxLAST_MDI_CHILD