]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/mdi.py
1 # This file was created automatically by SWIG.
12 from stattool
import *
14 from controls
import *
18 class wxMDIParentFramePtr(wxFramePtr
):
19 def __init__(self
,this
):
22 def ActivateNext(self
):
23 val
= mdic
.wxMDIParentFrame_ActivateNext(self
.this
)
25 def ActivatePrevious(self
):
26 val
= mdic
.wxMDIParentFrame_ActivatePrevious(self
.this
)
28 def ArrangeIcons(self
):
29 val
= mdic
.wxMDIParentFrame_ArrangeIcons(self
.this
)
32 val
= mdic
.wxMDIParentFrame_Cascade(self
.this
)
34 def GetClientSize(self
):
35 val
= mdic
.wxMDIParentFrame_GetClientSize(self
.this
)
37 def GetActiveChild(self
):
38 val
= mdic
.wxMDIParentFrame_GetActiveChild(self
.this
)
39 val
= wxMDIChildFramePtr(val
)
41 def GetClientWindow(self
):
42 val
= mdic
.wxMDIParentFrame_GetClientWindow(self
.this
)
43 val
= wxMDIClientWindowPtr(val
)
46 val
= mdic
.wxMDIParentFrame_GetToolBar(self
.this
)
47 val
= wxWindowPtr(val
)
49 def SetToolBar(self
,arg0
):
50 val
= mdic
.wxMDIParentFrame_SetToolBar(self
.this
,arg0
.this
)
53 val
= mdic
.wxMDIParentFrame_Tile(self
.this
)
56 return "<C wxMDIParentFrame instance>"
57 class wxMDIParentFrame(wxMDIParentFramePtr
):
58 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
60 try: argl
[0] = argl
[0].this
62 try: argl
[1] = argl
[1].this
65 self
.this
= apply(mdic
.new_wxMDIParentFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
67 wx
._StdFrameCallbacks
(self
)
72 class wxMDIChildFramePtr(wxFramePtr
):
73 def __init__(self
,this
):
77 val
= mdic
.wxMDIChildFrame_Activate(self
.this
)
80 val
= mdic
.wxMDIChildFrame_Maximize(self
.this
)
83 val
= mdic
.wxMDIChildFrame_Restore(self
.this
)
85 def SetMenuBar(self
,arg0
):
86 val
= mdic
.wxMDIChildFrame_SetMenuBar(self
.this
,arg0
.this
)
88 def SetClientSize(self
,arg0
,arg1
):
89 val
= mdic
.wxMDIChildFrame_SetClientSize(self
.this
,arg0
,arg1
)
91 def GetPosition(self
):
92 val
= mdic
.wxMDIChildFrame_GetPosition(self
.this
)
95 return "<C wxMDIChildFrame instance>"
96 class wxMDIChildFrame(wxMDIChildFramePtr
):
97 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
99 try: argl
[0] = argl
[0].this
101 try: argl
[1] = argl
[1].this
104 self
.this
= apply(mdic
.new_wxMDIChildFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
106 wx
._StdFrameCallbacks
(self
)
111 class wxMDIClientWindowPtr(wxWindowPtr
):
112 def __init__(self
,this
):
116 return "<C wxMDIClientWindow instance>"
117 class wxMDIClientWindow(wxMDIClientWindowPtr
):
118 def __init__(self
,arg0
,*args
) :
119 self
.this
= apply(mdic
.new_wxMDIClientWindow
,(arg0
.this
,)+args
)
121 wx
._StdWindowCallbacks
(self
)
122 wx
._StdOnScrollCallbacks
(self
)
129 #-------------- FUNCTION WRAPPERS ------------------
133 #-------------- VARIABLE WRAPPERS ------------------