]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/mdi.py
fix text scrolling in GTK2 (patch 703988)
[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 26 def Create(self, *_args, **_kwargs):
5a2a9da2 27 val = mdic.wxMDIParentFrame_Create(self, *_args, **_kwargs)
09f3d4e6 28 return val
1d99702e 29 def ActivateNext(self, *_args, **_kwargs):
5a2a9da2 30 val = mdic.wxMDIParentFrame_ActivateNext(self, *_args, **_kwargs)
8ab979d7 31 return val
1d99702e 32 def ActivatePrevious(self, *_args, **_kwargs):
5a2a9da2 33 val = mdic.wxMDIParentFrame_ActivatePrevious(self, *_args, **_kwargs)
8ab979d7 34 return val
1d99702e 35 def ArrangeIcons(self, *_args, **_kwargs):
5a2a9da2 36 val = mdic.wxMDIParentFrame_ArrangeIcons(self, *_args, **_kwargs)
8ab979d7 37 return val
1d99702e 38 def Cascade(self, *_args, **_kwargs):
5a2a9da2 39 val = mdic.wxMDIParentFrame_Cascade(self, *_args, **_kwargs)
8ab979d7 40 return val
1d99702e 41 def GetActiveChild(self, *_args, **_kwargs):
5a2a9da2 42 val = mdic.wxMDIParentFrame_GetActiveChild(self, *_args, **_kwargs)
8ab979d7 43 return val
1d99702e 44 def GetClientWindow(self, *_args, **_kwargs):
5a2a9da2 45 val = mdic.wxMDIParentFrame_GetClientWindow(self, *_args, **_kwargs)
8ab979d7 46 return val
1d99702e 47 def GetToolBar(self, *_args, **_kwargs):
5a2a9da2 48 val = mdic.wxMDIParentFrame_GetToolBar(self, *_args, **_kwargs)
8ab979d7 49 return val
3ca6a5f0 50 def GetWindowMenu(self, *_args, **_kwargs):
5a2a9da2 51 val = mdic.wxMDIParentFrame_GetWindowMenu(self, *_args, **_kwargs)
3ca6a5f0
BP
52 return val
53 def SetWindowMenu(self, *_args, **_kwargs):
5a2a9da2 54 val = mdic.wxMDIParentFrame_SetWindowMenu(self, *_args, **_kwargs)
3ca6a5f0 55 return val
1d99702e 56 def SetToolBar(self, *_args, **_kwargs):
5a2a9da2 57 val = mdic.wxMDIParentFrame_SetToolBar(self, *_args, **_kwargs)
8ab979d7 58 return val
1d99702e 59 def Tile(self, *_args, **_kwargs):
5a2a9da2 60 val = mdic.wxMDIParentFrame_Tile(self, *_args, **_kwargs)
8ab979d7
RD
61 return val
62 def __repr__(self):
5a2a9da2 63 return "<%s.%s instance; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 64class wxMDIParentFrame(wxMDIParentFramePtr):
1d99702e 65 def __init__(self,*_args,**_kwargs):
5a2a9da2 66 self.this = mdic.new_wxMDIParentFrame(*_args,**_kwargs)
8ab979d7 67 self.thisown = 1
0122b7e3 68 self._setOORInfo(self)
8ab979d7
RD
69
70
71
09f3d4e6 72def wxPreMDIParentFrame(*_args,**_kwargs):
5a2a9da2 73 val = wxMDIParentFramePtr(mdic.new_wxPreMDIParentFrame(*_args,**_kwargs))
09f3d4e6 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 83 def Create(self, *_args, **_kwargs):
5a2a9da2 84 val = mdic.wxMDIChildFrame_Create(self, *_args, **_kwargs)
09f3d4e6 85 return val
1d99702e 86 def Activate(self, *_args, **_kwargs):
5a2a9da2 87 val = mdic.wxMDIChildFrame_Activate(self, *_args, **_kwargs)
8ab979d7 88 return val
1d99702e 89 def Maximize(self, *_args, **_kwargs):
5a2a9da2 90 val = mdic.wxMDIChildFrame_Maximize(self, *_args, **_kwargs)
8ab979d7 91 return val
1d99702e 92 def Restore(self, *_args, **_kwargs):
5a2a9da2 93 val = mdic.wxMDIChildFrame_Restore(self, *_args, **_kwargs)
8ab979d7 94 return val
8ab979d7 95 def __repr__(self):
5a2a9da2 96 return "<%s.%s instance; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 97class wxMDIChildFrame(wxMDIChildFramePtr):
1d99702e 98 def __init__(self,*_args,**_kwargs):
5a2a9da2 99 self.this = mdic.new_wxMDIChildFrame(*_args,**_kwargs)
8ab979d7 100 self.thisown = 1
0122b7e3 101 self._setOORInfo(self)
8ab979d7
RD
102
103
104
09f3d4e6 105def wxPreMDIChildFrame(*_args,**_kwargs):
5a2a9da2 106 val = wxMDIChildFramePtr(mdic.new_wxPreMDIChildFrame(*_args,**_kwargs))
09f3d4e6 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 116 def Create(self, *_args, **_kwargs):
5a2a9da2 117 val = mdic.wxMDIClientWindow_Create(self, *_args, **_kwargs)
09f3d4e6 118 return val
8ab979d7 119 def __repr__(self):
5a2a9da2 120 return "<%s.%s instance; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 121class wxMDIClientWindow(wxMDIClientWindowPtr):
1d99702e 122 def __init__(self,*_args,**_kwargs):
5a2a9da2 123 self.this = mdic.new_wxMDIClientWindow(*_args,**_kwargs)
8ab979d7 124 self.thisown = 1
0122b7e3 125 self._setOORInfo(self)
09f3d4e6 126
8ab979d7
RD
127
128
09f3d4e6 129def wxPreMDIClientWindow(*_args,**_kwargs):
5a2a9da2 130 val = wxMDIClientWindowPtr(mdic.new_wxPreMDIClientWindow(*_args,**_kwargs))
09f3d4e6 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