]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/mdi.py
Some slight cleanup and reorganization
[wxWidgets.git] / utils / 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 frames import *
11
12 from stattool import *
13
14 from controls import *
15
16 from events import *
17 import wx
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 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):
47 val = mdic.wxMDIParentFrame_SetToolBar(self.this,arg0.this)
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
64 wx._StdFrameCallbacks(self)
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 __repr__(self):
83 return "<C wxMDIChildFrame instance>"
84 class 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
94 wx._StdFrameCallbacks(self)
95
96
97
98
99 class wxMDIClientWindowPtr(wxWindowPtr):
100 def __init__(self,this):
101 self.this = this
102 self.thisown = 0
103 def __repr__(self):
104 return "<C wxMDIClientWindow instance>"
105 class wxMDIClientWindow(wxMDIClientWindowPtr):
106 def __init__(self,arg0,*args) :
107 self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args)
108 self.thisown = 1
109 wx._StdWindowCallbacks(self)
110 wx._StdOnScrollCallbacks(self)
111
112
113
114
115
116
117 #-------------- FUNCTION WRAPPERS ------------------
118
119
120
121 #-------------- VARIABLE WRAPPERS ------------------
122