1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
14 from controls
import *
20 def EVT_NOTEBOOK_PAGE_CHANGED(win
, id, func
):
21 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, func
)
23 def EVT_NOTEBOOK_PAGE_CHANGING(win
, id, func
):
24 win
.Connect(id, -1, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, func
)
28 def EVT_LISTBOOK_PAGE_CHANGED(win
, id, func
):
29 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, func
)
31 def EVT_LISTBOOK_PAGE_CHANGING(win
, id, func
):
32 win
.Connect(id, -1, wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, func
)
34 class wxBookCtrlPtr(wxControlPtr
):
35 def __init__(self
,this
):
38 def GetPageCount(self
, *_args
, **_kwargs
):
39 val
= windows2c
.wxBookCtrl_GetPageCount(self
, *_args
, **_kwargs
)
41 def GetPage(self
, *_args
, **_kwargs
):
42 val
= windows2c
.wxBookCtrl_GetPage(self
, *_args
, **_kwargs
)
44 def GetSelection(self
, *_args
, **_kwargs
):
45 val
= windows2c
.wxBookCtrl_GetSelection(self
, *_args
, **_kwargs
)
47 def SetPageText(self
, *_args
, **_kwargs
):
48 val
= windows2c
.wxBookCtrl_SetPageText(self
, *_args
, **_kwargs
)
50 def GetPageText(self
, *_args
, **_kwargs
):
51 val
= windows2c
.wxBookCtrl_GetPageText(self
, *_args
, **_kwargs
)
53 def SetImageList(self
, *_args
, **_kwargs
):
54 val
= windows2c
.wxBookCtrl_SetImageList(self
, *_args
, **_kwargs
)
56 def AssignImageList(self
, *_args
, **_kwargs
):
57 val
= windows2c
.wxBookCtrl_AssignImageList(self
, *_args
, **_kwargs
)
60 def GetImageList(self
, *_args
, **_kwargs
):
61 val
= windows2c
.wxBookCtrl_GetImageList(self
, *_args
, **_kwargs
)
63 def GetPageImage(self
, *_args
, **_kwargs
):
64 val
= windows2c
.wxBookCtrl_GetPageImage(self
, *_args
, **_kwargs
)
66 def SetPageImage(self
, *_args
, **_kwargs
):
67 val
= windows2c
.wxBookCtrl_SetPageImage(self
, *_args
, **_kwargs
)
69 def SetPageSize(self
, *_args
, **_kwargs
):
70 val
= windows2c
.wxBookCtrl_SetPageSize(self
, *_args
, **_kwargs
)
72 def CalcSizeFromPage(self
, *_args
, **_kwargs
):
73 val
= windows2c
.wxBookCtrl_CalcSizeFromPage(self
, *_args
, **_kwargs
)
74 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
76 def DeletePage(self
, *_args
, **_kwargs
):
77 val
= windows2c
.wxBookCtrl_DeletePage(self
, *_args
, **_kwargs
)
79 def RemovePage(self
, *_args
, **_kwargs
):
80 val
= windows2c
.wxBookCtrl_RemovePage(self
, *_args
, **_kwargs
)
82 def DeleteAllPages(self
, *_args
, **_kwargs
):
83 val
= windows2c
.wxBookCtrl_DeleteAllPages(self
, *_args
, **_kwargs
)
85 def AddPage(self
, *_args
, **_kwargs
):
86 val
= windows2c
.wxBookCtrl_AddPage(self
, *_args
, **_kwargs
)
88 def InsertPage(self
, *_args
, **_kwargs
):
89 val
= windows2c
.wxBookCtrl_InsertPage(self
, *_args
, **_kwargs
)
91 def SetSelection(self
, *_args
, **_kwargs
):
92 val
= windows2c
.wxBookCtrl_SetSelection(self
, *_args
, **_kwargs
)
94 def AdvanceSelection(self
, *_args
, **_kwargs
):
95 val
= windows2c
.wxBookCtrl_AdvanceSelection(self
, *_args
, **_kwargs
)
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
):
106 class wxBookCtrlEventPtr(wxNotifyEventPtr
):
107 def __init__(self
,this
):
110 def GetSelection(self
, *_args
, **_kwargs
):
111 val
= windows2c
.wxBookCtrlEvent_GetSelection(self
, *_args
, **_kwargs
)
113 def SetSelection(self
, *_args
, **_kwargs
):
114 val
= windows2c
.wxBookCtrlEvent_SetSelection(self
, *_args
, **_kwargs
)
116 def GetOldSelection(self
, *_args
, **_kwargs
):
117 val
= windows2c
.wxBookCtrlEvent_GetOldSelection(self
, *_args
, **_kwargs
)
119 def SetOldSelection(self
, *_args
, **_kwargs
):
120 val
= windows2c
.wxBookCtrlEvent_SetOldSelection(self
, *_args
, **_kwargs
)
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
)
132 class wxNotebookPtr(wxBookCtrlPtr
):
133 def __init__(self
,this
):
136 def Create(self
, *_args
, **_kwargs
):
137 val
= windows2c
.wxNotebook_Create(self
, *_args
, **_kwargs
)
139 def GetRowCount(self
, *_args
, **_kwargs
):
140 val
= windows2c
.wxNotebook_GetRowCount(self
, *_args
, **_kwargs
)
142 def SetPadding(self
, *_args
, **_kwargs
):
143 val
= windows2c
.wxNotebook_SetPadding(self
, *_args
, **_kwargs
)
145 def SetTabSize(self
, *_args
, **_kwargs
):
146 val
= windows2c
.wxNotebook_SetTabSize(self
, *_args
, **_kwargs
)
148 def HitTest(self
, *_args
, **_kwargs
):
149 val
= windows2c
.wxNotebook_HitTest(self
, *_args
, **_kwargs
)
151 def CalcSizeFromPage(self
, *_args
, **_kwargs
):
152 val
= windows2c
.wxNotebook_CalcSizeFromPage(self
, *_args
, **_kwargs
)
153 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
156 return "<%s.%s instance; proxy of C++ wxNotebook instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
157 class wxNotebook(wxNotebookPtr
):
158 def __init__(self
,*_args
,**_kwargs
):
159 self
.this
= windows2c
.new_wxNotebook(*_args
,**_kwargs
)
161 self
._setOORInfo
(self
)
165 def wxPreNotebook(*_args
,**_kwargs
):
166 val
= wxNotebookPtr(windows2c
.new_wxPreNotebook(*_args
,**_kwargs
))
172 class wxNotebookEventPtr(wxNotifyEventPtr
):
173 def __init__(self
,this
):
176 def GetSelection(self
, *_args
, **_kwargs
):
177 val
= windows2c
.wxNotebookEvent_GetSelection(self
, *_args
, **_kwargs
)
179 def GetOldSelection(self
, *_args
, **_kwargs
):
180 val
= windows2c
.wxNotebookEvent_GetOldSelection(self
, *_args
, **_kwargs
)
182 def SetOldSelection(self
, *_args
, **_kwargs
):
183 val
= windows2c
.wxNotebookEvent_SetOldSelection(self
, *_args
, **_kwargs
)
185 def SetSelection(self
, *_args
, **_kwargs
):
186 val
= windows2c
.wxNotebookEvent_SetSelection(self
, *_args
, **_kwargs
)
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
)
198 class wxListbookPtr(wxBookCtrlPtr
):
199 def __init__(self
,this
):
202 def Create(self
, *_args
, **_kwargs
):
203 val
= windows2c
.wxListbook_Create(self
, *_args
, **_kwargs
)
205 def IsVertical(self
, *_args
, **_kwargs
):
206 val
= windows2c
.wxListbook_IsVertical(self
, *_args
, **_kwargs
)
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
)
214 self
._setOORInfo
(self
)
218 def wxPreListbook(*_args
,**_kwargs
):
219 val
= wxListbookPtr(windows2c
.new_wxPreListbook(*_args
,**_kwargs
))
225 class wxListbookEventPtr(wxBookCtrlEventPtr
):
226 def __init__(self
,this
):
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
)
239 class wxSplitterEventPtr(wxNotifyEventPtr
):
240 def __init__(self
,this
):
243 def GetSashPosition(self
, *_args
, **_kwargs
):
244 val
= windows2c
.wxSplitterEvent_GetSashPosition(self
, *_args
, **_kwargs
)
246 def GetX(self
, *_args
, **_kwargs
):
247 val
= windows2c
.wxSplitterEvent_GetX(self
, *_args
, **_kwargs
)
249 def GetY(self
, *_args
, **_kwargs
):
250 val
= windows2c
.wxSplitterEvent_GetY(self
, *_args
, **_kwargs
)
252 def GetWindowBeingRemoved(self
, *_args
, **_kwargs
):
253 val
= windows2c
.wxSplitterEvent_GetWindowBeingRemoved(self
, *_args
, **_kwargs
)
255 def SetSashPosition(self
, *_args
, **_kwargs
):
256 val
= windows2c
.wxSplitterEvent_SetSashPosition(self
, *_args
, **_kwargs
)
259 return "<%s.%s instance; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
260 class wxSplitterEvent(wxSplitterEventPtr
):
261 def __init__(self
,*_args
,**_kwargs
):
262 self
.this
= windows2c
.new_wxSplitterEvent(*_args
,**_kwargs
)
268 class wxSplitterWindowPtr(wxWindowPtr
):
269 def __init__(self
,this
):
272 def Create(self
, *_args
, **_kwargs
):
273 val
= windows2c
.wxSplitterWindow_Create(self
, *_args
, **_kwargs
)
275 def GetWindow1(self
, *_args
, **_kwargs
):
276 val
= windows2c
.wxSplitterWindow_GetWindow1(self
, *_args
, **_kwargs
)
278 def GetWindow2(self
, *_args
, **_kwargs
):
279 val
= windows2c
.wxSplitterWindow_GetWindow2(self
, *_args
, **_kwargs
)
281 def SetSplitMode(self
, *_args
, **_kwargs
):
282 val
= windows2c
.wxSplitterWindow_SetSplitMode(self
, *_args
, **_kwargs
)
284 def GetSplitMode(self
, *_args
, **_kwargs
):
285 val
= windows2c
.wxSplitterWindow_GetSplitMode(self
, *_args
, **_kwargs
)
287 def Initialize(self
, *_args
, **_kwargs
):
288 val
= windows2c
.wxSplitterWindow_Initialize(self
, *_args
, **_kwargs
)
290 def SplitVertically(self
, *_args
, **_kwargs
):
291 val
= windows2c
.wxSplitterWindow_SplitVertically(self
, *_args
, **_kwargs
)
293 def SplitHorizontally(self
, *_args
, **_kwargs
):
294 val
= windows2c
.wxSplitterWindow_SplitHorizontally(self
, *_args
, **_kwargs
)
296 def Unsplit(self
, *_args
, **_kwargs
):
297 val
= windows2c
.wxSplitterWindow_Unsplit(self
, *_args
, **_kwargs
)
299 def ReplaceWindow(self
, *_args
, **_kwargs
):
300 val
= windows2c
.wxSplitterWindow_ReplaceWindow(self
, *_args
, **_kwargs
)
302 def IsSplit(self
, *_args
, **_kwargs
):
303 val
= windows2c
.wxSplitterWindow_IsSplit(self
, *_args
, **_kwargs
)
305 def SetSashSize(self
, *_args
, **_kwargs
):
306 val
= windows2c
.wxSplitterWindow_SetSashSize(self
, *_args
, **_kwargs
)
308 def SetBorderSize(self
, *_args
, **_kwargs
):
309 val
= windows2c
.wxSplitterWindow_SetBorderSize(self
, *_args
, **_kwargs
)
311 def GetSashSize(self
, *_args
, **_kwargs
):
312 val
= windows2c
.wxSplitterWindow_GetSashSize(self
, *_args
, **_kwargs
)
314 def GetBorderSize(self
, *_args
, **_kwargs
):
315 val
= windows2c
.wxSplitterWindow_GetBorderSize(self
, *_args
, **_kwargs
)
317 def SetSashPosition(self
, *_args
, **_kwargs
):
318 val
= windows2c
.wxSplitterWindow_SetSashPosition(self
, *_args
, **_kwargs
)
320 def GetSashPosition(self
, *_args
, **_kwargs
):
321 val
= windows2c
.wxSplitterWindow_GetSashPosition(self
, *_args
, **_kwargs
)
323 def SetMinimumPaneSize(self
, *_args
, **_kwargs
):
324 val
= windows2c
.wxSplitterWindow_SetMinimumPaneSize(self
, *_args
, **_kwargs
)
326 def GetMinimumPaneSize(self
, *_args
, **_kwargs
):
327 val
= windows2c
.wxSplitterWindow_GetMinimumPaneSize(self
, *_args
, **_kwargs
)
329 def SizeWindows(self
, *_args
, **_kwargs
):
330 val
= windows2c
.wxSplitterWindow_SizeWindows(self
, *_args
, **_kwargs
)
332 def SetNeedUpdating(self
, *_args
, **_kwargs
):
333 val
= windows2c
.wxSplitterWindow_SetNeedUpdating(self
, *_args
, **_kwargs
)
335 def GetNeedUpdating(self
, *_args
, **_kwargs
):
336 val
= windows2c
.wxSplitterWindow_GetNeedUpdating(self
, *_args
, **_kwargs
)
339 return "<%s.%s instance; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
340 class wxSplitterWindow(wxSplitterWindowPtr
):
341 def __init__(self
,*_args
,**_kwargs
):
342 self
.this
= windows2c
.new_wxSplitterWindow(*_args
,**_kwargs
)
344 self
._setOORInfo
(self
)
348 def wxPreSplitterWindow(*_args
,**_kwargs
):
349 val
= wxSplitterWindowPtr(windows2c
.new_wxPreSplitterWindow(*_args
,**_kwargs
))
355 class wxPyWindowPtr(wxWindowPtr
):
356 def __init__(self
,this
):
359 def _setCallbackInfo(self
, *_args
, **_kwargs
):
360 val
= windows2c
.wxPyWindow__setCallbackInfo(self
, *_args
, **_kwargs
)
362 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
363 val
= windows2c
.wxPyWindow_base_DoMoveWindow(self
, *_args
, **_kwargs
)
365 def base_DoSetSize(self
, *_args
, **_kwargs
):
366 val
= windows2c
.wxPyWindow_base_DoSetSize(self
, *_args
, **_kwargs
)
368 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
369 val
= windows2c
.wxPyWindow_base_DoSetClientSize(self
, *_args
, **_kwargs
)
371 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
372 val
= windows2c
.wxPyWindow_base_DoSetVirtualSize(self
, *_args
, **_kwargs
)
374 def base_DoGetSize(self
, *_args
, **_kwargs
):
375 val
= windows2c
.wxPyWindow_base_DoGetSize(self
, *_args
, **_kwargs
)
377 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
378 val
= windows2c
.wxPyWindow_base_DoGetClientSize(self
, *_args
, **_kwargs
)
380 def base_DoGetPosition(self
, *_args
, **_kwargs
):
381 val
= windows2c
.wxPyWindow_base_DoGetPosition(self
, *_args
, **_kwargs
)
383 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
384 val
= windows2c
.wxPyWindow_base_DoGetVirtualSize(self
, *_args
, **_kwargs
)
385 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
387 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
388 val
= windows2c
.wxPyWindow_base_DoGetBestSize(self
, *_args
, **_kwargs
)
389 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
391 def base_InitDialog(self
, *_args
, **_kwargs
):
392 val
= windows2c
.wxPyWindow_base_InitDialog(self
, *_args
, **_kwargs
)
394 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
395 val
= windows2c
.wxPyWindow_base_TransferDataToWindow(self
, *_args
, **_kwargs
)
397 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
398 val
= windows2c
.wxPyWindow_base_TransferDataFromWindow(self
, *_args
, **_kwargs
)
400 def base_Validate(self
, *_args
, **_kwargs
):
401 val
= windows2c
.wxPyWindow_base_Validate(self
, *_args
, **_kwargs
)
403 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
404 val
= windows2c
.wxPyWindow_base_AcceptsFocus(self
, *_args
, **_kwargs
)
406 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
407 val
= windows2c
.wxPyWindow_base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
)
409 def base_GetMaxSize(self
, *_args
, **_kwargs
):
410 val
= windows2c
.wxPyWindow_base_GetMaxSize(self
, *_args
, **_kwargs
)
411 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
413 def base_AddChild(self
, *_args
, **_kwargs
):
414 val
= windows2c
.wxPyWindow_base_AddChild(self
, *_args
, **_kwargs
)
416 def base_RemoveChild(self
, *_args
, **_kwargs
):
417 val
= windows2c
.wxPyWindow_base_RemoveChild(self
, *_args
, **_kwargs
)
420 return "<%s.%s instance; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
421 class wxPyWindow(wxPyWindowPtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= windows2c
.new_wxPyWindow(*_args
,**_kwargs
)
425 self
._setCallbackInfo
(self
, wxPyWindow
)
426 self
._setOORInfo
(self
)
431 class wxPyControlPtr(wxControlPtr
):
432 def __init__(self
,this
):
435 def _setCallbackInfo(self
, *_args
, **_kwargs
):
436 val
= windows2c
.wxPyControl__setCallbackInfo(self
, *_args
, **_kwargs
)
438 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
439 val
= windows2c
.wxPyControl_base_DoMoveWindow(self
, *_args
, **_kwargs
)
441 def base_DoSetSize(self
, *_args
, **_kwargs
):
442 val
= windows2c
.wxPyControl_base_DoSetSize(self
, *_args
, **_kwargs
)
444 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
445 val
= windows2c
.wxPyControl_base_DoSetClientSize(self
, *_args
, **_kwargs
)
447 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
448 val
= windows2c
.wxPyControl_base_DoSetVirtualSize(self
, *_args
, **_kwargs
)
450 def base_DoGetSize(self
, *_args
, **_kwargs
):
451 val
= windows2c
.wxPyControl_base_DoGetSize(self
, *_args
, **_kwargs
)
453 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
454 val
= windows2c
.wxPyControl_base_DoGetClientSize(self
, *_args
, **_kwargs
)
456 def base_DoGetPosition(self
, *_args
, **_kwargs
):
457 val
= windows2c
.wxPyControl_base_DoGetPosition(self
, *_args
, **_kwargs
)
459 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
460 val
= windows2c
.wxPyControl_base_DoGetVirtualSize(self
, *_args
, **_kwargs
)
461 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
463 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
464 val
= windows2c
.wxPyControl_base_DoGetBestSize(self
, *_args
, **_kwargs
)
465 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
467 def base_InitDialog(self
, *_args
, **_kwargs
):
468 val
= windows2c
.wxPyControl_base_InitDialog(self
, *_args
, **_kwargs
)
470 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
471 val
= windows2c
.wxPyControl_base_TransferDataToWindow(self
, *_args
, **_kwargs
)
473 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
474 val
= windows2c
.wxPyControl_base_TransferDataFromWindow(self
, *_args
, **_kwargs
)
476 def base_Validate(self
, *_args
, **_kwargs
):
477 val
= windows2c
.wxPyControl_base_Validate(self
, *_args
, **_kwargs
)
479 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
480 val
= windows2c
.wxPyControl_base_AcceptsFocus(self
, *_args
, **_kwargs
)
482 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
483 val
= windows2c
.wxPyControl_base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
)
485 def base_GetMaxSize(self
, *_args
, **_kwargs
):
486 val
= windows2c
.wxPyControl_base_GetMaxSize(self
, *_args
, **_kwargs
)
487 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
489 def base_AddChild(self
, *_args
, **_kwargs
):
490 val
= windows2c
.wxPyControl_base_AddChild(self
, *_args
, **_kwargs
)
492 def base_RemoveChild(self
, *_args
, **_kwargs
):
493 val
= windows2c
.wxPyControl_base_RemoveChild(self
, *_args
, **_kwargs
)
496 return "<%s.%s instance; proxy of C++ wxPyControl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
497 class wxPyControl(wxPyControlPtr
):
498 def __init__(self
,*_args
,**_kwargs
):
499 self
.this
= windows2c
.new_wxPyControl(*_args
,**_kwargs
)
501 self
._setCallbackInfo
(self
, wxPyControl
)
502 self
._setOORInfo
(self
)
507 class wxPyPanelPtr(wxPanelPtr
):
508 def __init__(self
,this
):
511 def _setCallbackInfo(self
, *_args
, **_kwargs
):
512 val
= windows2c
.wxPyPanel__setCallbackInfo(self
, *_args
, **_kwargs
)
514 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
515 val
= windows2c
.wxPyPanel_base_DoMoveWindow(self
, *_args
, **_kwargs
)
517 def base_DoSetSize(self
, *_args
, **_kwargs
):
518 val
= windows2c
.wxPyPanel_base_DoSetSize(self
, *_args
, **_kwargs
)
520 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
521 val
= windows2c
.wxPyPanel_base_DoSetClientSize(self
, *_args
, **_kwargs
)
523 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
524 val
= windows2c
.wxPyPanel_base_DoSetVirtualSize(self
, *_args
, **_kwargs
)
526 def base_DoGetSize(self
, *_args
, **_kwargs
):
527 val
= windows2c
.wxPyPanel_base_DoGetSize(self
, *_args
, **_kwargs
)
529 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
530 val
= windows2c
.wxPyPanel_base_DoGetClientSize(self
, *_args
, **_kwargs
)
532 def base_DoGetPosition(self
, *_args
, **_kwargs
):
533 val
= windows2c
.wxPyPanel_base_DoGetPosition(self
, *_args
, **_kwargs
)
535 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
536 val
= windows2c
.wxPyPanel_base_DoGetVirtualSize(self
, *_args
, **_kwargs
)
537 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
539 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
540 val
= windows2c
.wxPyPanel_base_DoGetBestSize(self
, *_args
, **_kwargs
)
541 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
543 def base_InitDialog(self
, *_args
, **_kwargs
):
544 val
= windows2c
.wxPyPanel_base_InitDialog(self
, *_args
, **_kwargs
)
546 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
547 val
= windows2c
.wxPyPanel_base_TransferDataToWindow(self
, *_args
, **_kwargs
)
549 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
550 val
= windows2c
.wxPyPanel_base_TransferDataFromWindow(self
, *_args
, **_kwargs
)
552 def base_Validate(self
, *_args
, **_kwargs
):
553 val
= windows2c
.wxPyPanel_base_Validate(self
, *_args
, **_kwargs
)
555 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
556 val
= windows2c
.wxPyPanel_base_AcceptsFocus(self
, *_args
, **_kwargs
)
558 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
559 val
= windows2c
.wxPyPanel_base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
)
561 def base_GetMaxSize(self
, *_args
, **_kwargs
):
562 val
= windows2c
.wxPyPanel_base_GetMaxSize(self
, *_args
, **_kwargs
)
563 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
565 def base_AddChild(self
, *_args
, **_kwargs
):
566 val
= windows2c
.wxPyPanel_base_AddChild(self
, *_args
, **_kwargs
)
568 def base_RemoveChild(self
, *_args
, **_kwargs
):
569 val
= windows2c
.wxPyPanel_base_RemoveChild(self
, *_args
, **_kwargs
)
572 return "<%s.%s instance; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
573 class wxPyPanel(wxPyPanelPtr
):
574 def __init__(self
,*_args
,**_kwargs
):
575 self
.this
= windows2c
.new_wxPyPanel(*_args
,**_kwargs
)
577 self
._setCallbackInfo
(self
, wxPyPanel
)
578 self
._setOORInfo
(self
)
585 #-------------- FUNCTION WRAPPERS ------------------
589 #-------------- VARIABLE WRAPPERS ------------------
591 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
592 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
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
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
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
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