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