]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/windows2.py
Update with recent changes.
[wxWidgets.git] / wxPython / src / gtk / windows2.py
1 # This file was created automatically by SWIG.
2 import windows2c
3
4 from misc import *
5
6 from gdi import *
7
8 from fonts import *
9
10 from windows import *
11
12 from clip_dnd import *
13
14 from controls import *
15
16 from events import *
17 import wx
18 class wxNotebookEventPtr(wxNotifyEventPtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
22 def GetSelection(self, *_args, **_kwargs):
23 val = apply(windows2c.wxNotebookEvent_GetSelection,(self,) + _args, _kwargs)
24 return val
25 def GetOldSelection(self, *_args, **_kwargs):
26 val = apply(windows2c.wxNotebookEvent_GetOldSelection,(self,) + _args, _kwargs)
27 return val
28 def SetOldSelection(self, *_args, **_kwargs):
29 val = apply(windows2c.wxNotebookEvent_SetOldSelection,(self,) + _args, _kwargs)
30 return val
31 def SetSelection(self, *_args, **_kwargs):
32 val = apply(windows2c.wxNotebookEvent_SetSelection,(self,) + _args, _kwargs)
33 return val
34 def __repr__(self):
35 return "<C wxNotebookEvent instance at %s>" % (self.this,)
36 class wxNotebookEvent(wxNotebookEventPtr):
37 def __init__(self,*_args,**_kwargs):
38 self.this = apply(windows2c.new_wxNotebookEvent,_args,_kwargs)
39 self.thisown = 1
40
41
42
43
44 class wxNotebookPtr(wxControlPtr):
45 def __init__(self,this):
46 self.this = this
47 self.thisown = 0
48 def Create(self, *_args, **_kwargs):
49 val = apply(windows2c.wxNotebook_Create,(self,) + _args, _kwargs)
50 return val
51 def GetPageCount(self, *_args, **_kwargs):
52 val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs)
53 return val
54 def SetSelection(self, *_args, **_kwargs):
55 val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs)
56 return val
57 def AdvanceSelection(self, *_args, **_kwargs):
58 val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs)
59 return val
60 def GetSelection(self, *_args, **_kwargs):
61 val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs)
62 return val
63 def SetPageText(self, *_args, **_kwargs):
64 val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs)
65 return val
66 def GetPageText(self, *_args, **_kwargs):
67 val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs)
68 return val
69 def SetImageList(self, *_args, **_kwargs):
70 val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs)
71 return val
72 def AssignImageList(self, *_args, **_kwargs):
73 val = apply(windows2c.wxNotebook_AssignImageList,(self,) + _args, _kwargs)
74 _args[0].thisown = 0
75 return val
76 def GetImageList(self, *_args, **_kwargs):
77 val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs)
78 return val
79 def GetPageImage(self, *_args, **_kwargs):
80 val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs)
81 return val
82 def SetPageImage(self, *_args, **_kwargs):
83 val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs)
84 return val
85 def GetRowCount(self, *_args, **_kwargs):
86 val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs)
87 return val
88 def SetPageSize(self, *_args, **_kwargs):
89 val = apply(windows2c.wxNotebook_SetPageSize,(self,) + _args, _kwargs)
90 return val
91 def SetPadding(self, *_args, **_kwargs):
92 val = apply(windows2c.wxNotebook_SetPadding,(self,) + _args, _kwargs)
93 return val
94 def DeletePage(self, *_args, **_kwargs):
95 val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs)
96 return val
97 def RemovePage(self, *_args, **_kwargs):
98 val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs)
99 return val
100 def DeleteAllPages(self, *_args, **_kwargs):
101 val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs)
102 return val
103 def AddPage(self, *_args, **_kwargs):
104 val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs)
105 return val
106 def InsertPage(self, *_args, **_kwargs):
107 val = apply(windows2c.wxNotebook_InsertPage,(self,) + _args, _kwargs)
108 return val
109 def GetPage(self, *_args, **_kwargs):
110 val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs)
111 return val
112 def ResizeChildren(self, *_args, **_kwargs):
113 val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs)
114 return val
115 def __repr__(self):
116 return "<C wxNotebook instance at %s>" % (self.this,)
117 class wxNotebook(wxNotebookPtr):
118 def __init__(self,*_args,**_kwargs):
119 self.this = apply(windows2c.new_wxNotebook,_args,_kwargs)
120 self.thisown = 1
121 self._setOORInfo(self)
122
123
124
125 def wxPreNotebook(*_args,**_kwargs):
126 val = wxNotebookPtr(apply(windows2c.new_wxPreNotebook,_args,_kwargs))
127 val.thisown = 1
128 val._setOORInfo(val)
129 return val
130
131
132 class wxSplitterEventPtr(wxNotifyEventPtr):
133 def __init__(self,this):
134 self.this = this
135 self.thisown = 0
136 def GetSashPosition(self, *_args, **_kwargs):
137 val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs)
138 return val
139 def GetX(self, *_args, **_kwargs):
140 val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs)
141 return val
142 def GetY(self, *_args, **_kwargs):
143 val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs)
144 return val
145 def GetWindowBeingRemoved(self, *_args, **_kwargs):
146 val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs)
147 return val
148 def SetSashPosition(self, *_args, **_kwargs):
149 val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs)
150 return val
151 def __repr__(self):
152 return "<C wxSplitterEvent instance at %s>" % (self.this,)
153 class wxSplitterEvent(wxSplitterEventPtr):
154 def __init__(self,*_args,**_kwargs):
155 self.this = apply(windows2c.new_wxSplitterEvent,_args,_kwargs)
156 self.thisown = 1
157
158
159
160
161 class wxSplitterWindowPtr(wxWindowPtr):
162 def __init__(self,this):
163 self.this = this
164 self.thisown = 0
165 def Create(self, *_args, **_kwargs):
166 val = apply(windows2c.wxSplitterWindow_Create,(self,) + _args, _kwargs)
167 return val
168 def GetWindow1(self, *_args, **_kwargs):
169 val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs)
170 return val
171 def GetWindow2(self, *_args, **_kwargs):
172 val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs)
173 return val
174 def SetSplitMode(self, *_args, **_kwargs):
175 val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs)
176 return val
177 def GetSplitMode(self, *_args, **_kwargs):
178 val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs)
179 return val
180 def Initialize(self, *_args, **_kwargs):
181 val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs)
182 return val
183 def SplitVertically(self, *_args, **_kwargs):
184 val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs)
185 return val
186 def SplitHorizontally(self, *_args, **_kwargs):
187 val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs)
188 return val
189 def Unsplit(self, *_args, **_kwargs):
190 val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs)
191 return val
192 def ReplaceWindow(self, *_args, **_kwargs):
193 val = apply(windows2c.wxSplitterWindow_ReplaceWindow,(self,) + _args, _kwargs)
194 return val
195 def IsSplit(self, *_args, **_kwargs):
196 val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs)
197 return val
198 def SetSashSize(self, *_args, **_kwargs):
199 val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs)
200 return val
201 def SetBorderSize(self, *_args, **_kwargs):
202 val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs)
203 return val
204 def GetSashSize(self, *_args, **_kwargs):
205 val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs)
206 return val
207 def GetBorderSize(self, *_args, **_kwargs):
208 val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs)
209 return val
210 def SetSashPosition(self, *_args, **_kwargs):
211 val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs)
212 return val
213 def GetSashPosition(self, *_args, **_kwargs):
214 val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs)
215 return val
216 def SetMinimumPaneSize(self, *_args, **_kwargs):
217 val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs)
218 return val
219 def GetMinimumPaneSize(self, *_args, **_kwargs):
220 val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs)
221 return val
222 def SizeWindows(self, *_args, **_kwargs):
223 val = apply(windows2c.wxSplitterWindow_SizeWindows,(self,) + _args, _kwargs)
224 return val
225 def SetNeedUpdating(self, *_args, **_kwargs):
226 val = apply(windows2c.wxSplitterWindow_SetNeedUpdating,(self,) + _args, _kwargs)
227 return val
228 def GetNeedUpdating(self, *_args, **_kwargs):
229 val = apply(windows2c.wxSplitterWindow_GetNeedUpdating,(self,) + _args, _kwargs)
230 return val
231 def __repr__(self):
232 return "<C wxSplitterWindow instance at %s>" % (self.this,)
233 class wxSplitterWindow(wxSplitterWindowPtr):
234 def __init__(self,*_args,**_kwargs):
235 self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs)
236 self.thisown = 1
237 self._setOORInfo(self)
238
239
240
241 def wxPreSplitterWindow(*_args,**_kwargs):
242 val = wxSplitterWindowPtr(apply(windows2c.new_wxPreSplitterWindow,_args,_kwargs))
243 val.thisown = 1
244 val._setOORInfo(val)
245 return val
246
247
248 class wxPyWindowPtr(wxWindowPtr):
249 def __init__(self,this):
250 self.this = this
251 self.thisown = 0
252 def _setCallbackInfo(self, *_args, **_kwargs):
253 val = apply(windows2c.wxPyWindow__setCallbackInfo,(self,) + _args, _kwargs)
254 return val
255 def base_DoMoveWindow(self, *_args, **_kwargs):
256 val = apply(windows2c.wxPyWindow_base_DoMoveWindow,(self,) + _args, _kwargs)
257 return val
258 def base_DoSetSize(self, *_args, **_kwargs):
259 val = apply(windows2c.wxPyWindow_base_DoSetSize,(self,) + _args, _kwargs)
260 return val
261 def base_DoSetClientSize(self, *_args, **_kwargs):
262 val = apply(windows2c.wxPyWindow_base_DoSetClientSize,(self,) + _args, _kwargs)
263 return val
264 def base_DoSetVirtualSize(self, *_args, **_kwargs):
265 val = apply(windows2c.wxPyWindow_base_DoSetVirtualSize,(self,) + _args, _kwargs)
266 return val
267 def base_DoGetSize(self, *_args, **_kwargs):
268 val = apply(windows2c.wxPyWindow_base_DoGetSize,(self,) + _args, _kwargs)
269 return val
270 def base_DoGetClientSize(self, *_args, **_kwargs):
271 val = apply(windows2c.wxPyWindow_base_DoGetClientSize,(self,) + _args, _kwargs)
272 return val
273 def base_DoGetPosition(self, *_args, **_kwargs):
274 val = apply(windows2c.wxPyWindow_base_DoGetPosition,(self,) + _args, _kwargs)
275 return val
276 def base_DoGetVirtualSize(self, *_args, **_kwargs):
277 val = apply(windows2c.wxPyWindow_base_DoGetVirtualSize,(self,) + _args, _kwargs)
278 if val: val = wxSizePtr(val) ; val.thisown = 1
279 return val
280 def base_DoGetBestSize(self, *_args, **_kwargs):
281 val = apply(windows2c.wxPyWindow_base_DoGetBestSize,(self,) + _args, _kwargs)
282 if val: val = wxSizePtr(val) ; val.thisown = 1
283 return val
284 def base_InitDialog(self, *_args, **_kwargs):
285 val = apply(windows2c.wxPyWindow_base_InitDialog,(self,) + _args, _kwargs)
286 return val
287 def base_TransferDataToWindow(self, *_args, **_kwargs):
288 val = apply(windows2c.wxPyWindow_base_TransferDataToWindow,(self,) + _args, _kwargs)
289 return val
290 def base_TransferDataFromWindow(self, *_args, **_kwargs):
291 val = apply(windows2c.wxPyWindow_base_TransferDataFromWindow,(self,) + _args, _kwargs)
292 return val
293 def base_Validate(self, *_args, **_kwargs):
294 val = apply(windows2c.wxPyWindow_base_Validate,(self,) + _args, _kwargs)
295 return val
296 def base_AcceptsFocus(self, *_args, **_kwargs):
297 val = apply(windows2c.wxPyWindow_base_AcceptsFocus,(self,) + _args, _kwargs)
298 return val
299 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
300 val = apply(windows2c.wxPyWindow_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
301 return val
302 def base_GetMaxSize(self, *_args, **_kwargs):
303 val = apply(windows2c.wxPyWindow_base_GetMaxSize,(self,) + _args, _kwargs)
304 if val: val = wxSizePtr(val) ; val.thisown = 1
305 return val
306 def base_AddChild(self, *_args, **_kwargs):
307 val = apply(windows2c.wxPyWindow_base_AddChild,(self,) + _args, _kwargs)
308 return val
309 def base_RemoveChild(self, *_args, **_kwargs):
310 val = apply(windows2c.wxPyWindow_base_RemoveChild,(self,) + _args, _kwargs)
311 return val
312 def __repr__(self):
313 return "<C wxPyWindow instance at %s>" % (self.this,)
314 class wxPyWindow(wxPyWindowPtr):
315 def __init__(self,*_args,**_kwargs):
316 self.this = apply(windows2c.new_wxPyWindow,_args,_kwargs)
317 self.thisown = 1
318 self._setCallbackInfo(self, wxPyWindow)
319 self._setOORInfo(self)
320
321
322
323
324 class wxPyControlPtr(wxControlPtr):
325 def __init__(self,this):
326 self.this = this
327 self.thisown = 0
328 def _setCallbackInfo(self, *_args, **_kwargs):
329 val = apply(windows2c.wxPyControl__setCallbackInfo,(self,) + _args, _kwargs)
330 return val
331 def base_DoMoveWindow(self, *_args, **_kwargs):
332 val = apply(windows2c.wxPyControl_base_DoMoveWindow,(self,) + _args, _kwargs)
333 return val
334 def base_DoSetSize(self, *_args, **_kwargs):
335 val = apply(windows2c.wxPyControl_base_DoSetSize,(self,) + _args, _kwargs)
336 return val
337 def base_DoSetClientSize(self, *_args, **_kwargs):
338 val = apply(windows2c.wxPyControl_base_DoSetClientSize,(self,) + _args, _kwargs)
339 return val
340 def base_DoSetVirtualSize(self, *_args, **_kwargs):
341 val = apply(windows2c.wxPyControl_base_DoSetVirtualSize,(self,) + _args, _kwargs)
342 return val
343 def base_DoGetSize(self, *_args, **_kwargs):
344 val = apply(windows2c.wxPyControl_base_DoGetSize,(self,) + _args, _kwargs)
345 return val
346 def base_DoGetClientSize(self, *_args, **_kwargs):
347 val = apply(windows2c.wxPyControl_base_DoGetClientSize,(self,) + _args, _kwargs)
348 return val
349 def base_DoGetPosition(self, *_args, **_kwargs):
350 val = apply(windows2c.wxPyControl_base_DoGetPosition,(self,) + _args, _kwargs)
351 return val
352 def base_DoGetVirtualSize(self, *_args, **_kwargs):
353 val = apply(windows2c.wxPyControl_base_DoGetVirtualSize,(self,) + _args, _kwargs)
354 if val: val = wxSizePtr(val) ; val.thisown = 1
355 return val
356 def base_DoGetBestSize(self, *_args, **_kwargs):
357 val = apply(windows2c.wxPyControl_base_DoGetBestSize,(self,) + _args, _kwargs)
358 if val: val = wxSizePtr(val) ; val.thisown = 1
359 return val
360 def base_InitDialog(self, *_args, **_kwargs):
361 val = apply(windows2c.wxPyControl_base_InitDialog,(self,) + _args, _kwargs)
362 return val
363 def base_TransferDataToWindow(self, *_args, **_kwargs):
364 val = apply(windows2c.wxPyControl_base_TransferDataToWindow,(self,) + _args, _kwargs)
365 return val
366 def base_TransferDataFromWindow(self, *_args, **_kwargs):
367 val = apply(windows2c.wxPyControl_base_TransferDataFromWindow,(self,) + _args, _kwargs)
368 return val
369 def base_Validate(self, *_args, **_kwargs):
370 val = apply(windows2c.wxPyControl_base_Validate,(self,) + _args, _kwargs)
371 return val
372 def base_AcceptsFocus(self, *_args, **_kwargs):
373 val = apply(windows2c.wxPyControl_base_AcceptsFocus,(self,) + _args, _kwargs)
374 return val
375 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
376 val = apply(windows2c.wxPyControl_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
377 return val
378 def base_GetMaxSize(self, *_args, **_kwargs):
379 val = apply(windows2c.wxPyControl_base_GetMaxSize,(self,) + _args, _kwargs)
380 if val: val = wxSizePtr(val) ; val.thisown = 1
381 return val
382 def base_AddChild(self, *_args, **_kwargs):
383 val = apply(windows2c.wxPyControl_base_AddChild,(self,) + _args, _kwargs)
384 return val
385 def base_RemoveChild(self, *_args, **_kwargs):
386 val = apply(windows2c.wxPyControl_base_RemoveChild,(self,) + _args, _kwargs)
387 return val
388 def __repr__(self):
389 return "<C wxPyControl instance at %s>" % (self.this,)
390 class wxPyControl(wxPyControlPtr):
391 def __init__(self,*_args,**_kwargs):
392 self.this = apply(windows2c.new_wxPyControl,_args,_kwargs)
393 self.thisown = 1
394 self._setCallbackInfo(self, wxPyControl)
395 self._setOORInfo(self)
396
397
398
399
400 class wxPyPanelPtr(wxPanelPtr):
401 def __init__(self,this):
402 self.this = this
403 self.thisown = 0
404 def _setCallbackInfo(self, *_args, **_kwargs):
405 val = apply(windows2c.wxPyPanel__setCallbackInfo,(self,) + _args, _kwargs)
406 return val
407 def base_DoMoveWindow(self, *_args, **_kwargs):
408 val = apply(windows2c.wxPyPanel_base_DoMoveWindow,(self,) + _args, _kwargs)
409 return val
410 def base_DoSetSize(self, *_args, **_kwargs):
411 val = apply(windows2c.wxPyPanel_base_DoSetSize,(self,) + _args, _kwargs)
412 return val
413 def base_DoSetClientSize(self, *_args, **_kwargs):
414 val = apply(windows2c.wxPyPanel_base_DoSetClientSize,(self,) + _args, _kwargs)
415 return val
416 def base_DoSetVirtualSize(self, *_args, **_kwargs):
417 val = apply(windows2c.wxPyPanel_base_DoSetVirtualSize,(self,) + _args, _kwargs)
418 return val
419 def base_DoGetSize(self, *_args, **_kwargs):
420 val = apply(windows2c.wxPyPanel_base_DoGetSize,(self,) + _args, _kwargs)
421 return val
422 def base_DoGetClientSize(self, *_args, **_kwargs):
423 val = apply(windows2c.wxPyPanel_base_DoGetClientSize,(self,) + _args, _kwargs)
424 return val
425 def base_DoGetPosition(self, *_args, **_kwargs):
426 val = apply(windows2c.wxPyPanel_base_DoGetPosition,(self,) + _args, _kwargs)
427 return val
428 def base_DoGetVirtualSize(self, *_args, **_kwargs):
429 val = apply(windows2c.wxPyPanel_base_DoGetVirtualSize,(self,) + _args, _kwargs)
430 if val: val = wxSizePtr(val) ; val.thisown = 1
431 return val
432 def base_DoGetBestSize(self, *_args, **_kwargs):
433 val = apply(windows2c.wxPyPanel_base_DoGetBestSize,(self,) + _args, _kwargs)
434 if val: val = wxSizePtr(val) ; val.thisown = 1
435 return val
436 def base_InitDialog(self, *_args, **_kwargs):
437 val = apply(windows2c.wxPyPanel_base_InitDialog,(self,) + _args, _kwargs)
438 return val
439 def base_TransferDataToWindow(self, *_args, **_kwargs):
440 val = apply(windows2c.wxPyPanel_base_TransferDataToWindow,(self,) + _args, _kwargs)
441 return val
442 def base_TransferDataFromWindow(self, *_args, **_kwargs):
443 val = apply(windows2c.wxPyPanel_base_TransferDataFromWindow,(self,) + _args, _kwargs)
444 return val
445 def base_Validate(self, *_args, **_kwargs):
446 val = apply(windows2c.wxPyPanel_base_Validate,(self,) + _args, _kwargs)
447 return val
448 def base_AcceptsFocus(self, *_args, **_kwargs):
449 val = apply(windows2c.wxPyPanel_base_AcceptsFocus,(self,) + _args, _kwargs)
450 return val
451 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
452 val = apply(windows2c.wxPyPanel_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
453 return val
454 def base_GetMaxSize(self, *_args, **_kwargs):
455 val = apply(windows2c.wxPyPanel_base_GetMaxSize,(self,) + _args, _kwargs)
456 if val: val = wxSizePtr(val) ; val.thisown = 1
457 return val
458 def base_AddChild(self, *_args, **_kwargs):
459 val = apply(windows2c.wxPyPanel_base_AddChild,(self,) + _args, _kwargs)
460 return val
461 def base_RemoveChild(self, *_args, **_kwargs):
462 val = apply(windows2c.wxPyPanel_base_RemoveChild,(self,) + _args, _kwargs)
463 return val
464 def __repr__(self):
465 return "<C wxPyPanel instance at %s>" % (self.this,)
466 class wxPyPanel(wxPyPanelPtr):
467 def __init__(self,*_args,**_kwargs):
468 self.this = apply(windows2c.new_wxPyPanel,_args,_kwargs)
469 self.thisown = 1
470 self._setCallbackInfo(self, wxPyPanel)
471 self._setOORInfo(self)
472
473
474
475
476
477
478 #-------------- FUNCTION WRAPPERS ------------------
479
480
481
482 #-------------- VARIABLE WRAPPERS ------------------
483
484 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
485 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
486 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
487 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
488 wxEVT_COMMAND_SPLITTER_UNSPLIT = windows2c.wxEVT_COMMAND_SPLITTER_UNSPLIT
489 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = windows2c.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
490 wxSPLIT_HORIZONTAL = windows2c.wxSPLIT_HORIZONTAL
491 wxSPLIT_VERTICAL = windows2c.wxSPLIT_VERTICAL
492 wxSPLIT_DRAG_NONE = windows2c.wxSPLIT_DRAG_NONE
493 wxSPLIT_DRAG_DRAGGING = windows2c.wxSPLIT_DRAG_DRAGGING
494 wxSPLIT_DRAG_LEFT_DOWN = windows2c.wxSPLIT_DRAG_LEFT_DOWN