]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/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
)
47 val
= mdic
.wxMDIParentFrame_Tile(self
.this
)
50 return "<C wxMDIParentFrame instance>"
51 class wxMDIParentFrame(wxMDIParentFramePtr
):
52 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
54 try: argl
[0] = argl
[0].this
56 try: argl
[1] = argl
[1].this
59 self
.this
= apply(mdic
.new_wxMDIParentFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
61 wx
._StdFrameCallbacks
(self
)
66 class wxMDIChildFramePtr(wxFramePtr
):
67 def __init__(self
,this
):
71 val
= mdic
.wxMDIChildFrame_Activate(self
.this
)
73 def Maximize(self
,arg0
):
74 val
= mdic
.wxMDIChildFrame_Maximize(self
.this
,arg0
)
77 val
= mdic
.wxMDIChildFrame_Restore(self
.this
)
80 return "<C wxMDIChildFrame instance>"
81 class wxMDIChildFrame(wxMDIChildFramePtr
):
82 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
84 try: argl
[0] = argl
[0].this
86 try: argl
[1] = argl
[1].this
89 self
.this
= apply(mdic
.new_wxMDIChildFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
91 wx
._StdFrameCallbacks
(self
)
96 class wxMDIClientWindowPtr(wxWindowPtr
):
97 def __init__(self
,this
):
101 return "<C wxMDIClientWindow instance>"
102 class wxMDIClientWindow(wxMDIClientWindowPtr
):
103 def __init__(self
,arg0
,*args
) :
104 self
.this
= apply(mdic
.new_wxMDIClientWindow
,(arg0
.this
,)+args
)
106 wx
._StdWindowCallbacks
(self
)
107 wx
._StdOnScrollCallbacks
(self
)
114 #-------------- FUNCTION WRAPPERS ------------------
118 #-------------- VARIABLE WRAPPERS ------------------