]>
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 GetActiveChild(self
):
35 val
= mdic
.wxMDIParentFrame_GetActiveChild(self
.this
)
36 val
= wxMDIChildFramePtr(val
)
38 def GetClientWindow(self
):
39 val
= mdic
.wxMDIParentFrame_GetClientWindow(self
.this
)
40 val
= wxMDIClientWindowPtr(val
)
43 val
= mdic
.wxMDIParentFrame_GetToolBar(self
.this
)
44 val
= wxWindowPtr(val
)
46 def SetToolBar(self
,arg0
):
47 val
= mdic
.wxMDIParentFrame_SetToolBar(self
.this
,arg0
.this
)
50 val
= mdic
.wxMDIParentFrame_Tile(self
.this
)
53 return "<C wxMDIParentFrame instance>"
54 class wxMDIParentFrame(wxMDIParentFramePtr
):
55 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
57 try: argl
[0] = argl
[0].this
59 try: argl
[1] = argl
[1].this
62 self
.this
= apply(mdic
.new_wxMDIParentFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
64 wx
._StdFrameCallbacks
(self
)
69 class wxMDIChildFramePtr(wxFramePtr
):
70 def __init__(self
,this
):
74 val
= mdic
.wxMDIChildFrame_Activate(self
.this
)
76 def Maximize(self
,arg0
):
77 val
= mdic
.wxMDIChildFrame_Maximize(self
.this
,arg0
)
80 val
= mdic
.wxMDIChildFrame_Restore(self
.this
)
83 return "<C wxMDIChildFrame instance>"
84 class wxMDIChildFrame(wxMDIChildFramePtr
):
85 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
87 try: argl
[0] = argl
[0].this
89 try: argl
[1] = argl
[1].this
92 self
.this
= apply(mdic
.new_wxMDIChildFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
94 wx
._StdFrameCallbacks
(self
)
99 class wxMDIClientWindowPtr(wxWindowPtr
):
100 def __init__(self
,this
):
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
)
109 wx
._StdWindowCallbacks
(self
)
110 wx
._StdOnScrollCallbacks
(self
)
117 #-------------- FUNCTION WRAPPERS ------------------
121 #-------------- VARIABLE WRAPPERS ------------------