]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/mdi.py
Added missing | symbol
[wxWidgets.git] / utils / wxPython / src / msw / mdi.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9c039d08
RD
9
10from frames import *
11
12from stattool import *
13
14from controls import *
15
16from events import *
b8b8dda7 17import wx
8ab979d7
RD
18class 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 SetToolBar(self,arg0):
9c039d08 50 val = mdic.wxMDIParentFrame_SetToolBar(self.this,arg0.this)
8ab979d7
RD
51 return val
52 def Tile(self):
53 val = mdic.wxMDIParentFrame_Tile(self.this)
54 return val
55 def __repr__(self):
56 return "<C wxMDIParentFrame instance>"
57class wxMDIParentFrame(wxMDIParentFramePtr):
58 def __init__(self,arg0,arg1,arg2,*args) :
59 argl = map(None,args)
60 try: argl[0] = argl[0].this
61 except: pass
62 try: argl[1] = argl[1].this
63 except: pass
64 args = tuple(argl)
65 self.this = apply(mdic.new_wxMDIParentFrame,(arg0.this,arg1,arg2,)+args)
66 self.thisown = 1
b8b8dda7 67 wx._StdFrameCallbacks(self)
8ab979d7
RD
68
69
70
71
72class wxMDIChildFramePtr(wxFramePtr):
73 def __init__(self,this):
74 self.this = this
75 self.thisown = 0
76 def Activate(self):
77 val = mdic.wxMDIChildFrame_Activate(self.this)
78 return val
79 def Maximize(self):
80 val = mdic.wxMDIChildFrame_Maximize(self.this)
81 return val
82 def Restore(self):
83 val = mdic.wxMDIChildFrame_Restore(self.this)
84 return val
85 def SetMenuBar(self,arg0):
86 val = mdic.wxMDIChildFrame_SetMenuBar(self.this,arg0.this)
87 return val
88 def SetClientSize(self,arg0,arg1):
89 val = mdic.wxMDIChildFrame_SetClientSize(self.this,arg0,arg1)
90 return val
91 def GetPosition(self):
92 val = mdic.wxMDIChildFrame_GetPosition(self.this)
93 return val
94 def __repr__(self):
95 return "<C wxMDIChildFrame instance>"
96class wxMDIChildFrame(wxMDIChildFramePtr):
97 def __init__(self,arg0,arg1,arg2,*args) :
98 argl = map(None,args)
99 try: argl[0] = argl[0].this
100 except: pass
101 try: argl[1] = argl[1].this
102 except: pass
103 args = tuple(argl)
104 self.this = apply(mdic.new_wxMDIChildFrame,(arg0.this,arg1,arg2,)+args)
105 self.thisown = 1
b8b8dda7 106 wx._StdFrameCallbacks(self)
8ab979d7
RD
107
108
109
110
111class wxMDIClientWindowPtr(wxWindowPtr):
112 def __init__(self,this):
113 self.this = this
114 self.thisown = 0
115 def __repr__(self):
116 return "<C wxMDIClientWindow instance>"
117class wxMDIClientWindow(wxMDIClientWindowPtr):
118 def __init__(self,arg0,*args) :
119 self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args)
120 self.thisown = 1
b8b8dda7
RD
121 wx._StdWindowCallbacks(self)
122 wx._StdOnScrollCallbacks(self)
8ab979d7
RD
123
124
125
126
127
128
129#-------------- FUNCTION WRAPPERS ------------------
130
131
132
133#-------------- VARIABLE WRAPPERS ------------------
134