]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/mdi.py
Added ability to use xml resource files. Still need to add ability to
[wxWidgets.git] / wxPython / src / gtk / mdi.py
CommitLineData
70551f47
RD
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
b26e2dc4 9
4120ef2b
RD
10from clip_dnd import *
11
b26e2dc4
RD
12from frames import *
13
14from stattool import *
15
16from controls import *
17
18from events import *
105e45b9 19import wx
70551f47
RD
20class wxMDIParentFramePtr(wxFramePtr):
21 def __init__(self,this):
22 self.this = this
23 self.thisown = 0
2d091820
RD
24 def ActivateNext(self, *_args, **_kwargs):
25 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
70551f47 26 return val
2d091820
RD
27 def ActivatePrevious(self, *_args, **_kwargs):
28 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
70551f47 29 return val
2d091820
RD
30 def ArrangeIcons(self, *_args, **_kwargs):
31 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
70551f47 32 return val
2d091820
RD
33 def Cascade(self, *_args, **_kwargs):
34 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
70551f47 35 return val
2d091820
RD
36 def GetActiveChild(self, *_args, **_kwargs):
37 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
70551f47 38 return val
2d091820
RD
39 def GetClientWindow(self, *_args, **_kwargs):
40 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
70551f47 41 return val
2d091820
RD
42 def GetToolBar(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
70551f47 44 return val
2d091820
RD
45 def Tile(self, *_args, **_kwargs):
46 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
70551f47
RD
47 return val
48 def __repr__(self):
2d091820 49 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
70551f47 50class wxMDIParentFrame(wxMDIParentFramePtr):
2d091820
RD
51 def __init__(self,*_args,**_kwargs):
52 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
70551f47 53 self.thisown = 1
f6bcfd97 54 #wx._StdFrameCallbacks(self)
70551f47
RD
55
56
57
58
59class wxMDIChildFramePtr(wxFramePtr):
60 def __init__(self,this):
61 self.this = this
62 self.thisown = 0
2d091820
RD
63 def Activate(self, *_args, **_kwargs):
64 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
70551f47 65 return val
2d091820
RD
66 def Maximize(self, *_args, **_kwargs):
67 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
70551f47 68 return val
2d091820
RD
69 def Restore(self, *_args, **_kwargs):
70 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
70551f47 71 return val
70551f47 72 def __repr__(self):
2d091820 73 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
70551f47 74class wxMDIChildFrame(wxMDIChildFramePtr):
2d091820
RD
75 def __init__(self,*_args,**_kwargs):
76 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
70551f47 77 self.thisown = 1
f6bcfd97 78 #wx._StdFrameCallbacks(self)
70551f47
RD
79
80
81
82
83class wxMDIClientWindowPtr(wxWindowPtr):
84 def __init__(self,this):
85 self.this = this
86 self.thisown = 0
87 def __repr__(self):
2d091820 88 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
70551f47 89class wxMDIClientWindow(wxMDIClientWindowPtr):
2d091820
RD
90 def __init__(self,*_args,**_kwargs):
91 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
70551f47 92 self.thisown = 1
f6bcfd97
BP
93 #wx._StdWindowCallbacks(self)
94 #wx._StdOnScrollCallbacks(self)
70551f47
RD
95
96
97
98
99
100
101#-------------- FUNCTION WRAPPERS ------------------
102
103
104
105#-------------- VARIABLE WRAPPERS ------------------
106