]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/msw/mdi.py
wxPython 2.1b1: Very minor changes needed for wxGTK
[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
8ab979d7
RD
34 def GetActiveChild(self):
35 val = mdic.wxMDIParentFrame_GetActiveChild(self.this)
36 val = wxMDIChildFramePtr(val)
37 return val
38 def GetClientWindow(self):
39 val = mdic.wxMDIParentFrame_GetClientWindow(self.this)
40 val = wxMDIClientWindowPtr(val)
41 return val
42 def GetToolBar(self):
43 val = mdic.wxMDIParentFrame_GetToolBar(self.this)
44 val = wxWindowPtr(val)
45 return val
46 def SetToolBar(self,arg0):
9c039d08 47 val = mdic.wxMDIParentFrame_SetToolBar(self.this,arg0.this)
8ab979d7
RD
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>"
54class 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
b8b8dda7 64 wx._StdFrameCallbacks(self)
8ab979d7
RD
65
66
67
68
69class 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
8ab979d7
RD
82 def __repr__(self):
83 return "<C wxMDIChildFrame instance>"
84class wxMDIChildFrame(wxMDIChildFramePtr):
85 def __init__(self,arg0,arg1,arg2,*args) :
86 argl = map(None,args)
87 try: argl[0] = argl[0].this
88 except: pass
89 try: argl[1] = argl[1].this
90 except: pass
91 args = tuple(argl)
92 self.this = apply(mdic.new_wxMDIChildFrame,(arg0.this,arg1,arg2,)+args)
93 self.thisown = 1
b8b8dda7 94 wx._StdFrameCallbacks(self)
8ab979d7
RD
95
96
97
98
99class wxMDIClientWindowPtr(wxWindowPtr):
100 def __init__(self,this):
101 self.this = this
102 self.thisown = 0
103 def __repr__(self):
104 return "<C wxMDIClientWindow instance>"
105class wxMDIClientWindow(wxMDIClientWindowPtr):
106 def __init__(self,arg0,*args) :
107 self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args)
108 self.thisown = 1
b8b8dda7
RD
109 wx._StdWindowCallbacks(self)
110 wx._StdOnScrollCallbacks(self)
8ab979d7
RD
111
112
113
114
115
116
117#-------------- FUNCTION WRAPPERS ------------------
118
119
120
121#-------------- VARIABLE WRAPPERS ------------------
122