]>
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 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
)
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
)
77 val
= mdic
.wxMDIChildFrame_Maximize(self
.this
)
80 val
= mdic
.wxMDIChildFrame_Restore(self
.this
)
82 def SetMenuBar(self
,arg0
):
83 val
= mdic
.wxMDIChildFrame_SetMenuBar(self
.this
,arg0
.this
)
85 def SetClientSize(self
,arg0
,arg1
):
86 val
= mdic
.wxMDIChildFrame_SetClientSize(self
.this
,arg0
,arg1
)
88 def GetPosition(self
):
89 val
= mdic
.wxMDIChildFrame_GetPosition(self
.this
)
92 return "<C wxMDIChildFrame instance>"
93 class wxMDIChildFrame(wxMDIChildFramePtr
):
94 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
96 try: argl
[0] = argl
[0].this
98 try: argl
[1] = argl
[1].this
101 self
.this
= apply(mdic
.new_wxMDIChildFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
103 wx
._StdFrameCallbacks
(self
)
108 class wxMDIClientWindowPtr(wxWindowPtr
):
109 def __init__(self
,this
):
113 return "<C wxMDIClientWindow instance>"
114 class wxMDIClientWindow(wxMDIClientWindowPtr
):
115 def __init__(self
,arg0
,*args
) :
116 self
.this
= apply(mdic
.new_wxMDIClientWindow
,(arg0
.this
,)+args
)
118 wx
._StdWindowCallbacks
(self
)
119 wx
._StdOnScrollCallbacks
(self
)
126 #-------------- FUNCTION WRAPPERS ------------------
130 #-------------- VARIABLE WRAPPERS ------------------