]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/mdi.py
SWIGged updates for wxMac
[wxWidgets.git] / wxPython / src / mac / 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 = 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,)
55 class 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
63 def 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
70 class 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,)
88 class 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
96 def 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
103 class 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,)
112 class 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
120 def 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
135 IDM_WINDOWTILE = mdic.IDM_WINDOWTILE
136 IDM_WINDOWTILEHOR = mdic.IDM_WINDOWTILEHOR
137 IDM_WINDOWCASCADE = mdic.IDM_WINDOWCASCADE
138 IDM_WINDOWICONS = mdic.IDM_WINDOWICONS
139 IDM_WINDOWNEXT = mdic.IDM_WINDOWNEXT
140 IDM_WINDOWTILEVERT = mdic.IDM_WINDOWTILEVERT
141 wxFIRST_MDI_CHILD = mdic.wxFIRST_MDI_CHILD
142 wxLAST_MDI_CHILD = mdic.wxLAST_MDI_CHILD