]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/mdi.py
wxUniversal fixes:
[wxWidgets.git] / wxPython / src / msw / mdi.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9
10from fonts import *
11
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):
27 val = apply(mdic.wxMDIParentFrame_Create,(self,) + _args, _kwargs)
28 return val
29 def ActivateNext(self, *_args, **_kwargs):
30 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
31 return val
32 def ActivatePrevious(self, *_args, **_kwargs):
33 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
34 return val
35 def ArrangeIcons(self, *_args, **_kwargs):
36 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
37 return val
38 def Cascade(self, *_args, **_kwargs):
39 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
40 return val
41 def GetActiveChild(self, *_args, **_kwargs):
42 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
43 return val
44 def GetClientWindow(self, *_args, **_kwargs):
45 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
46 return val
47 def GetToolBar(self, *_args, **_kwargs):
48 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
49 return val
50 def GetWindowMenu(self, *_args, **_kwargs):
51 val = apply(mdic.wxMDIParentFrame_GetWindowMenu,(self,) + _args, _kwargs)
52 return val
53 def SetWindowMenu(self, *_args, **_kwargs):
54 val = apply(mdic.wxMDIParentFrame_SetWindowMenu,(self,) + _args, _kwargs)
55 return val
56 def SetToolBar(self, *_args, **_kwargs):
57 val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)
58 return val
59 def Tile(self, *_args, **_kwargs):
60 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
61 return val
62 def __repr__(self):
63 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
64class wxMDIParentFrame(wxMDIParentFramePtr):
65 def __init__(self,*_args,**_kwargs):
66 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
67 self.thisown = 1
68 self._setOORInfo(self)
69
70
71
72def wxPreMDIParentFrame(*_args,**_kwargs):
73 val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
74 val.thisown = 1
75 val._setOORInfo(val)
76 return val
77
78
79class wxMDIChildFramePtr(wxFramePtr):
80 def __init__(self,this):
81 self.this = this
82 self.thisown = 0
83 def Create(self, *_args, **_kwargs):
84 val = apply(mdic.wxMDIChildFrame_Create,(self,) + _args, _kwargs)
85 return val
86 def Activate(self, *_args, **_kwargs):
87 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
88 return val
89 def Maximize(self, *_args, **_kwargs):
90 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
91 return val
92 def Restore(self, *_args, **_kwargs):
93 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
94 return val
95 def __repr__(self):
96 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
97class wxMDIChildFrame(wxMDIChildFramePtr):
98 def __init__(self,*_args,**_kwargs):
99 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
100 self.thisown = 1
101 self._setOORInfo(self)
102
103
104
105def wxPreMDIChildFrame(*_args,**_kwargs):
106 val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
107 val.thisown = 1
108 val._setOORInfo(val)
109 return val
110
111
112class wxMDIClientWindowPtr(wxWindowPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
116 def Create(self, *_args, **_kwargs):
117 val = apply(mdic.wxMDIClientWindow_Create,(self,) + _args, _kwargs)
118 return val
119 def __repr__(self):
120 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
121class wxMDIClientWindow(wxMDIClientWindowPtr):
122 def __init__(self,*_args,**_kwargs):
123 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
124 self.thisown = 1
125 self._setOORInfo(self)
126
127
128
129def wxPreMDIClientWindow(*_args,**_kwargs):
130 val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
131 val.thisown = 1
132 val._setOORInfo(val)
133 return val
134
135
136
137
138#-------------- FUNCTION WRAPPERS ------------------
139
140
141
142#-------------- VARIABLE WRAPPERS ------------------
143
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