]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/mdi.py
Better doc
[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
aa2a5b86
RD
24 def Create(self, *_args, **_kwargs):
25 val = apply(mdic.wxMDIParentFrame_Create,(self,) + _args, _kwargs)
26 return val
2d091820
RD
27 def ActivateNext(self, *_args, **_kwargs):
28 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
70551f47 29 return val
2d091820
RD
30 def ActivatePrevious(self, *_args, **_kwargs):
31 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
70551f47 32 return val
2d091820
RD
33 def ArrangeIcons(self, *_args, **_kwargs):
34 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
70551f47 35 return val
2d091820
RD
36 def Cascade(self, *_args, **_kwargs):
37 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
70551f47 38 return val
2d091820
RD
39 def GetActiveChild(self, *_args, **_kwargs):
40 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
70551f47 41 return val
2d091820
RD
42 def GetClientWindow(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
70551f47 44 return val
2d091820
RD
45 def GetToolBar(self, *_args, **_kwargs):
46 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
70551f47 47 return val
2d091820
RD
48 def Tile(self, *_args, **_kwargs):
49 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
70551f47
RD
50 return val
51 def __repr__(self):
2d091820 52 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
70551f47 53class wxMDIParentFrame(wxMDIParentFramePtr):
2d091820
RD
54 def __init__(self,*_args,**_kwargs):
55 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
70551f47 56 self.thisown = 1
0220cbc1 57 self._setOORInfo(self)
70551f47
RD
58
59
60
aa2a5b86
RD
61def wxPreMDIParentFrame(*_args,**_kwargs):
62 val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
63 val.thisown = 1
17c0e08c 64 val._setOORInfo(val)
aa2a5b86
RD
65 return val
66
70551f47
RD
67
68class wxMDIChildFramePtr(wxFramePtr):
69 def __init__(self,this):
70 self.this = this
71 self.thisown = 0
aa2a5b86
RD
72 def Create(self, *_args, **_kwargs):
73 val = apply(mdic.wxMDIChildFrame_Create,(self,) + _args, _kwargs)
74 return val
2d091820
RD
75 def Activate(self, *_args, **_kwargs):
76 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
70551f47 77 return val
2d091820
RD
78 def Maximize(self, *_args, **_kwargs):
79 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
70551f47 80 return val
2d091820
RD
81 def Restore(self, *_args, **_kwargs):
82 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
70551f47 83 return val
70551f47 84 def __repr__(self):
2d091820 85 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
70551f47 86class wxMDIChildFrame(wxMDIChildFramePtr):
2d091820
RD
87 def __init__(self,*_args,**_kwargs):
88 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
70551f47 89 self.thisown = 1
0220cbc1 90 self._setOORInfo(self)
70551f47
RD
91
92
93
aa2a5b86
RD
94def wxPreMDIChildFrame(*_args,**_kwargs):
95 val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
96 val.thisown = 1
17c0e08c 97 val._setOORInfo(val)
aa2a5b86
RD
98 return val
99
70551f47
RD
100
101class wxMDIClientWindowPtr(wxWindowPtr):
102 def __init__(self,this):
103 self.this = this
104 self.thisown = 0
aa2a5b86
RD
105 def Create(self, *_args, **_kwargs):
106 val = apply(mdic.wxMDIClientWindow_Create,(self,) + _args, _kwargs)
107 return val
70551f47 108 def __repr__(self):
2d091820 109 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
70551f47 110class wxMDIClientWindow(wxMDIClientWindowPtr):
2d091820
RD
111 def __init__(self,*_args,**_kwargs):
112 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
70551f47 113 self.thisown = 1
0220cbc1 114 self._setOORInfo(self)
aa2a5b86 115
70551f47
RD
116
117
aa2a5b86
RD
118def wxPreMDIClientWindow(*_args,**_kwargs):
119 val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
120 val.thisown = 1
17c0e08c 121 val._setOORInfo(val)
aa2a5b86 122 return val
70551f47
RD
123
124
125
126
127#-------------- FUNCTION WRAPPERS ------------------
128
129
130
131#-------------- VARIABLE WRAPPERS ------------------
132