]>
Commit | Line | Data |
---|---|---|
8ab979d7 RD |
1 | # This file was created automatically by SWIG. |
2 | import windows2c | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from gdi import * | |
7 | ||
a323d3bd RD |
8 | from fonts import * |
9 | ||
8ab979d7 RD |
10 | from windows import * |
11 | ||
b1462dfa RD |
12 | from clip_dnd import * |
13 | ||
8ab979d7 RD |
14 | from controls import * |
15 | ||
16 | from events import * | |
b8b8dda7 | 17 | import wx |
8ab979d7 | 18 | |
31855352 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) | |
8ab979d7 RD |
25 | |
26 | ||
31855352 RD |
27 | #wxListbook events |
28 | def EVT_LISTBOOK_PAGE_CHANGED(win, id, func): | |
29 | win.Connect(id, -1, wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, func) | |
8ab979d7 | 30 | |
31855352 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): | |
8ab979d7 RD |
35 | def __init__(self,this): |
36 | self.this = this | |
37 | self.thisown = 0 | |
1d99702e | 38 | def GetPageCount(self, *_args, **_kwargs): |
31855352 | 39 | val = windows2c.wxBookCtrl_GetPageCount(self, *_args, **_kwargs) |
8ab979d7 | 40 | return val |
3ef86e32 | 41 | def GetPage(self, *_args, **_kwargs): |
31855352 | 42 | val = windows2c.wxBookCtrl_GetPage(self, *_args, **_kwargs) |
8ab979d7 | 43 | return val |
1d99702e | 44 | def GetSelection(self, *_args, **_kwargs): |
31855352 | 45 | val = windows2c.wxBookCtrl_GetSelection(self, *_args, **_kwargs) |
8ab979d7 | 46 | return val |
1d99702e | 47 | def SetPageText(self, *_args, **_kwargs): |
31855352 | 48 | val = windows2c.wxBookCtrl_SetPageText(self, *_args, **_kwargs) |
8ab979d7 | 49 | return val |
1d99702e | 50 | def GetPageText(self, *_args, **_kwargs): |
31855352 | 51 | val = windows2c.wxBookCtrl_GetPageText(self, *_args, **_kwargs) |
8ab979d7 | 52 | return val |
1d99702e | 53 | def SetImageList(self, *_args, **_kwargs): |
31855352 | 54 | val = windows2c.wxBookCtrl_SetImageList(self, *_args, **_kwargs) |
8ab979d7 | 55 | return val |
059a841c | 56 | def AssignImageList(self, *_args, **_kwargs): |
31855352 | 57 | val = windows2c.wxBookCtrl_AssignImageList(self, *_args, **_kwargs) |
059a841c RD |
58 | _args[0].thisown = 0 |
59 | return val | |
1d99702e | 60 | def GetImageList(self, *_args, **_kwargs): |
31855352 | 61 | val = windows2c.wxBookCtrl_GetImageList(self, *_args, **_kwargs) |
8ab979d7 | 62 | return val |
1d99702e | 63 | def GetPageImage(self, *_args, **_kwargs): |
31855352 | 64 | val = windows2c.wxBookCtrl_GetPageImage(self, *_args, **_kwargs) |
8ab979d7 | 65 | return val |
1d99702e | 66 | def SetPageImage(self, *_args, **_kwargs): |
31855352 | 67 | val = windows2c.wxBookCtrl_SetPageImage(self, *_args, **_kwargs) |
8ab979d7 | 68 | return val |
c368d904 | 69 | def SetPageSize(self, *_args, **_kwargs): |
31855352 | 70 | val = windows2c.wxBookCtrl_SetPageSize(self, *_args, **_kwargs) |
3ef86e32 RD |
71 | return val |
72 | def CalcSizeFromPage(self, *_args, **_kwargs): | |
31855352 | 73 | val = windows2c.wxBookCtrl_CalcSizeFromPage(self, *_args, **_kwargs) |
3ef86e32 RD |
74 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
75 | return val | |
1d99702e | 76 | def DeletePage(self, *_args, **_kwargs): |
31855352 | 77 | val = windows2c.wxBookCtrl_DeletePage(self, *_args, **_kwargs) |
8ab979d7 | 78 | return val |
1d99702e | 79 | def RemovePage(self, *_args, **_kwargs): |
31855352 | 80 | val = windows2c.wxBookCtrl_RemovePage(self, *_args, **_kwargs) |
cf694132 | 81 | return val |
1d99702e | 82 | def DeleteAllPages(self, *_args, **_kwargs): |
31855352 | 83 | val = windows2c.wxBookCtrl_DeleteAllPages(self, *_args, **_kwargs) |
8ab979d7 | 84 | return val |
1d99702e | 85 | def AddPage(self, *_args, **_kwargs): |
31855352 | 86 | val = windows2c.wxBookCtrl_AddPage(self, *_args, **_kwargs) |
8ab979d7 | 87 | return val |
c368d904 | 88 | def InsertPage(self, *_args, **_kwargs): |
31855352 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) | |
c368d904 | 112 | return val |
3ef86e32 | 113 | def SetSelection(self, *_args, **_kwargs): |
31855352 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) | |
3ef86e32 RD |
147 | return val |
148 | def HitTest(self, *_args, **_kwargs): | |
149 | val = windows2c.wxNotebook_HitTest(self, *_args, **_kwargs) | |
8ab979d7 | 150 | return val |
31855352 RD |
151 | def CalcSizeFromPage(self, *_args, **_kwargs): |
152 | val = windows2c.wxNotebook_CalcSizeFromPage(self, *_args, **_kwargs) | |
153 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
cf694132 | 154 | return val |
8ab979d7 | 155 | def __repr__(self): |
1fded56b | 156 | return "<%s.%s instance; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
8ab979d7 | 157 | class wxNotebook(wxNotebookPtr): |
1d99702e | 158 | def __init__(self,*_args,**_kwargs): |
1fded56b | 159 | self.this = windows2c.new_wxNotebook(*_args,**_kwargs) |
8ab979d7 | 160 | self.thisown = 1 |
0220cbc1 | 161 | self._setOORInfo(self) |
9c039d08 RD |
162 | |
163 | ||
164 | ||
aa2a5b86 | 165 | def wxPreNotebook(*_args,**_kwargs): |
1fded56b | 166 | val = wxNotebookPtr(windows2c.new_wxPreNotebook(*_args,**_kwargs)) |
aa2a5b86 | 167 | val.thisown = 1 |
17c0e08c | 168 | val._setOORInfo(val) |
aa2a5b86 RD |
169 | return val |
170 | ||
9c039d08 | 171 | |
31855352 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 | ||
298ae144 | 239 | class wxSplitterEventPtr(wxNotifyEventPtr): |
bb0054cd RD |
240 | def __init__(self,this): |
241 | self.this = this | |
242 | self.thisown = 0 | |
1d99702e | 243 | def GetSashPosition(self, *_args, **_kwargs): |
1fded56b | 244 | val = windows2c.wxSplitterEvent_GetSashPosition(self, *_args, **_kwargs) |
bb0054cd | 245 | return val |
1d99702e | 246 | def GetX(self, *_args, **_kwargs): |
1fded56b | 247 | val = windows2c.wxSplitterEvent_GetX(self, *_args, **_kwargs) |
bb0054cd | 248 | return val |
1d99702e | 249 | def GetY(self, *_args, **_kwargs): |
1fded56b | 250 | val = windows2c.wxSplitterEvent_GetY(self, *_args, **_kwargs) |
bb0054cd | 251 | return val |
1d99702e | 252 | def GetWindowBeingRemoved(self, *_args, **_kwargs): |
1fded56b | 253 | val = windows2c.wxSplitterEvent_GetWindowBeingRemoved(self, *_args, **_kwargs) |
bb0054cd | 254 | return val |
1d99702e | 255 | def SetSashPosition(self, *_args, **_kwargs): |
1fded56b | 256 | val = windows2c.wxSplitterEvent_SetSashPosition(self, *_args, **_kwargs) |
bb0054cd RD |
257 | return val |
258 | def __repr__(self): | |
1fded56b | 259 | return "<%s.%s instance; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
bb0054cd | 260 | class wxSplitterEvent(wxSplitterEventPtr): |
aa2a5b86 | 261 | def __init__(self,*_args,**_kwargs): |
1fded56b | 262 | self.this = windows2c.new_wxSplitterEvent(*_args,**_kwargs) |
aa2a5b86 | 263 | self.thisown = 1 |
bb0054cd RD |
264 | |
265 | ||
266 | ||
267 | ||
9c039d08 RD |
268 | class wxSplitterWindowPtr(wxWindowPtr): |
269 | def __init__(self,this): | |
270 | self.this = this | |
271 | self.thisown = 0 | |
aa2a5b86 | 272 | def Create(self, *_args, **_kwargs): |
1fded56b | 273 | val = windows2c.wxSplitterWindow_Create(self, *_args, **_kwargs) |
9c039d08 | 274 | return val |
1d99702e | 275 | def GetWindow1(self, *_args, **_kwargs): |
1fded56b | 276 | val = windows2c.wxSplitterWindow_GetWindow1(self, *_args, **_kwargs) |
9c039d08 | 277 | return val |
1d99702e | 278 | def GetWindow2(self, *_args, **_kwargs): |
1fded56b | 279 | val = windows2c.wxSplitterWindow_GetWindow2(self, *_args, **_kwargs) |
9c039d08 | 280 | return val |
aa2a5b86 | 281 | def SetSplitMode(self, *_args, **_kwargs): |
1fded56b | 282 | val = windows2c.wxSplitterWindow_SetSplitMode(self, *_args, **_kwargs) |
aa2a5b86 RD |
283 | return val |
284 | def GetSplitMode(self, *_args, **_kwargs): | |
1fded56b | 285 | val = windows2c.wxSplitterWindow_GetSplitMode(self, *_args, **_kwargs) |
aa2a5b86 | 286 | return val |
1d99702e | 287 | def Initialize(self, *_args, **_kwargs): |
1fded56b | 288 | val = windows2c.wxSplitterWindow_Initialize(self, *_args, **_kwargs) |
9c039d08 | 289 | return val |
aa2a5b86 | 290 | def SplitVertically(self, *_args, **_kwargs): |
1fded56b | 291 | val = windows2c.wxSplitterWindow_SplitVertically(self, *_args, **_kwargs) |
aa2a5b86 RD |
292 | return val |
293 | def SplitHorizontally(self, *_args, **_kwargs): | |
1fded56b | 294 | val = windows2c.wxSplitterWindow_SplitHorizontally(self, *_args, **_kwargs) |
aa2a5b86 RD |
295 | return val |
296 | def Unsplit(self, *_args, **_kwargs): | |
1fded56b | 297 | val = windows2c.wxSplitterWindow_Unsplit(self, *_args, **_kwargs) |
9c039d08 | 298 | return val |
9d8bd15f | 299 | def ReplaceWindow(self, *_args, **_kwargs): |
1fded56b | 300 | val = windows2c.wxSplitterWindow_ReplaceWindow(self, *_args, **_kwargs) |
9d8bd15f | 301 | return val |
aa2a5b86 | 302 | def IsSplit(self, *_args, **_kwargs): |
1fded56b | 303 | val = windows2c.wxSplitterWindow_IsSplit(self, *_args, **_kwargs) |
aa2a5b86 RD |
304 | return val |
305 | def SetSashSize(self, *_args, **_kwargs): | |
1fded56b | 306 | val = windows2c.wxSplitterWindow_SetSashSize(self, *_args, **_kwargs) |
aa2a5b86 | 307 | return val |
1d99702e | 308 | def SetBorderSize(self, *_args, **_kwargs): |
1fded56b | 309 | val = windows2c.wxSplitterWindow_SetBorderSize(self, *_args, **_kwargs) |
b639c3c5 | 310 | return val |
aa2a5b86 | 311 | def GetSashSize(self, *_args, **_kwargs): |
1fded56b | 312 | val = windows2c.wxSplitterWindow_GetSashSize(self, *_args, **_kwargs) |
aa2a5b86 RD |
313 | return val |
314 | def GetBorderSize(self, *_args, **_kwargs): | |
1fded56b | 315 | val = windows2c.wxSplitterWindow_GetBorderSize(self, *_args, **_kwargs) |
aa2a5b86 | 316 | return val |
1d99702e | 317 | def SetSashPosition(self, *_args, **_kwargs): |
1fded56b | 318 | val = windows2c.wxSplitterWindow_SetSashPosition(self, *_args, **_kwargs) |
9c039d08 | 319 | return val |
aa2a5b86 | 320 | def GetSashPosition(self, *_args, **_kwargs): |
1fded56b | 321 | val = windows2c.wxSplitterWindow_GetSashPosition(self, *_args, **_kwargs) |
b639c3c5 | 322 | return val |
1d99702e | 323 | def SetMinimumPaneSize(self, *_args, **_kwargs): |
1fded56b | 324 | val = windows2c.wxSplitterWindow_SetMinimumPaneSize(self, *_args, **_kwargs) |
9c039d08 | 325 | return val |
aa2a5b86 | 326 | def GetMinimumPaneSize(self, *_args, **_kwargs): |
1fded56b | 327 | val = windows2c.wxSplitterWindow_GetMinimumPaneSize(self, *_args, **_kwargs) |
9c039d08 | 328 | return val |
8381e4cd | 329 | def SizeWindows(self, *_args, **_kwargs): |
1fded56b | 330 | val = windows2c.wxSplitterWindow_SizeWindows(self, *_args, **_kwargs) |
8381e4cd RD |
331 | return val |
332 | def SetNeedUpdating(self, *_args, **_kwargs): | |
1fded56b | 333 | val = windows2c.wxSplitterWindow_SetNeedUpdating(self, *_args, **_kwargs) |
8381e4cd RD |
334 | return val |
335 | def GetNeedUpdating(self, *_args, **_kwargs): | |
1fded56b | 336 | val = windows2c.wxSplitterWindow_GetNeedUpdating(self, *_args, **_kwargs) |
8381e4cd | 337 | return val |
9c039d08 | 338 | def __repr__(self): |
1fded56b | 339 | return "<%s.%s instance; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9c039d08 | 340 | class wxSplitterWindow(wxSplitterWindowPtr): |
1d99702e | 341 | def __init__(self,*_args,**_kwargs): |
1fded56b | 342 | self.this = windows2c.new_wxSplitterWindow(*_args,**_kwargs) |
9c039d08 | 343 | self.thisown = 1 |
0220cbc1 | 344 | self._setOORInfo(self) |
b639c3c5 RD |
345 | |
346 | ||
347 | ||
aa2a5b86 | 348 | def wxPreSplitterWindow(*_args,**_kwargs): |
1fded56b | 349 | val = wxSplitterWindowPtr(windows2c.new_wxPreSplitterWindow(*_args,**_kwargs)) |
aa2a5b86 | 350 | val.thisown = 1 |
17c0e08c | 351 | val._setOORInfo(val) |
aa2a5b86 RD |
352 | return val |
353 | ||
b639c3c5 | 354 | |
c8c000ef RD |
355 | class wxPyWindowPtr(wxWindowPtr): |
356 | def __init__(self,this): | |
357 | self.this = this | |
358 | self.thisown = 0 | |
359 | def _setCallbackInfo(self, *_args, **_kwargs): | |
1fded56b | 360 | val = windows2c.wxPyWindow__setCallbackInfo(self, *_args, **_kwargs) |
c8c000ef RD |
361 | return val |
362 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
1fded56b | 363 | val = windows2c.wxPyWindow_base_DoMoveWindow(self, *_args, **_kwargs) |
c8c000ef RD |
364 | return val |
365 | def base_DoSetSize(self, *_args, **_kwargs): | |
1fded56b | 366 | val = windows2c.wxPyWindow_base_DoSetSize(self, *_args, **_kwargs) |
c8c000ef RD |
367 | return val |
368 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
1fded56b | 369 | val = windows2c.wxPyWindow_base_DoSetClientSize(self, *_args, **_kwargs) |
c8c000ef RD |
370 | return val |
371 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
1fded56b | 372 | val = windows2c.wxPyWindow_base_DoSetVirtualSize(self, *_args, **_kwargs) |
c8c000ef RD |
373 | return val |
374 | def base_DoGetSize(self, *_args, **_kwargs): | |
1fded56b | 375 | val = windows2c.wxPyWindow_base_DoGetSize(self, *_args, **_kwargs) |
c8c000ef RD |
376 | return val |
377 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
1fded56b | 378 | val = windows2c.wxPyWindow_base_DoGetClientSize(self, *_args, **_kwargs) |
c8c000ef RD |
379 | return val |
380 | def base_DoGetPosition(self, *_args, **_kwargs): | |
1fded56b | 381 | val = windows2c.wxPyWindow_base_DoGetPosition(self, *_args, **_kwargs) |
c8c000ef RD |
382 | return val |
383 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
1fded56b | 384 | val = windows2c.wxPyWindow_base_DoGetVirtualSize(self, *_args, **_kwargs) |
c8c000ef RD |
385 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
386 | return val | |
387 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
1fded56b | 388 | val = windows2c.wxPyWindow_base_DoGetBestSize(self, *_args, **_kwargs) |
c8c000ef RD |
389 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
390 | return val | |
391 | def base_InitDialog(self, *_args, **_kwargs): | |
1fded56b | 392 | val = windows2c.wxPyWindow_base_InitDialog(self, *_args, **_kwargs) |
c8c000ef RD |
393 | return val |
394 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
1fded56b | 395 | val = windows2c.wxPyWindow_base_TransferDataToWindow(self, *_args, **_kwargs) |
c8c000ef RD |
396 | return val |
397 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
1fded56b | 398 | val = windows2c.wxPyWindow_base_TransferDataFromWindow(self, *_args, **_kwargs) |
c8c000ef RD |
399 | return val |
400 | def base_Validate(self, *_args, **_kwargs): | |
1fded56b | 401 | val = windows2c.wxPyWindow_base_Validate(self, *_args, **_kwargs) |
c8c000ef RD |
402 | return val |
403 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
1fded56b | 404 | val = windows2c.wxPyWindow_base_AcceptsFocus(self, *_args, **_kwargs) |
c8c000ef RD |
405 | return val |
406 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
1fded56b | 407 | val = windows2c.wxPyWindow_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs) |
c8c000ef RD |
408 | return val |
409 | def base_GetMaxSize(self, *_args, **_kwargs): | |
1fded56b | 410 | val = windows2c.wxPyWindow_base_GetMaxSize(self, *_args, **_kwargs) |
c8c000ef RD |
411 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
412 | return val | |
57ee4c3b | 413 | def base_AddChild(self, *_args, **_kwargs): |
1fded56b | 414 | val = windows2c.wxPyWindow_base_AddChild(self, *_args, **_kwargs) |
57ee4c3b RD |
415 | return val |
416 | def base_RemoveChild(self, *_args, **_kwargs): | |
1fded56b | 417 | val = windows2c.wxPyWindow_base_RemoveChild(self, *_args, **_kwargs) |
57ee4c3b | 418 | return val |
c8c000ef | 419 | def __repr__(self): |
1fded56b | 420 | return "<%s.%s instance; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
c8c000ef RD |
421 | class wxPyWindow(wxPyWindowPtr): |
422 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 423 | self.this = windows2c.new_wxPyWindow(*_args,**_kwargs) |
c8c000ef 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): | |
1fded56b | 436 | val = windows2c.wxPyControl__setCallbackInfo(self, *_args, **_kwargs) |
c8c000ef RD |
437 | return val |
438 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
1fded56b | 439 | val = windows2c.wxPyControl_base_DoMoveWindow(self, *_args, **_kwargs) |
c8c000ef RD |
440 | return val |
441 | def base_DoSetSize(self, *_args, **_kwargs): | |
1fded56b | 442 | val = windows2c.wxPyControl_base_DoSetSize(self, *_args, **_kwargs) |
c8c000ef RD |
443 | return val |
444 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
1fded56b | 445 | val = windows2c.wxPyControl_base_DoSetClientSize(self, *_args, **_kwargs) |
c8c000ef RD |
446 | return val |
447 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
1fded56b | 448 | val = windows2c.wxPyControl_base_DoSetVirtualSize(self, *_args, **_kwargs) |
c8c000ef RD |
449 | return val |
450 | def base_DoGetSize(self, *_args, **_kwargs): | |
1fded56b | 451 | val = windows2c.wxPyControl_base_DoGetSize(self, *_args, **_kwargs) |
c8c000ef RD |
452 | return val |
453 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
1fded56b | 454 | val = windows2c.wxPyControl_base_DoGetClientSize(self, *_args, **_kwargs) |
c8c000ef RD |
455 | return val |
456 | def base_DoGetPosition(self, *_args, **_kwargs): | |
1fded56b | 457 | val = windows2c.wxPyControl_base_DoGetPosition(self, *_args, **_kwargs) |
c8c000ef RD |
458 | return val |
459 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
1fded56b | 460 | val = windows2c.wxPyControl_base_DoGetVirtualSize(self, *_args, **_kwargs) |
c8c000ef RD |
461 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
462 | return val | |
463 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
1fded56b | 464 | val = windows2c.wxPyControl_base_DoGetBestSize(self, *_args, **_kwargs) |
c8c000ef RD |
465 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
466 | return val | |
467 | def base_InitDialog(self, *_args, **_kwargs): | |
1fded56b | 468 | val = windows2c.wxPyControl_base_InitDialog(self, *_args, **_kwargs) |
c8c000ef RD |
469 | return val |
470 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
1fded56b | 471 | val = windows2c.wxPyControl_base_TransferDataToWindow(self, *_args, **_kwargs) |
c8c000ef RD |
472 | return val |
473 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
1fded56b | 474 | val = windows2c.wxPyControl_base_TransferDataFromWindow(self, *_args, **_kwargs) |
c8c000ef RD |
475 | return val |
476 | def base_Validate(self, *_args, **_kwargs): | |
1fded56b | 477 | val = windows2c.wxPyControl_base_Validate(self, *_args, **_kwargs) |
c8c000ef RD |
478 | return val |
479 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
1fded56b | 480 | val = windows2c.wxPyControl_base_AcceptsFocus(self, *_args, **_kwargs) |
c8c000ef RD |
481 | return val |
482 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
1fded56b | 483 | val = windows2c.wxPyControl_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs) |
c8c000ef RD |
484 | return val |
485 | def base_GetMaxSize(self, *_args, **_kwargs): | |
1fded56b | 486 | val = windows2c.wxPyControl_base_GetMaxSize(self, *_args, **_kwargs) |
c8c000ef RD |
487 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
488 | return val | |
57ee4c3b | 489 | def base_AddChild(self, *_args, **_kwargs): |
1fded56b | 490 | val = windows2c.wxPyControl_base_AddChild(self, *_args, **_kwargs) |
57ee4c3b RD |
491 | return val |
492 | def base_RemoveChild(self, *_args, **_kwargs): | |
1fded56b | 493 | val = windows2c.wxPyControl_base_RemoveChild(self, *_args, **_kwargs) |
57ee4c3b | 494 | return val |
c8c000ef | 495 | def __repr__(self): |
1fded56b | 496 | return "<%s.%s instance; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
c8c000ef RD |
497 | class wxPyControl(wxPyControlPtr): |
498 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 499 | self.this = windows2c.new_wxPyControl(*_args,**_kwargs) |
c8c000ef RD |
500 | self.thisown = 1 |
501 | self._setCallbackInfo(self, wxPyControl) | |
502 | self._setOORInfo(self) | |
503 | ||
504 | ||
505 | ||
506 | ||
7ba3ed2c RD |
507 | class wxPyPanelPtr(wxPanelPtr): |
508 | def __init__(self,this): | |
509 | self.this = this | |
510 | self.thisown = 0 | |
511 | def _setCallbackInfo(self, *_args, **_kwargs): | |
1fded56b | 512 | val = windows2c.wxPyPanel__setCallbackInfo(self, *_args, **_kwargs) |
7ba3ed2c RD |
513 | return val |
514 | def base_DoMoveWindow(self, *_args, **_kwargs): | |
1fded56b | 515 | val = windows2c.wxPyPanel_base_DoMoveWindow(self, *_args, **_kwargs) |
7ba3ed2c RD |
516 | return val |
517 | def base_DoSetSize(self, *_args, **_kwargs): | |
1fded56b | 518 | val = windows2c.wxPyPanel_base_DoSetSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
519 | return val |
520 | def base_DoSetClientSize(self, *_args, **_kwargs): | |
1fded56b | 521 | val = windows2c.wxPyPanel_base_DoSetClientSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
522 | return val |
523 | def base_DoSetVirtualSize(self, *_args, **_kwargs): | |
1fded56b | 524 | val = windows2c.wxPyPanel_base_DoSetVirtualSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
525 | return val |
526 | def base_DoGetSize(self, *_args, **_kwargs): | |
1fded56b | 527 | val = windows2c.wxPyPanel_base_DoGetSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
528 | return val |
529 | def base_DoGetClientSize(self, *_args, **_kwargs): | |
1fded56b | 530 | val = windows2c.wxPyPanel_base_DoGetClientSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
531 | return val |
532 | def base_DoGetPosition(self, *_args, **_kwargs): | |
1fded56b | 533 | val = windows2c.wxPyPanel_base_DoGetPosition(self, *_args, **_kwargs) |
7ba3ed2c RD |
534 | return val |
535 | def base_DoGetVirtualSize(self, *_args, **_kwargs): | |
1fded56b | 536 | val = windows2c.wxPyPanel_base_DoGetVirtualSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
537 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
538 | return val | |
539 | def base_DoGetBestSize(self, *_args, **_kwargs): | |
1fded56b | 540 | val = windows2c.wxPyPanel_base_DoGetBestSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
541 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
542 | return val | |
543 | def base_InitDialog(self, *_args, **_kwargs): | |
1fded56b | 544 | val = windows2c.wxPyPanel_base_InitDialog(self, *_args, **_kwargs) |
7ba3ed2c RD |
545 | return val |
546 | def base_TransferDataToWindow(self, *_args, **_kwargs): | |
1fded56b | 547 | val = windows2c.wxPyPanel_base_TransferDataToWindow(self, *_args, **_kwargs) |
7ba3ed2c RD |
548 | return val |
549 | def base_TransferDataFromWindow(self, *_args, **_kwargs): | |
1fded56b | 550 | val = windows2c.wxPyPanel_base_TransferDataFromWindow(self, *_args, **_kwargs) |
7ba3ed2c RD |
551 | return val |
552 | def base_Validate(self, *_args, **_kwargs): | |
1fded56b | 553 | val = windows2c.wxPyPanel_base_Validate(self, *_args, **_kwargs) |
7ba3ed2c RD |
554 | return val |
555 | def base_AcceptsFocus(self, *_args, **_kwargs): | |
1fded56b | 556 | val = windows2c.wxPyPanel_base_AcceptsFocus(self, *_args, **_kwargs) |
7ba3ed2c RD |
557 | return val |
558 | def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs): | |
1fded56b | 559 | val = windows2c.wxPyPanel_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs) |
7ba3ed2c RD |
560 | return val |
561 | def base_GetMaxSize(self, *_args, **_kwargs): | |
1fded56b | 562 | val = windows2c.wxPyPanel_base_GetMaxSize(self, *_args, **_kwargs) |
7ba3ed2c RD |
563 | if val: val = wxSizePtr(val) ; val.thisown = 1 |
564 | return val | |
57ee4c3b | 565 | def base_AddChild(self, *_args, **_kwargs): |
1fded56b | 566 | val = windows2c.wxPyPanel_base_AddChild(self, *_args, **_kwargs) |
57ee4c3b RD |
567 | return val |
568 | def base_RemoveChild(self, *_args, **_kwargs): | |
1fded56b | 569 | val = windows2c.wxPyPanel_base_RemoveChild(self, *_args, **_kwargs) |
57ee4c3b | 570 | return val |
7ba3ed2c | 571 | def __repr__(self): |
1fded56b | 572 | return "<%s.%s instance; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
7ba3ed2c RD |
573 | class wxPyPanel(wxPyPanelPtr): |
574 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 575 | self.this = windows2c.new_wxPyPanel(*_args,**_kwargs) |
7ba3ed2c RD |
576 | self.thisown = 1 |
577 | self._setCallbackInfo(self, wxPyPanel) | |
578 | self._setOORInfo(self) | |
579 | ||
580 | ||
581 | ||
582 | ||
8ab979d7 RD |
583 | |
584 | ||
585 | #-------------- FUNCTION WRAPPERS ------------------ | |
586 | ||
587 | ||
588 | ||
589 | #-------------- VARIABLE WRAPPERS ------------------ | |
590 | ||
9c4165ad RD |
591 | wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED |
592 | wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING | |
3ef86e32 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 | |
31855352 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 | |
9c4165ad 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 | |
f6bcfd97 BP |
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 | |
3ef86e32 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 |