]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/mdi.py
Updated note about wxSTC using wxPopupWindow
[wxWidgets.git] / wxPython / src / msw / mdi.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9c039d08 9
68bc8549
RD
10from fonts import *
11
b1462dfa
RD
12from clip_dnd import *
13
9c039d08
RD
14from frames import *
15
16from stattool import *
17
18from controls import *
19
20from events import *
b8b8dda7 21import wx
8ab979d7
RD
22class wxMDIParentFramePtr(wxFramePtr):
23 def __init__(self,this):
24 self.this = this
25 self.thisown = 0
09f3d4e6
RD
26 def Create(self, *_args, **_kwargs):
27 val = apply(mdic.wxMDIParentFrame_Create,(self,) + _args, _kwargs)
28 return val
1d99702e
RD
29 def ActivateNext(self, *_args, **_kwargs):
30 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
8ab979d7 31 return val
1d99702e
RD
32 def ActivatePrevious(self, *_args, **_kwargs):
33 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
8ab979d7 34 return val
1d99702e
RD
35 def ArrangeIcons(self, *_args, **_kwargs):
36 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
8ab979d7 37 return val
1d99702e
RD
38 def Cascade(self, *_args, **_kwargs):
39 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
8ab979d7 40 return val
1d99702e
RD
41 def GetActiveChild(self, *_args, **_kwargs):
42 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
8ab979d7 43 return val
1d99702e
RD
44 def GetClientWindow(self, *_args, **_kwargs):
45 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
8ab979d7 46 return val
1d99702e
RD
47 def GetToolBar(self, *_args, **_kwargs):
48 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
8ab979d7 49 return val
3ca6a5f0
BP
50 def GetWindowMenu(self, *_args, **_kwargs):
51 val = apply(mdic.wxMDIParentFrame_GetWindowMenu,(self,) + _args, _kwargs)
3ca6a5f0
BP
52 return val
53 def SetWindowMenu(self, *_args, **_kwargs):
54 val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs)
55 return val
1d99702e
RD
56 def SetToolBar(self, *_args, **_kwargs):
57 val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)
8ab979d7 58 return val
1d99702e
RD
59 def Tile(self, *_args, **_kwargs):
60 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
8ab979d7
RD
61 return val
62 def __repr__(self):
1d99702e 63 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
8ab979d7 64class wxMDIParentFrame(wxMDIParentFramePtr):
1d99702e
RD
65 def __init__(self,*_args,**_kwargs):
66 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
8ab979d7 67 self.thisown = 1
0122b7e3 68 self._setOORInfo(self)
8ab979d7
RD
69
70
71
09f3d4e6
RD
72def wxPreMDIParentFrame(*_args,**_kwargs):
73 val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
74 val.thisown = 1
17c0e08c 75 val._setOORInfo(val)
09f3d4e6
RD
76 return val
77
8ab979d7
RD
78
79class wxMDIChildFramePtr(wxFramePtr):
80 def __init__(self,this):
81 self.this = this
82 self.thisown = 0
09f3d4e6
RD
83 def Create(self, *_args, **_kwargs):
84 val = apply(mdic.wxMDIChildFrame_Create,(self,) + _args, _kwargs)
85 return val
1d99702e
RD
86 def Activate(self, *_args, **_kwargs):
87 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
8ab979d7 88 return val
1d99702e
RD
89 def Maximize(self, *_args, **_kwargs):
90 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
8ab979d7 91 return val
1d99702e
RD
92 def Restore(self, *_args, **_kwargs):
93 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
8ab979d7 94 return val
8ab979d7 95 def __repr__(self):
1d99702e 96 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
8ab979d7 97class wxMDIChildFrame(wxMDIChildFramePtr):
1d99702e
RD
98 def __init__(self,*_args,**_kwargs):
99 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
8ab979d7 100 self.thisown = 1
0122b7e3 101 self._setOORInfo(self)
8ab979d7
RD
102
103
104
09f3d4e6
RD
105def wxPreMDIChildFrame(*_args,**_kwargs):
106 val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
107 val.thisown = 1
17c0e08c 108 val._setOORInfo(val)
09f3d4e6
RD
109 return val
110
8ab979d7
RD
111
112class wxMDIClientWindowPtr(wxWindowPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
09f3d4e6
RD
116 def Create(self, *_args, **_kwargs):
117 val = apply(mdic.wxMDIClientWindow_Create,(self,) + _args, _kwargs)
118 return val
8ab979d7 119 def __repr__(self):
1d99702e 120 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
8ab979d7 121class wxMDIClientWindow(wxMDIClientWindowPtr):
1d99702e
RD
122 def __init__(self,*_args,**_kwargs):
123 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
8ab979d7 124 self.thisown = 1
0122b7e3 125 self._setOORInfo(self)
09f3d4e6 126
8ab979d7
RD
127
128
09f3d4e6
RD
129def wxPreMDIClientWindow(*_args,**_kwargs):
130 val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
131 val.thisown = 1
17c0e08c 132 val._setOORInfo(val)
09f3d4e6 133 return val
8ab979d7
RD
134
135
136
137
138#-------------- FUNCTION WRAPPERS ------------------
139
140
141
142#-------------- VARIABLE WRAPPERS ------------------
143
26e335b8
RD
144IDM_WINDOWTILE = mdic.IDM_WINDOWTILE
145IDM_WINDOWTILEHOR = mdic.IDM_WINDOWTILEHOR
146IDM_WINDOWCASCADE = mdic.IDM_WINDOWCASCADE
147IDM_WINDOWICONS = mdic.IDM_WINDOWICONS
148IDM_WINDOWNEXT = mdic.IDM_WINDOWNEXT
149IDM_WINDOWTILEVERT = mdic.IDM_WINDOWTILEVERT
150wxFIRST_MDI_CHILD = mdic.wxFIRST_MDI_CHILD
151wxLAST_MDI_CHILD = mdic.wxLAST_MDI_CHILD