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