]>
Commit | Line | Data |
---|---|---|
8ab979d7 RD |
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 * | |
9c039d08 | 9 | |
b1462dfa RD |
10 | from clip_dnd import * |
11 | ||
9c039d08 RD |
12 | from frames import * |
13 | ||
14 | from stattool import * | |
15 | ||
16 | from controls import * | |
17 | ||
18 | from events import * | |
b8b8dda7 | 19 | import wx |
8ab979d7 RD |
20 | class wxMDIParentFramePtr(wxFramePtr): |
21 | def __init__(self,this): | |
22 | self.this = this | |
23 | self.thisown = 0 | |
1d99702e RD |
24 | def ActivateNext(self, *_args, **_kwargs): |
25 | val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs) | |
8ab979d7 | 26 | return val |
1d99702e RD |
27 | def ActivatePrevious(self, *_args, **_kwargs): |
28 | val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs) | |
8ab979d7 | 29 | return val |
1d99702e RD |
30 | def ArrangeIcons(self, *_args, **_kwargs): |
31 | val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs) | |
8ab979d7 | 32 | return val |
1d99702e RD |
33 | def Cascade(self, *_args, **_kwargs): |
34 | val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs) | |
8ab979d7 | 35 | return val |
1d99702e RD |
36 | def GetActiveChild(self, *_args, **_kwargs): |
37 | val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs) | |
38 | if val: val = wxMDIChildFramePtr(val) | |
8ab979d7 | 39 | return val |
1d99702e RD |
40 | def GetClientWindow(self, *_args, **_kwargs): |
41 | val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs) | |
42 | if val: val = wxMDIClientWindowPtr(val) | |
8ab979d7 | 43 | return val |
1d99702e RD |
44 | def GetToolBar(self, *_args, **_kwargs): |
45 | val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs) | |
46 | if val: val = wxWindowPtr(val) | |
8ab979d7 | 47 | return val |
3ca6a5f0 BP |
48 | def GetWindowMenu(self, *_args, **_kwargs): |
49 | val = apply(mdic.wxMDIParentFrame_GetWindowMenu,(self,) + _args, _kwargs) | |
50 | if val: val = wxMenuPtr(val) | |
51 | return val | |
52 | def SetWindowMenu(self, *_args, **_kwargs): | |
53 | val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs) | |
54 | return val | |
1d99702e RD |
55 | def SetToolBar(self, *_args, **_kwargs): |
56 | val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs) | |
8ab979d7 | 57 | return val |
1d99702e RD |
58 | def Tile(self, *_args, **_kwargs): |
59 | val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs) | |
8ab979d7 RD |
60 | return val |
61 | def __repr__(self): | |
1d99702e | 62 | return "<C wxMDIParentFrame instance at %s>" % (self.this,) |
8ab979d7 | 63 | class wxMDIParentFrame(wxMDIParentFramePtr): |
1d99702e RD |
64 | def __init__(self,*_args,**_kwargs): |
65 | self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs) | |
8ab979d7 | 66 | self.thisown = 1 |
f6bcfd97 | 67 | #wx._StdFrameCallbacks(self) |
8ab979d7 RD |
68 | |
69 | ||
70 | ||
71 | ||
72 | class wxMDIChildFramePtr(wxFramePtr): | |
73 | def __init__(self,this): | |
74 | self.this = this | |
75 | self.thisown = 0 | |
1d99702e RD |
76 | def Activate(self, *_args, **_kwargs): |
77 | val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs) | |
8ab979d7 | 78 | return val |
1d99702e RD |
79 | def Maximize(self, *_args, **_kwargs): |
80 | val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs) | |
8ab979d7 | 81 | return val |
1d99702e RD |
82 | def Restore(self, *_args, **_kwargs): |
83 | val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs) | |
8ab979d7 | 84 | return val |
8ab979d7 | 85 | def __repr__(self): |
1d99702e | 86 | return "<C wxMDIChildFrame instance at %s>" % (self.this,) |
8ab979d7 | 87 | class wxMDIChildFrame(wxMDIChildFramePtr): |
1d99702e RD |
88 | def __init__(self,*_args,**_kwargs): |
89 | self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs) | |
8ab979d7 | 90 | self.thisown = 1 |
f6bcfd97 | 91 | #wx._StdFrameCallbacks(self) |
8ab979d7 RD |
92 | |
93 | ||
94 | ||
95 | ||
96 | class wxMDIClientWindowPtr(wxWindowPtr): | |
97 | def __init__(self,this): | |
98 | self.this = this | |
99 | self.thisown = 0 | |
100 | def __repr__(self): | |
1d99702e | 101 | return "<C wxMDIClientWindow instance at %s>" % (self.this,) |
8ab979d7 | 102 | class wxMDIClientWindow(wxMDIClientWindowPtr): |
1d99702e RD |
103 | def __init__(self,*_args,**_kwargs): |
104 | self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs) | |
8ab979d7 | 105 | self.thisown = 1 |
f6bcfd97 BP |
106 | #wx._StdWindowCallbacks(self) |
107 | #wx._StdOnScrollCallbacks(self) | |
8ab979d7 RD |
108 | |
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | #-------------- FUNCTION WRAPPERS ------------------ | |
115 | ||
116 | ||
117 | ||
118 | #-------------- VARIABLE WRAPPERS ------------------ | |
119 |