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