]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/mdi.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / mac / mdi.py
CommitLineData
e6056257
RD
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9
40699168
RD
10from fonts import *
11
e6056257
RD
12from clip_dnd import *
13
14from frames import *
15
16from stattool import *
17
18from controls import *
19
20from events import *
21import wx
22class wxMDIParentFramePtr(wxFramePtr):
23 def __init__(self,this):
24 self.this = this
25 self.thisown = 0
26 def Create(self, *_args, **_kwargs):
d84a9306 27 val = mdic.wxMDIParentFrame_Create(self, *_args, **_kwargs)
e6056257
RD
28 return val
29 def ActivateNext(self, *_args, **_kwargs):
d84a9306 30 val = mdic.wxMDIParentFrame_ActivateNext(self, *_args, **_kwargs)
e6056257
RD
31 return val
32 def ActivatePrevious(self, *_args, **_kwargs):
d84a9306 33 val = mdic.wxMDIParentFrame_ActivatePrevious(self, *_args, **_kwargs)
e6056257
RD
34 return val
35 def ArrangeIcons(self, *_args, **_kwargs):
d84a9306 36 val = mdic.wxMDIParentFrame_ArrangeIcons(self, *_args, **_kwargs)
e6056257
RD
37 return val
38 def Cascade(self, *_args, **_kwargs):
d84a9306 39 val = mdic.wxMDIParentFrame_Cascade(self, *_args, **_kwargs)
e6056257
RD
40 return val
41 def GetActiveChild(self, *_args, **_kwargs):
d84a9306 42 val = mdic.wxMDIParentFrame_GetActiveChild(self, *_args, **_kwargs)
e6056257
RD
43 return val
44 def GetClientWindow(self, *_args, **_kwargs):
d84a9306 45 val = mdic.wxMDIParentFrame_GetClientWindow(self, *_args, **_kwargs)
e6056257
RD
46 return val
47 def GetToolBar(self, *_args, **_kwargs):
d84a9306 48 val = mdic.wxMDIParentFrame_GetToolBar(self, *_args, **_kwargs)
e6056257
RD
49 return val
50 def Tile(self, *_args, **_kwargs):
d84a9306 51 val = mdic.wxMDIParentFrame_Tile(self, *_args, **_kwargs)
e6056257
RD
52 return val
53 def __repr__(self):
d84a9306 54 return "<%s.%s instance; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
55class wxMDIParentFrame(wxMDIParentFramePtr):
56 def __init__(self,*_args,**_kwargs):
d84a9306 57 self.this = mdic.new_wxMDIParentFrame(*_args,**_kwargs)
e6056257
RD
58 self.thisown = 1
59 self._setOORInfo(self)
60
61
62
63def wxPreMDIParentFrame(*_args,**_kwargs):
d84a9306 64 val = wxMDIParentFramePtr(mdic.new_wxPreMDIParentFrame(*_args,**_kwargs))
e6056257
RD
65 val.thisown = 1
66 val._setOORInfo(val)
67 return val
68
69
70class wxMDIChildFramePtr(wxFramePtr):
71 def __init__(self,this):
72 self.this = this
73 self.thisown = 0
74 def Create(self, *_args, **_kwargs):
d84a9306 75 val = mdic.wxMDIChildFrame_Create(self, *_args, **_kwargs)
e6056257
RD
76 return val
77 def Activate(self, *_args, **_kwargs):
d84a9306 78 val = mdic.wxMDIChildFrame_Activate(self, *_args, **_kwargs)
e6056257
RD
79 return val
80 def Maximize(self, *_args, **_kwargs):
d84a9306 81 val = mdic.wxMDIChildFrame_Maximize(self, *_args, **_kwargs)
e6056257
RD
82 return val
83 def Restore(self, *_args, **_kwargs):
d84a9306 84 val = mdic.wxMDIChildFrame_Restore(self, *_args, **_kwargs)
e6056257
RD
85 return val
86 def __repr__(self):
d84a9306 87 return "<%s.%s instance; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
88class wxMDIChildFrame(wxMDIChildFramePtr):
89 def __init__(self,*_args,**_kwargs):
d84a9306 90 self.this = mdic.new_wxMDIChildFrame(*_args,**_kwargs)
e6056257
RD
91 self.thisown = 1
92 self._setOORInfo(self)
93
94
95
96def wxPreMDIChildFrame(*_args,**_kwargs):
d84a9306 97 val = wxMDIChildFramePtr(mdic.new_wxPreMDIChildFrame(*_args,**_kwargs))
e6056257
RD
98 val.thisown = 1
99 val._setOORInfo(val)
100 return val
101
102
103class wxMDIClientWindowPtr(wxWindowPtr):
104 def __init__(self,this):
105 self.this = this
106 self.thisown = 0
107 def Create(self, *_args, **_kwargs):
d84a9306 108 val = mdic.wxMDIClientWindow_Create(self, *_args, **_kwargs)
e6056257
RD
109 return val
110 def __repr__(self):
d84a9306 111 return "<%s.%s instance; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
e6056257
RD
112class wxMDIClientWindow(wxMDIClientWindowPtr):
113 def __init__(self,*_args,**_kwargs):
d84a9306 114 self.this = mdic.new_wxMDIClientWindow(*_args,**_kwargs)
e6056257
RD
115 self.thisown = 1
116 self._setOORInfo(self)
117
118
119
120def wxPreMDIClientWindow(*_args,**_kwargs):
d84a9306 121 val = wxMDIClientWindowPtr(mdic.new_wxPreMDIClientWindow(*_args,**_kwargs))
e6056257
RD
122 val.thisown = 1
123 val._setOORInfo(val)
124 return val
125
126
127
128
129#-------------- FUNCTION WRAPPERS ------------------
130
131
132
133#-------------- VARIABLE WRAPPERS ------------------
134
c3bfa1cb
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