]>
Commit | Line | Data |
---|---|---|
e6056257 RD |
1 | # This file was created automatically by SWIG. |
2 | import windows2c | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
40699168 RD |
8 | from fonts import * |
9 | ||
e6056257 RD |
10 | from windows import * |
11 | ||
12 | from clip_dnd import * | |
13 | ||
14 | from controls import * | |
15 | ||
16 | from events import * | |
17 | import wx | |
e6056257 | 18 | |
116d6bea RD |
19 | # wxNotebook events |
20 | def EVT_NOTEBOOK_PAGE_CHANGED(win, id, func): | |
21 | win.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, func) | |
22 | ||
23 | def EVT_NOTEBOOK_PAGE_CHANGING(win, id, func): | |
24 | win.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, func) | |
e6056257 RD |
25 | |
26 | ||
116d6bea RD |
27 | #wxListbook events |
28 | def EVT_LISTBOOK_PAGE_CHANGED(win, id, func): | |
29 | win.Connect(id, -1, wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, func) | |
e6056257 | 30 | |
116d6bea RD |
31 | def EVT_LISTBOOK_PAGE_CHANGING(win, id, func): |
32 | win.Connect(id, -1, wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, func) | |
33 | ||
34 | class wxBookCtrlPtr(wxControlPtr): | |
e6056257 RD |
35 | def __init__(self,this): |
36 | self.this = this | |
37 | self.thisown = 0 | |
e6056257 | 38 | def GetPageCount(self, *_args, **_kwargs): |
116d6bea | 39 | val = windows2c.wxBookCtrl_GetPageCount(self, *_args, **_kwargs) |
e6056257 | 40 | return val |
d84a9306 | 41 | def GetPage(self, *_args, **_kwargs): |
116d6bea | 42 | val = windows2c.wxBookCtrl_GetPage(self, *_args, **_kwargs) |
e6056257 RD |
43 | return val |
44 | def GetSelection(self, *_args, **_kwargs): | |
116d6bea | 45 | val = windows2c.wxBookCtrl_GetSelection(self, *_args, **_kwargs) |
e6056257 RD |
46 | return val |
47 | def SetPageText(self, *_args, **_kwargs): | |
116d6bea | 48 | val = windows2c.wxBookCtrl_SetPageText(self, *_args, **_kwargs) |
e6056257 RD |
49 | return val |
50 | def GetPageText(self, *_args, **_kwargs): | |
116d6bea | 51 | val = windows2c.wxBookCtrl_GetPageText(self, *_args, **_kwargs) |
e6056257 RD |
52 | return val |
53 | def SetImageList(self, *_args, **_kwargs): | |
116d6bea | 54 | val = windows2c.wxBookCtrl_SetImageList(self, *_args, **_kwargs) |
e6056257 RD |
55 | return val |
56 | def AssignImageList(self, *_args, **_kwargs): | |
116d6bea | 57 | val = windows2c.wxBookCtrl_AssignImageList(self, *_args, **_kwargs) |
e6056257 RD |
58 | _args[0].thisown = 0 |
59 | return val | |
60 | def GetImageList(self, *_args, **_kwargs): | |
116d6bea | 61 | val = windows2c.wxBookCtrl_GetImageList(self, *_args, **_kwargs) |
e6056257 RD |
62 | return val |
63 | def GetPageImage(self, *_args, **_kwargs): | |
116d6bea | 64 | val = windows2c.wxBookCtrl_GetPageImage(self, *_args, **_kwargs) |
e6056257 RD |
65 | return val |
66 | def SetPageImage(self, *_args, **_kwargs): | |
116d6bea | 67 | val = windows2c.wxBookCtrl_SetPageImage(self, *_args, **_kwargs) |
e6056257 RD |
68 | return val |
69 | def SetPageSize(self, *_args, **_kwargs): | |
116d6bea | 70 | val = windows2c.wxBookCtrl_SetPageSize(self, *_args, **_kwargs) |
d84a9306 RD |
71 | return val |
72 | def CalcSizeFromPage(self, *_args, **_kwargs): | |
116d6bea | 73 | val = windows2c.wxBookCtrl_CalcSizeFromPage(self, *_args, **_kwargs) |
d84a9306 | 74 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
e6056257 RD |
75 | return val |
76 | def DeletePage(self, *_args, **_kwargs): | |
116d6bea | 77 | val = windows2c.wxBookCtrl_DeletePage(self, *_args, **_kwargs) |
e6056257 RD |
78 | return val |
79 | def RemovePage(self, *_args, **_kwargs): | |
116d6bea | 80 | val = windows2c.wxBookCtrl_RemovePage(self, *_args, **_kwargs) |
e6056257 RD |
81 | return val |
82 | def DeleteAllPages(self, *_args, **_kwargs): | |
116d6bea | 83 | val = windows2c.wxBookCtrl_DeleteAllPages(self, *_args, **_kwargs) |
e6056257 RD |
84 | return val |
85 | def AddPage(self, *_args, **_kwargs): | |
116d6bea | 86 | val = windows2c.wxBookCtrl_AddPage(self, *_args, **_kwargs) |
e6056257 RD |
87 | return val |
88 | def InsertPage(self, *_args, **_kwargs): | |
116d6bea RD |
89 | val = windows2c.wxBookCtrl_InsertPage(self, *_args, **_kwargs) |
90 | return val | |
91 | def SetSelection(self, *_args, **_kwargs): | |
92 | val = windows2c.wxBookCtrl_SetSelection(self, *_args, **_kwargs) | |
93 | return val | |
94 | def AdvanceSelection(self, *_args, **_kwargs): | |
95 | val = windows2c.wxBookCtrl_AdvanceSelection(self, *_args, **_kwargs) | |
96 | return val | |
97 | def __repr__(self): | |
98 | return "<%s.%s instance; proxy of C++ wxBookCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
99 | class wxBookCtrl(wxBookCtrlPtr): | |
100 | def __init__(self,this): | |
101 | self.this = this | |
102 | ||
103 | ||
104 | ||
105 | ||
106 | class wxBookCtrlEventPtr(wxNotifyEventPtr): | |
107 | def __init__(self,this): | |
108 | self.this = this | |
109 | self.thisown = 0 | |
110 | def GetSelection(self, *_args, **_kwargs): | |
111 | val = windows2c.wxBookCtrlEvent_GetSelection(self, *_args, **_kwargs) | |
e6056257 | 112 | return val |
d84a9306 | 113 | def SetSelection(self, *_args, **_kwargs): |
116d6bea RD |
114 | val = windows2c.wxBookCtrlEvent_SetSelection(self, *_args, **_kwargs) |
115 | return val | |
116 | def GetOldSelection(self, *_args, **_kwargs): | |
117 | val = windows2c.wxBookCtrlEvent_GetOldSelection(self, *_args, **_kwargs) | |
118 | return val | |
119 | def SetOldSelection(self, *_args, **_kwargs): | |
120 | val = windows2c.wxBookCtrlEvent_SetOldSelection(self, *_args, **_kwargs) | |
121 | return val | |
122 | def __repr__(self): | |
123 | return "<%s.%s instance; proxy of C++ wxBookCtrlEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
124 | class wxBookCtrlEvent(wxBookCtrlEventPtr): | |
125 | def __init__(self,*_args,**_kwargs): | |
126 | self.this = windows2c.new_wxBookCtrlEvent(*_args,**_kwargs) | |
127 | self.thisown = 1 | |
128 | ||
129 | ||
130 | ||
131 | ||
132 | class wxNotebookPtr(wxBookCtrlPtr): | |
133 | def __init__(self,this): | |
134 | self.this = this | |
135 | self.thisown = 0 | |
136 | def Create(self, *_args, **_kwargs): | |
137 | val = windows2c.wxNotebook_Create(self, *_args, **_kwargs) | |
138 | return val | |
139 | def GetRowCount(self, *_args, **_kwargs): | |
140 | val = windows2c.wxNotebook_GetRowCount(self, *_args, **_kwargs) | |
141 | return val | |
142 | def SetPadding(self, *_args, **_kwargs): | |
143 | val = windows2c.wxNotebook_SetPadding(self, *_args, **_kwargs) | |
144 | return val | |
145 | def SetTabSize(self, *_args, **_kwargs): | |
146 | val = windows2c.wxNotebook_SetTabSize(self, *_args, **_kwargs) | |
e6056257 | 147 | return val |
d84a9306 RD |
148 | def HitTest(self, *_args, **_kwargs): |
149 | val = windows2c.wxNotebook_HitTest(self, *_args, **_kwargs) | |
150 | return val | |
116d6bea RD |
151 | def CalcSizeFromPage(self, *_args, **_kwargs): |
152 | val = windows2c.wxNotebook_CalcSizeFromPage(self, *_args, **_kwargs) | |
153 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
e6056257 RD |
154 | return val |
155 | def __repr__(self): | |
d84a9306 | 156 | return "<%s.%s instance; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
157 | class wxNotebook(wxNotebookPtr): |
158 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 159 | self.this = windows2c.new_wxNotebook(*_args,**_kwargs) |
e6056257 RD |
160 | self.thisown = 1 |
161 | self._setOORInfo(self) | |
162 | ||
163 | ||
164 | ||
165 | def wxPreNotebook(*_args,**_kwargs): | |
d84a9306 | 166 | val = wxNotebookPtr(windows2c.new_wxPreNotebook(*_args,**_kwargs)) |
e6056257 RD |
167 | val.thisown = 1 |
168 | val._setOORInfo(val) | |
169 | return val | |
170 | ||
171 | ||
116d6bea RD |
172 | class wxNotebookEventPtr(wxNotifyEventPtr): |
173 | def __init__(self,this): | |
174 | self.this = this | |
175 | self.thisown = 0 | |
176 | def GetSelection(self, *_args, **_kwargs): | |
177 | val = windows2c.wxNotebookEvent_GetSelection(self, *_args, **_kwargs) | |
178 | return val | |
179 | def GetOldSelection(self, *_args, **_kwargs): | |
180 | val = windows2c.wxNotebookEvent_GetOldSelection(self, *_args, **_kwargs) | |
181 | return val | |
182 | def SetOldSelection(self, *_args, **_kwargs): | |
183 | val = windows2c.wxNotebookEvent_SetOldSelection(self, *_args, **_kwargs) | |
184 | return val | |
185 | def SetSelection(self, *_args, **_kwargs): | |
186 | val = windows2c.wxNotebookEvent_SetSelection(self, *_args, **_kwargs) | |
187 | return val | |
188 | def __repr__(self): | |
189 | return "<%s.%s instance; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
190 | class wxNotebookEvent(wxNotebookEventPtr): | |
191 | def __init__(self,*_args,**_kwargs): | |
192 | self.this = windows2c.new_wxNotebookEvent(*_args,**_kwargs) | |
193 | self.thisown = 1 | |
194 | ||
195 | ||
196 | ||
197 | ||
198 | class wxListbookPtr(wxBookCtrlPtr): | |
199 | def __init__(self,this): | |
200 | self.this = this | |
201 | self.thisown = 0 | |
202 | def Create(self, *_args, **_kwargs): | |
203 | val = windows2c.wxListbook_Create(self, *_args, **_kwargs) | |
204 | return val | |
205 | def IsVertical(self, *_args, **_kwargs): | |
206 | val = windows2c.wxListbook_IsVertical(self, *_args, **_kwargs) | |
207 | return val | |
208 | def __repr__(self): | |
209 | return "<%s.%s instance; proxy of C++ wxListbook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
210 | class wxListbook(wxListbookPtr): | |
211 | def __init__(self,*_args,**_kwargs): | |
212 | self.this = windows2c.new_wxListbook(*_args,**_kwargs) | |
213 | self.thisown = 1 | |
214 | self._setOORInfo(self) | |
215 | ||
216 | ||
217 | ||
218 | def wxPreListbook(*_args,**_kwargs): | |
219 | val = wxListbookPtr(windows2c.new_wxPreListbook(*_args,**_kwargs)) | |
220 | val.thisown = 1 | |
221 | val._setOORInfo(val) | |
222 | return val | |
223 | ||
224 | ||
225 | class wxListbookEventPtr(wxBookCtrlEventPtr): | |
226 | def __init__(self,this): | |
227 | self.this = this | |
228 | self.thisown = 0 | |
229 | def __repr__(self): | |
230 | return "<%s.%s instance; proxy of C++ wxListbookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
231 | class wxListbookEvent(wxListbookEventPtr): | |
232 | def __init__(self,*_args,**_kwargs): | |
233 | self.this = windows2c.new_wxListbookEvent(*_args,**_kwargs) | |
234 | self.thisown = 1 | |
235 | ||
236 | ||
237 | ||
238 | ||
70b76c7c | 239 | class wxSplitterEventPtr(wxNotifyEventPtr): |
e6056257 RD |
240 | def __init__(self,this): |
241 | self.this = this | |
242 | self.thisown = 0 | |
243 | def GetSashPosition(self, *_args, **_kwargs): | |
d84a9306 | 244 | val = windows2c.wxSplitterEvent_GetSashPosition(self, *_args, **_kwargs) |
e6056257 RD |
245 | return val |
246 | def GetX(self, *_args, **_kwargs): | |
d84a9306 | 247 | val = windows2c.wxSplitterEvent_GetX(self, *_args, **_kwargs) |
e6056257 RD |
248 | return val |
249 | def GetY(self, *_args, **_kwargs): | |
d84a9306 | 250 | val = windows2c.wxSplitterEvent_GetY(self, *_args, **_kwargs) |
e6056257 RD |
251 | return val |
252 | def GetWindowBeingRemoved(self, *_args, **_kwargs): | |
d84a9306 | 253 | val = windows2c.wxSplitterEvent_GetWindowBeingRemoved(self, *_args, **_kwargs) |
e6056257 RD |
254 | return val |
255 | def SetSashPosition(self, *_args, **_kwargs): | |
d84a9306 | 256 | val = windows2c.wxSplitterEvent_SetSashPosition(self, *_args, **_kwargs) |
e6056257 RD |
257 | return val |
258 | def __repr__(self): | |
d84a9306 | 259 | return "<%s.%s instance; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
260 | class wxSplitterEvent(wxSplitterEventPtr): |
261 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 262 | self.this = windows2c.new_wxSplitterEvent(*_args,**_kwargs) |
e6056257 RD |
263 | self.thisown = 1 |
264 | ||
265 | ||
266 | ||
267 | ||
268 | class wxSplitterWindowPtr(wxWindowPtr): | |
269 | def __init__(self,this): | |
270 | self.this = this | |
271 | self.thisown = 0 | |
272 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 273 | val = windows2c.wxSplitterWindow_Create(self, *_args, **_kwargs) |
e6056257 RD |
274 | return val |
275 | def GetWindow1(self, *_args, **_kwargs): | |
d84a9306 | 276 | val = windows2c.wxSplitterWindow_GetWindow1(self, *_args, **_kwargs) |
e6056257 RD |
277 | return val |
278 | def GetWindow2(self, *_args, **_kwargs): | |
d84a9306 | 279 | val = windows2c.wxSplitterWindow_GetWindow2(self, *_args, **_kwargs) |
e6056257 RD |
280 | return val |
281 | def SetSplitMode(self, *_args, **_kwargs): | |
d84a9306 | 282 | val = windows2c.wxSplitterWindow_SetSplitMode(self, *_args, **_kwargs) |
e6056257 RD |
283 | return val |
284 | def GetSplitMode(self, *_args, **_kwargs): | |
d84a9306 | 285 | val = windows2c.wxSplitterWindow_GetSplitMode(self, *_args, **_kwargs) |
e6056257 RD |
286 | return val |
287 | def Initialize(self, *_args, **_kwargs): | |
d84a9306 | 288 | val = windows2c.wxSplitterWindow_Initialize(self, *_args, **_kwargs) |
e6056257 RD |
289 | return val |
290 | def SplitVertically(self, *_args, **_kwargs): | |
d84a9306 | 291 | val = windows2c.wxSplitterWindow_SplitVertically(self, *_args, **_kwargs) |
e6056257 RD |
292 | return val |
293 | def SplitHorizontally(self, *_args, **_kwargs): | |
d84a9306 | 294 | val = windows2c.wxSplitterWindow_SplitHorizontally(self, *_args, **_kwargs) |
e6056257 RD |
295 | return val |
296 | def Unsplit(self, *_args, **_kwargs): | |
d84a9306 | 297 | val = windows2c.wxSplitterWindow_Unsplit(self, *_args, **_kwargs) |
e6056257 RD |
298 | return val |
299 | def ReplaceWindow(self, *_args, **_kwargs): | |
d84a9306 | 300 | val = windows2c.wxSplitterWindow_ReplaceWindow(self, *_args, **_kwargs) |
e6056257 RD |
301 | return val |
302 | def IsSplit(self, *_args, **_kwargs): | |
d84a9306 | 303 | val = windows2c.wxSplitterWindow_IsSplit(self, *_args, **_kwargs) |
e6056257 RD |
304 | return val |
305 | def SetSashSize(self, *_args, **_kwargs): | |
d84a9306 | 306 | val = windows2c.wxSplitterWindow_SetSashSize(self, *_args, **_kwargs) |
e6056257 RD |
307 | return val |
308 | def SetBorderSize(self, *_args, **_kwargs): | |
d84a9306 | 309 | val = windows2c.wxSplitterWindow_SetBorderSize(self, *_args, **_kwargs) |
e6056257 RD |
310 | return val |
311 | def GetSashSize(self, *_args, **_kwargs): | |
d84a9306 | 312 | val = windows2c.wxSplitterWindow_GetSashSize(self, *_args, **_kwargs) |
e6056257 RD |
313 | return val |
314 | def GetBorderSize(self, *_args, **_kwargs): | |
d84a9306 | 315 | val = windows2c.wxSplitterWindow_GetBorderSize(self, *_args, **_kwargs) |
e6056257 RD |
316 | return val |
317 | def SetSashPosition(self, *_args, **_kwargs): | |
d84a9306 | 318 | val = windows2c.wxSplitterWindow_SetSashPosition(self, *_args, **_kwargs) |
e6056257 RD |
319 | return val |
320 | def GetSashPosition(self, *_args, **_kwargs): | |
d84a9306 | 321 | val = windows2c.wxSplitterWindow_GetSashPosition(self, *_args, **_kwargs) |
e6056257 RD |
322 | return val |
323 | def SetMinimumPaneSize(self, *_args, **_kwargs): | |
d84a9306 | 324 | val = windows2c.wxSplitterWindow_SetMinimumPaneSize(self, *_args, **_kwargs) |
e6056257 RD |
325 | return val |
326 | def GetMinimumPaneSize(self, *_args, **_kwargs): | |
d84a9306 | 327 | val = windows2c.wxSplitterWindow_GetMinimumPaneSize(self, *_args, **_kwargs) |
e6056257 | 328 | return val |
eb28fd47 | 329 | def SizeWindows(self, *_args, **_kwargs): |
d84a9306 | 330 | val = windows2c.wxSplitterWindow_SizeWindows(self, *_args, **_kwargs) |
eb28fd47 RD |
331 | return val |
332 | def SetNeedUpdating(self, *_args, **_kwargs): | |
d84a9306 | 333 | val = windows2c.wxSplitterWindow_SetNeedUpdating(self, *_args, **_kwargs) |
eb28fd47 RD |
334 | return val |
335 | def GetNeedUpdating(self, *_args, **_kwargs): | |
d84a9306 | 336 | val = windows2c.wxSplitterWindow_GetNeedUpdating(self, *_args, **_kwargs) |
eb28fd47 | 337 | return val |
e6056257 | 338 | def __repr__(self): |
d84a9306 | 339 | return "<%s.%s instance; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
340 | class wxSplitterWindow(wxSplitterWindowPtr): |
341 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 342 | self.this = windows2c.new_wxSplitterWindow(*_args,**_kwargs) |
e6056257 RD |
343 | self.thisown = 1 |
344 | self._setOORInfo(self) | |
345 | ||
346 | ||
347 | ||
348 | def wxPreSplitterWindow(*_args,**_kwargs): | |
d84a9306 | 349 | val = wxSplitterWindowPtr(windows2c.new_wxPreSplitterWindow(*_args,**_kwargs)) |
e6056257 RD |
350 | val.thisown = 1 |
351 | val._setOORInfo(val) | |
352 | return val | |
353 | ||
354 | ||
6ca312ba RD |
355 | class wxPyWindowPtr(wxWindowPtr): |
356 | def __init__(self,this): | |
357 | self.this = this | |
358 | self.thisown = 0 | |
359 | def _setCallbackInfo(self, *_args, **_kwargs): | |
d84a9306 | 360 | val = windows2c.wxPyWindow__setCallbackInfo(self, *_args, **_kwargs) |
6ca312ba RD |
361 | return val |
362 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
d84a9306 | 363 | val = windows2c.wxPyWindow_base_DoMoveWindow(self, *_args, **_kwargs) |
6ca312ba RD |
364 | return val |
365 | def base_DoSetSize(self, *_args, **_kwargs): | |
d84a9306 | 366 | val = windows2c.wxPyWindow_base_DoSetSize(self, *_args, **_kwargs) |
6ca312ba RD |
367 | return val |
368 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
d84a9306 | 369 | val = windows2c.wxPyWindow_base_DoSetClientSize(self, *_args, **_kwargs) |
6ca312ba RD |
370 | return val |
371 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
d84a9306 | 372 | val = windows2c.wxPyWindow_base_DoSetVirtualSize(self, *_args, **_kwargs) |
6ca312ba RD |
373 | return val |
374 | def base_DoGetSize(self, *_args, **_kwargs): | |
d84a9306 | 375 | val = windows2c.wxPyWindow_base_DoGetSize(self, *_args, **_kwargs) |
6ca312ba RD |
376 | return val |
377 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
d84a9306 | 378 | val = windows2c.wxPyWindow_base_DoGetClientSize(self, *_args, **_kwargs) |
6ca312ba RD |
379 | return val |
380 | def base_DoGetPosition(self, *_args, **_kwargs): | |
d84a9306 | 381 | val = windows2c.wxPyWindow_base_DoGetPosition(self, *_args, **_kwargs) |
6ca312ba RD |
382 | return val |
383 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
d84a9306 | 384 | val = windows2c.wxPyWindow_base_DoGetVirtualSize(self, *_args, **_kwargs) |
6ca312ba RD |
385 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
386 | return val | |
387 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
d84a9306 | 388 | val = windows2c.wxPyWindow_base_DoGetBestSize(self, *_args, **_kwargs) |
6ca312ba RD |
389 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
390 | return val | |
391 | def base_InitDialog(self, *_args, **_kwargs): | |
d84a9306 | 392 | val = windows2c.wxPyWindow_base_InitDialog(self, *_args, **_kwargs) |
6ca312ba RD |
393 | return val |
394 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
d84a9306 | 395 | val = windows2c.wxPyWindow_base_TransferDataToWindow(self, *_args, **_kwargs) |
6ca312ba RD |
396 | return val |
397 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
d84a9306 | 398 | val = windows2c.wxPyWindow_base_TransferDataFromWindow(self, *_args, **_kwargs) |
6ca312ba RD |
399 | return val |
400 | def base_Validate(self, *_args, **_kwargs): | |
d84a9306 | 401 | val = windows2c.wxPyWindow_base_Validate(self, *_args, **_kwargs) |
6ca312ba RD |
402 | return val |
403 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
d84a9306 | 404 | val = windows2c.wxPyWindow_base_AcceptsFocus(self, *_args, **_kwargs) |
6ca312ba RD |
405 | return val |
406 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
d84a9306 | 407 | val = windows2c.wxPyWindow_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs) |
6ca312ba RD |
408 | return val |
409 | def base_GetMaxSize(self, *_args, **_kwargs): | |
d84a9306 | 410 | val = windows2c.wxPyWindow_base_GetMaxSize(self, *_args, **_kwargs) |
6ca312ba RD |
411 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
412 | return val | |
3e1f6ec4 | 413 | def base_AddChild(self, *_args, **_kwargs): |
d84a9306 | 414 | val = windows2c.wxPyWindow_base_AddChild(self, *_args, **_kwargs) |
3e1f6ec4 RD |
415 | return val |
416 | def base_RemoveChild(self, *_args, **_kwargs): | |
d84a9306 | 417 | val = windows2c.wxPyWindow_base_RemoveChild(self, *_args, **_kwargs) |
3e1f6ec4 | 418 | return val |
6ca312ba | 419 | def __repr__(self): |
d84a9306 | 420 | return "<%s.%s instance; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
6ca312ba RD |
421 | class wxPyWindow(wxPyWindowPtr): |
422 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 423 | self.this = windows2c.new_wxPyWindow(*_args,**_kwargs) |
6ca312ba RD |
424 | self.thisown = 1 |
425 | self._setCallbackInfo(self, wxPyWindow) | |
426 | self._setOORInfo(self) | |
427 | ||
428 | ||
429 | ||
430 | ||
431 | class wxPyControlPtr(wxControlPtr): | |
432 | def __init__(self,this): | |
433 | self.this = this | |
434 | self.thisown = 0 | |
435 | def _setCallbackInfo(self, *_args, **_kwargs): | |
d84a9306 | 436 | val = windows2c.wxPyControl__setCallbackInfo(self, *_args, **_kwargs) |
6ca312ba RD |
437 | return val |
438 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
d84a9306 | 439 | val = windows2c.wxPyControl_base_DoMoveWindow(self, *_args, **_kwargs) |
6ca312ba RD |
440 | return val |
441 | def base_DoSetSize(self, *_args, **_kwargs): | |
d84a9306 | 442 | val = windows2c.wxPyControl_base_DoSetSize(self, *_args, **_kwargs) |
6ca312ba RD |
443 | return val |
444 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
d84a9306 | 445 | val = windows2c.wxPyControl_base_DoSetClientSize(self, *_args, **_kwargs) |
6ca312ba RD |
446 | return val |
447 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
d84a9306 | 448 | val = windows2c.wxPyControl_base_DoSetVirtualSize(self, *_args, **_kwargs) |
6ca312ba RD |
449 | return val |
450 | def base_DoGetSize(self, *_args, **_kwargs): | |
d84a9306 | 451 | val = windows2c.wxPyControl_base_DoGetSize(self, *_args, **_kwargs) |
6ca312ba RD |
452 | return val |
453 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
d84a9306 | 454 | val = windows2c.wxPyControl_base_DoGetClientSize(self, *_args, **_kwargs) |
6ca312ba RD |
455 | return val |
456 | def base_DoGetPosition(self, *_args, **_kwargs): | |
d84a9306 | 457 | val = windows2c.wxPyControl_base_DoGetPosition(self, *_args, **_kwargs) |
6ca312ba RD |
458 | return val |
459 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
d84a9306 | 460 | val = windows2c.wxPyControl_base_DoGetVirtualSize(self, *_args, **_kwargs) |
6ca312ba RD |
461 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
462 | return val | |
463 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
d84a9306 | 464 | val = windows2c.wxPyControl_base_DoGetBestSize(self, *_args, **_kwargs) |
6ca312ba RD |
465 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
466 | return val | |
467 | def base_InitDialog(self, *_args, **_kwargs): | |
d84a9306 | 468 | val = windows2c.wxPyControl_base_InitDialog(self, *_args, **_kwargs) |
6ca312ba RD |
469 | return val |
470 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
d84a9306 | 471 | val = windows2c.wxPyControl_base_TransferDataToWindow(self, *_args, **_kwargs) |
6ca312ba RD |
472 | return val |
473 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
d84a9306 | 474 | val = windows2c.wxPyControl_base_TransferDataFromWindow(self, *_args, **_kwargs) |
6ca312ba RD |
475 | return val |
476 | def base_Validate(self, *_args, **_kwargs): | |
d84a9306 | 477 | val = windows2c.wxPyControl_base_Validate(self, *_args, **_kwargs) |
6ca312ba RD |
478 | return val |
479 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
d84a9306 | 480 | val = windows2c.wxPyControl_base_AcceptsFocus(self, *_args, **_kwargs) |
6ca312ba RD |
481 | return val |
482 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
d84a9306 | 483 | val = windows2c.wxPyControl_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs) |
6ca312ba RD |
484 | return val |
485 | def base_GetMaxSize(self, *_args, **_kwargs): | |
d84a9306 | 486 | val = windows2c.wxPyControl_base_GetMaxSize(self, *_args, **_kwargs) |
6ca312ba RD |
487 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
488 | return val | |
3e1f6ec4 | 489 | def base_AddChild(self, *_args, **_kwargs): |
d84a9306 | 490 | val = windows2c.wxPyControl_base_AddChild(self, *_args, **_kwargs) |
3e1f6ec4 RD |
491 | return val |
492 | def base_RemoveChild(self, *_args, **_kwargs): | |
d84a9306 | 493 | val = windows2c.wxPyControl_base_RemoveChild(self, *_args, **_kwargs) |
3e1f6ec4 | 494 | return val |
6ca312ba | 495 | def __repr__(self): |
d84a9306 | 496 | return "<%s.%s instance; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
6ca312ba RD |
497 | class wxPyControl(wxPyControlPtr): |
498 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 499 | self.this = windows2c.new_wxPyControl(*_args,**_kwargs) |
6ca312ba RD |
500 | self.thisown = 1 |
501 | self._setCallbackInfo(self, wxPyControl) | |
502 | self._setOORInfo(self) | |
503 | ||
504 | ||
505 | ||
506 | ||
4615b725 RD |
507 | class wxPyPanelPtr(wxPanelPtr): |
508 | def __init__(self,this): | |
509 | self.this = this | |
510 | self.thisown = 0 | |
511 | def _setCallbackInfo(self, *_args, **_kwargs): | |
d84a9306 | 512 | val = windows2c.wxPyPanel__setCallbackInfo(self, *_args, **_kwargs) |
4615b725 RD |
513 | return val |
514 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
d84a9306 | 515 | val = windows2c.wxPyPanel_base_DoMoveWindow(self, *_args, **_kwargs) |
4615b725 RD |
516 | return val |
517 | def base_DoSetSize(self, *_args, **_kwargs): | |
d84a9306 | 518 | val = windows2c.wxPyPanel_base_DoSetSize(self, *_args, **_kwargs) |
4615b725 RD |
519 | return val |
520 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
d84a9306 | 521 | val = windows2c.wxPyPanel_base_DoSetClientSize(self, *_args, **_kwargs) |
4615b725 RD |
522 | return val |
523 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
d84a9306 | 524 | val = windows2c.wxPyPanel_base_DoSetVirtualSize(self, *_args, **_kwargs) |
4615b725 RD |
525 | return val |
526 | def base_DoGetSize(self, *_args, **_kwargs): | |
d84a9306 | 527 | val = windows2c.wxPyPanel_base_DoGetSize(self, *_args, **_kwargs) |
4615b725 RD |
528 | return val |
529 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
d84a9306 | 530 | val = windows2c.wxPyPanel_base_DoGetClientSize(self, *_args, **_kwargs) |
4615b725 RD |
531 | return val |
532 | def base_DoGetPosition(self, *_args, **_kwargs): | |
d84a9306 | 533 | val = windows2c.wxPyPanel_base_DoGetPosition(self, *_args, **_kwargs) |
4615b725 RD |
534 | return val |
535 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
d84a9306 | 536 | val = windows2c.wxPyPanel_base_DoGetVirtualSize(self, *_args, **_kwargs) |
4615b725 RD |
537 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
538 | return val | |
539 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
d84a9306 | 540 | val = windows2c.wxPyPanel_base_DoGetBestSize(self, *_args, **_kwargs) |
4615b725 RD |
541 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
542 | return val | |
543 | def base_InitDialog(self, *_args, **_kwargs): | |
d84a9306 | 544 | val = windows2c.wxPyPanel_base_InitDialog(self, *_args, **_kwargs) |
4615b725 RD |
545 | return val |
546 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
d84a9306 | 547 | val = windows2c.wxPyPanel_base_TransferDataToWindow(self, *_args, **_kwargs) |
4615b725 RD |
548 | return val |
549 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
d84a9306 | 550 | val = windows2c.wxPyPanel_base_TransferDataFromWindow(self, *_args, **_kwargs) |
4615b725 RD |
551 | return val |
552 | def base_Validate(self, *_args, **_kwargs): | |
d84a9306 | 553 | val = windows2c.wxPyPanel_base_Validate(self, *_args, **_kwargs) |
4615b725 RD |
554 | return val |
555 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
d84a9306 | 556 | val = windows2c.wxPyPanel_base_AcceptsFocus(self, *_args, **_kwargs) |
4615b725 RD |
557 | return val |
558 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
d84a9306 | 559 | val = windows2c.wxPyPanel_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs) |
4615b725 RD |
560 | return val |
561 | def base_GetMaxSize(self, *_args, **_kwargs): | |
d84a9306 | 562 | val = windows2c.wxPyPanel_base_GetMaxSize(self, *_args, **_kwargs) |
4615b725 RD |
563 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
564 | return val | |
3e1f6ec4 | 565 | def base_AddChild(self, *_args, **_kwargs): |
d84a9306 | 566 | val = windows2c.wxPyPanel_base_AddChild(self, *_args, **_kwargs) |
3e1f6ec4 RD |
567 | return val |
568 | def base_RemoveChild(self, *_args, **_kwargs): | |
d84a9306 | 569 | val = windows2c.wxPyPanel_base_RemoveChild(self, *_args, **_kwargs) |
3e1f6ec4 | 570 | return val |
4615b725 | 571 | def __repr__(self): |
d84a9306 | 572 | return "<%s.%s instance; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
4615b725 RD |
573 | class wxPyPanel(wxPyPanelPtr): |
574 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 575 | self.this = windows2c.new_wxPyPanel(*_args,**_kwargs) |
4615b725 RD |
576 | self.thisown = 1 |
577 | self._setCallbackInfo(self, wxPyPanel) | |
578 | self._setOORInfo(self) | |
579 | ||
580 | ||
581 | ||
582 | ||
e6056257 RD |
583 | |
584 | ||
585 | #-------------- FUNCTION WRAPPERS ------------------ | |
586 | ||
587 | ||
588 | ||
589 | #-------------- VARIABLE WRAPPERS ------------------ | |
590 | ||
591 | wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED | |
592 | wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING | |
d84a9306 RD |
593 | wxNB_FIXEDWIDTH = windows2c.wxNB_FIXEDWIDTH |
594 | wxNB_TOP = windows2c.wxNB_TOP | |
595 | wxNB_LEFT = windows2c.wxNB_LEFT | |
596 | wxNB_RIGHT = windows2c.wxNB_RIGHT | |
597 | wxNB_BOTTOM = windows2c.wxNB_BOTTOM | |
598 | wxNB_MULTILINE = windows2c.wxNB_MULTILINE | |
599 | wxNB_HITTEST_NOWHERE = windows2c.wxNB_HITTEST_NOWHERE | |
600 | wxNB_HITTEST_ONICON = windows2c.wxNB_HITTEST_ONICON | |
601 | wxNB_HITTEST_ONLABEL = windows2c.wxNB_HITTEST_ONLABEL | |
602 | wxNB_HITTEST_ONITEM = windows2c.wxNB_HITTEST_ONITEM | |
116d6bea RD |
603 | wxLB_DEFAULT = windows2c.wxLB_DEFAULT |
604 | wxLB_TOP = windows2c.wxLB_TOP | |
605 | wxLB_BOTTOM = windows2c.wxLB_BOTTOM | |
606 | wxLB_LEFT = windows2c.wxLB_LEFT | |
607 | wxLB_RIGHT = windows2c.wxLB_RIGHT | |
608 | wxLB_ALIGN_MASK = windows2c.wxLB_ALIGN_MASK | |
609 | wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED | |
610 | wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING | |
e6056257 RD |
611 | wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING |
612 | wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED | |
613 | wxEVT_COMMAND_SPLITTER_UNSPLIT = windows2c.wxEVT_COMMAND_SPLITTER_UNSPLIT | |
614 | wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = windows2c.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED | |
615 | wxSPLIT_HORIZONTAL = windows2c.wxSPLIT_HORIZONTAL | |
616 | wxSPLIT_VERTICAL = windows2c.wxSPLIT_VERTICAL | |
617 | wxSPLIT_DRAG_NONE = windows2c.wxSPLIT_DRAG_NONE | |
618 | wxSPLIT_DRAG_DRAGGING = windows2c.wxSPLIT_DRAG_DRAGGING | |
619 | wxSPLIT_DRAG_LEFT_DOWN = windows2c.wxSPLIT_DRAG_LEFT_DOWN | |
d84a9306 RD |
620 | wxSP_VERTICAL = windows2c.wxSP_VERTICAL |
621 | wxSP_HORIZONTAL = windows2c.wxSP_HORIZONTAL | |
622 | wxSP_ARROW_KEYS = windows2c.wxSP_ARROW_KEYS | |
623 | wxSP_WRAP = windows2c.wxSP_WRAP | |
624 | wxSP_NOBORDER = windows2c.wxSP_NOBORDER | |
625 | wxSP_3D = windows2c.wxSP_3D | |
626 | wxSP_3DSASH = windows2c.wxSP_3DSASH | |
627 | wxSP_3DBORDER = windows2c.wxSP_3DBORDER | |
628 | wxSP_FULLSASH = windows2c.wxSP_FULLSASH | |
629 | wxSP_BORDER = windows2c.wxSP_BORDER | |
630 | wxSP_LIVE_UPDATE = windows2c.wxSP_LIVE_UPDATE | |
631 | wxSP_PERMIT_UNSPLIT = windows2c.wxSP_PERMIT_UNSPLIT |