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