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