]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/mdi.py
fixed refresh problem after adding some items and calling Ensurevisible()
[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
b1462dfa
RD
10from clip_dnd import *
11
9c039d08
RD
12from frames import *
13
14from stattool import *
15
16from controls import *
17
18from events import *
b8b8dda7 19import wx
8ab979d7
RD
20class wxMDIParentFramePtr(wxFramePtr):
21 def __init__(self,this):
22 self.this = this
23 self.thisown = 0
1d99702e
RD
24 def ActivateNext(self, *_args, **_kwargs):
25 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
8ab979d7 26 return val
1d99702e
RD
27 def ActivatePrevious(self, *_args, **_kwargs):
28 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
8ab979d7 29 return val
1d99702e
RD
30 def ArrangeIcons(self, *_args, **_kwargs):
31 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
8ab979d7 32 return val
1d99702e
RD
33 def Cascade(self, *_args, **_kwargs):
34 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
8ab979d7 35 return val
1d99702e
RD
36 def GetActiveChild(self, *_args, **_kwargs):
37 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
8ab979d7 38 return val
1d99702e
RD
39 def GetClientWindow(self, *_args, **_kwargs):
40 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
8ab979d7 41 return val
1d99702e
RD
42 def GetToolBar(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
8ab979d7 44 return val
3ca6a5f0
BP
45 def GetWindowMenu(self, *_args, **_kwargs):
46 val = apply(mdic.wxMDIParentFrame_GetWindowMenu,(self,) + _args, _kwargs)
3ca6a5f0
BP
47 return val
48 def SetWindowMenu(self, *_args, **_kwargs):
49 val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs)
50 return val
1d99702e
RD
51 def SetToolBar(self, *_args, **_kwargs):
52 val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)
8ab979d7 53 return val
1d99702e
RD
54 def Tile(self, *_args, **_kwargs):
55 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
8ab979d7
RD
56 return val
57 def __repr__(self):
1d99702e 58 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
8ab979d7 59class wxMDIParentFrame(wxMDIParentFramePtr):
1d99702e
RD
60 def __init__(self,*_args,**_kwargs):
61 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
8ab979d7 62 self.thisown = 1
f6bcfd97 63 #wx._StdFrameCallbacks(self)
8ab979d7
RD
64
65
66
67
68class wxMDIChildFramePtr(wxFramePtr):
69 def __init__(self,this):
70 self.this = this
71 self.thisown = 0
1d99702e
RD
72 def Activate(self, *_args, **_kwargs):
73 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
8ab979d7 74 return val
1d99702e
RD
75 def Maximize(self, *_args, **_kwargs):
76 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
8ab979d7 77 return val
1d99702e
RD
78 def Restore(self, *_args, **_kwargs):
79 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
8ab979d7 80 return val
8ab979d7 81 def __repr__(self):
1d99702e 82 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
8ab979d7 83class wxMDIChildFrame(wxMDIChildFramePtr):
1d99702e
RD
84 def __init__(self,*_args,**_kwargs):
85 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
8ab979d7 86 self.thisown = 1
f6bcfd97 87 #wx._StdFrameCallbacks(self)
8ab979d7
RD
88
89
90
91
92class wxMDIClientWindowPtr(wxWindowPtr):
93 def __init__(self,this):
94 self.this = this
95 self.thisown = 0
96 def __repr__(self):
1d99702e 97 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
8ab979d7 98class wxMDIClientWindow(wxMDIClientWindowPtr):
1d99702e
RD
99 def __init__(self,*_args,**_kwargs):
100 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
8ab979d7 101 self.thisown = 1
f6bcfd97
BP
102 #wx._StdWindowCallbacks(self)
103 #wx._StdOnScrollCallbacks(self)
8ab979d7
RD
104
105
106
107
108
109
110#-------------- FUNCTION WRAPPERS ------------------
111
112
113
114#-------------- VARIABLE WRAPPERS ------------------
115