]>
Commit | Line | Data |
---|---|---|
70551f47 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 * | |
b26e2dc4 RD |
9 | |
10 | from frames import * | |
11 | ||
12 | from stattool import * | |
13 | ||
14 | from controls import * | |
15 | ||
16 | from events import * | |
105e45b9 | 17 | import wx |
70551f47 RD |
18 | class wxMDIParentFramePtr(wxFramePtr): |
19 | def __init__(self,this): | |
20 | self.this = this | |
21 | self.thisown = 0 | |
22 | def ActivateNext(self): | |
23 | val = mdic.wxMDIParentFrame_ActivateNext(self.this) | |
24 | return val | |
25 | def ActivatePrevious(self): | |
26 | val = mdic.wxMDIParentFrame_ActivatePrevious(self.this) | |
27 | return val | |
28 | def ArrangeIcons(self): | |
29 | val = mdic.wxMDIParentFrame_ArrangeIcons(self.this) | |
30 | return val | |
31 | def Cascade(self): | |
32 | val = mdic.wxMDIParentFrame_Cascade(self.this) | |
33 | return val | |
34 | def GetClientSize(self): | |
35 | val = mdic.wxMDIParentFrame_GetClientSize(self.this) | |
36 | return val | |
37 | def GetActiveChild(self): | |
38 | val = mdic.wxMDIParentFrame_GetActiveChild(self.this) | |
39 | val = wxMDIChildFramePtr(val) | |
40 | return val | |
41 | def GetClientWindow(self): | |
42 | val = mdic.wxMDIParentFrame_GetClientWindow(self.this) | |
43 | val = wxMDIClientWindowPtr(val) | |
44 | return val | |
45 | def GetToolBar(self): | |
46 | val = mdic.wxMDIParentFrame_GetToolBar(self.this) | |
47 | val = wxWindowPtr(val) | |
48 | return val | |
49 | def Tile(self): | |
50 | val = mdic.wxMDIParentFrame_Tile(self.this) | |
51 | return val | |
52 | def __repr__(self): | |
53 | return "<C wxMDIParentFrame instance>" | |
54 | class wxMDIParentFrame(wxMDIParentFramePtr): | |
55 | def __init__(self,arg0,arg1,arg2,*args) : | |
56 | argl = map(None,args) | |
57 | try: argl[0] = argl[0].this | |
58 | except: pass | |
59 | try: argl[1] = argl[1].this | |
60 | except: pass | |
61 | args = tuple(argl) | |
62 | self.this = apply(mdic.new_wxMDIParentFrame,(arg0.this,arg1,arg2,)+args) | |
63 | self.thisown = 1 | |
105e45b9 | 64 | wx._StdFrameCallbacks(self) |
70551f47 RD |
65 | |
66 | ||
67 | ||
68 | ||
69 | class wxMDIChildFramePtr(wxFramePtr): | |
70 | def __init__(self,this): | |
71 | self.this = this | |
72 | self.thisown = 0 | |
73 | def Activate(self): | |
74 | val = mdic.wxMDIChildFrame_Activate(self.this) | |
75 | return val | |
76 | def Maximize(self): | |
77 | val = mdic.wxMDIChildFrame_Maximize(self.this) | |
78 | return val | |
79 | def Restore(self): | |
80 | val = mdic.wxMDIChildFrame_Restore(self.this) | |
81 | return val | |
82 | def SetMenuBar(self,arg0): | |
83 | val = mdic.wxMDIChildFrame_SetMenuBar(self.this,arg0.this) | |
84 | return val | |
85 | def SetClientSize(self,arg0,arg1): | |
86 | val = mdic.wxMDIChildFrame_SetClientSize(self.this,arg0,arg1) | |
87 | return val | |
88 | def GetPosition(self): | |
89 | val = mdic.wxMDIChildFrame_GetPosition(self.this) | |
90 | return val | |
91 | def __repr__(self): | |
92 | return "<C wxMDIChildFrame instance>" | |
93 | class wxMDIChildFrame(wxMDIChildFramePtr): | |
94 | def __init__(self,arg0,arg1,arg2,*args) : | |
95 | argl = map(None,args) | |
96 | try: argl[0] = argl[0].this | |
97 | except: pass | |
98 | try: argl[1] = argl[1].this | |
99 | except: pass | |
100 | args = tuple(argl) | |
101 | self.this = apply(mdic.new_wxMDIChildFrame,(arg0.this,arg1,arg2,)+args) | |
102 | self.thisown = 1 | |
105e45b9 | 103 | wx._StdFrameCallbacks(self) |
70551f47 RD |
104 | |
105 | ||
106 | ||
107 | ||
108 | class wxMDIClientWindowPtr(wxWindowPtr): | |
109 | def __init__(self,this): | |
110 | self.this = this | |
111 | self.thisown = 0 | |
112 | def __repr__(self): | |
113 | return "<C wxMDIClientWindow instance>" | |
114 | class wxMDIClientWindow(wxMDIClientWindowPtr): | |
115 | def __init__(self,arg0,*args) : | |
116 | self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args) | |
117 | self.thisown = 1 | |
105e45b9 RD |
118 | wx._StdWindowCallbacks(self) |
119 | wx._StdOnScrollCallbacks(self) | |
70551f47 RD |
120 | |
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | #-------------- FUNCTION WRAPPERS ------------------ | |
127 | ||
128 | ||
129 | ||
130 | #-------------- VARIABLE WRAPPERS ------------------ | |
131 |