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
)
35 def EVT_TASKBAR_MOVE(win
, func
):
36 win
.Connect(-1, -1, wxEVT_TASKBAR_MOVE
, func
)
38 def EVT_TASKBAR_LEFT_DOWN(win
, func
):
39 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DOWN
, func
)
41 def EVT_TASKBAR_LEFT_UP(win
, func
):
42 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_UP
, func
)
44 def EVT_TASKBAR_RIGHT_DOWN(win
, func
):
45 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DOWN
, func
)
47 def EVT_TASKBAR_RIGHT_UP(win
, func
):
48 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_UP
, func
)
50 def EVT_TASKBAR_LEFT_DCLICK(win
, func
):
51 win
.Connect(-1, -1, wxEVT_TASKBAR_LEFT_DCLICK
, func
)
53 def EVT_TASKBAR_RIGHT_DCLICK(win
, func
):
54 win
.Connect(-1, -1, wxEVT_TASKBAR_RIGHT_DCLICK
, func
)
56 class wxBookCtrlPtr(wxControlPtr
):
57 def __init__(self
,this
):
60 def GetPageCount(self
, *_args
, **_kwargs
):
61 val
= windows2c
.wxBookCtrl_GetPageCount(self
, *_args
, **_kwargs
)
63 def GetPage(self
, *_args
, **_kwargs
):
64 val
= windows2c
.wxBookCtrl_GetPage(self
, *_args
, **_kwargs
)
66 def GetSelection(self
, *_args
, **_kwargs
):
67 val
= windows2c
.wxBookCtrl_GetSelection(self
, *_args
, **_kwargs
)
69 def SetPageText(self
, *_args
, **_kwargs
):
70 val
= windows2c
.wxBookCtrl_SetPageText(self
, *_args
, **_kwargs
)
72 def GetPageText(self
, *_args
, **_kwargs
):
73 val
= windows2c
.wxBookCtrl_GetPageText(self
, *_args
, **_kwargs
)
75 def SetImageList(self
, *_args
, **_kwargs
):
76 val
= windows2c
.wxBookCtrl_SetImageList(self
, *_args
, **_kwargs
)
78 def AssignImageList(self
, *_args
, **_kwargs
):
79 val
= windows2c
.wxBookCtrl_AssignImageList(self
, *_args
, **_kwargs
)
82 def GetImageList(self
, *_args
, **_kwargs
):
83 val
= windows2c
.wxBookCtrl_GetImageList(self
, *_args
, **_kwargs
)
85 def GetPageImage(self
, *_args
, **_kwargs
):
86 val
= windows2c
.wxBookCtrl_GetPageImage(self
, *_args
, **_kwargs
)
88 def SetPageImage(self
, *_args
, **_kwargs
):
89 val
= windows2c
.wxBookCtrl_SetPageImage(self
, *_args
, **_kwargs
)
91 def SetPageSize(self
, *_args
, **_kwargs
):
92 val
= windows2c
.wxBookCtrl_SetPageSize(self
, *_args
, **_kwargs
)
94 def CalcSizeFromPage(self
, *_args
, **_kwargs
):
95 val
= windows2c
.wxBookCtrl_CalcSizeFromPage(self
, *_args
, **_kwargs
)
96 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
98 def DeletePage(self
, *_args
, **_kwargs
):
99 val
= windows2c
.wxBookCtrl_DeletePage(self
, *_args
, **_kwargs
)
101 def RemovePage(self
, *_args
, **_kwargs
):
102 val
= windows2c
.wxBookCtrl_RemovePage(self
, *_args
, **_kwargs
)
104 def DeleteAllPages(self
, *_args
, **_kwargs
):
105 val
= windows2c
.wxBookCtrl_DeleteAllPages(self
, *_args
, **_kwargs
)
107 def AddPage(self
, *_args
, **_kwargs
):
108 val
= windows2c
.wxBookCtrl_AddPage(self
, *_args
, **_kwargs
)
110 def InsertPage(self
, *_args
, **_kwargs
):
111 val
= windows2c
.wxBookCtrl_InsertPage(self
, *_args
, **_kwargs
)
113 def SetSelection(self
, *_args
, **_kwargs
):
114 val
= windows2c
.wxBookCtrl_SetSelection(self
, *_args
, **_kwargs
)
116 def AdvanceSelection(self
, *_args
, **_kwargs
):
117 val
= windows2c
.wxBookCtrl_AdvanceSelection(self
, *_args
, **_kwargs
)
120 return "<%s.%s instance; proxy of C++ wxBookCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
121 class wxBookCtrl(wxBookCtrlPtr
):
122 def __init__(self
,this
):
128 class wxBookCtrlEventPtr(wxNotifyEventPtr
):
129 def __init__(self
,this
):
132 def GetSelection(self
, *_args
, **_kwargs
):
133 val
= windows2c
.wxBookCtrlEvent_GetSelection(self
, *_args
, **_kwargs
)
135 def SetSelection(self
, *_args
, **_kwargs
):
136 val
= windows2c
.wxBookCtrlEvent_SetSelection(self
, *_args
, **_kwargs
)
138 def GetOldSelection(self
, *_args
, **_kwargs
):
139 val
= windows2c
.wxBookCtrlEvent_GetOldSelection(self
, *_args
, **_kwargs
)
141 def SetOldSelection(self
, *_args
, **_kwargs
):
142 val
= windows2c
.wxBookCtrlEvent_SetOldSelection(self
, *_args
, **_kwargs
)
145 return "<%s.%s instance; proxy of C++ wxBookCtrlEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
146 class wxBookCtrlEvent(wxBookCtrlEventPtr
):
147 def __init__(self
,*_args
,**_kwargs
):
148 self
.this
= windows2c
.new_wxBookCtrlEvent(*_args
,**_kwargs
)
154 class wxNotebookPtr(wxBookCtrlPtr
):
155 def __init__(self
,this
):
158 def Create(self
, *_args
, **_kwargs
):
159 val
= windows2c
.wxNotebook_Create(self
, *_args
, **_kwargs
)
161 def GetRowCount(self
, *_args
, **_kwargs
):
162 val
= windows2c
.wxNotebook_GetRowCount(self
, *_args
, **_kwargs
)
164 def SetPadding(self
, *_args
, **_kwargs
):
165 val
= windows2c
.wxNotebook_SetPadding(self
, *_args
, **_kwargs
)
167 def SetTabSize(self
, *_args
, **_kwargs
):
168 val
= windows2c
.wxNotebook_SetTabSize(self
, *_args
, **_kwargs
)
170 def HitTest(self
, *_args
, **_kwargs
):
171 val
= windows2c
.wxNotebook_HitTest(self
, *_args
, **_kwargs
)
173 def CalcSizeFromPage(self
, *_args
, **_kwargs
):
174 val
= windows2c
.wxNotebook_CalcSizeFromPage(self
, *_args
, **_kwargs
)
175 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
177 def ApplyThemeBackground(self
, *_args
, **_kwargs
):
178 val
= windows2c
.wxNotebook_ApplyThemeBackground(self
, *_args
, **_kwargs
)
181 return "<%s.%s instance; proxy of C++ wxNotebook instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
182 class wxNotebook(wxNotebookPtr
):
183 def __init__(self
,*_args
,**_kwargs
):
184 self
.this
= windows2c
.new_wxNotebook(*_args
,**_kwargs
)
186 self
._setOORInfo
(self
)
190 def wxPreNotebook(*_args
,**_kwargs
):
191 val
= wxNotebookPtr(windows2c
.new_wxPreNotebook(*_args
,**_kwargs
))
197 class wxNotebookEventPtr(wxNotifyEventPtr
):
198 def __init__(self
,this
):
201 def GetSelection(self
, *_args
, **_kwargs
):
202 val
= windows2c
.wxNotebookEvent_GetSelection(self
, *_args
, **_kwargs
)
204 def GetOldSelection(self
, *_args
, **_kwargs
):
205 val
= windows2c
.wxNotebookEvent_GetOldSelection(self
, *_args
, **_kwargs
)
207 def SetOldSelection(self
, *_args
, **_kwargs
):
208 val
= windows2c
.wxNotebookEvent_SetOldSelection(self
, *_args
, **_kwargs
)
210 def SetSelection(self
, *_args
, **_kwargs
):
211 val
= windows2c
.wxNotebookEvent_SetSelection(self
, *_args
, **_kwargs
)
214 return "<%s.%s instance; proxy of C++ wxNotebookEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
215 class wxNotebookEvent(wxNotebookEventPtr
):
216 def __init__(self
,*_args
,**_kwargs
):
217 self
.this
= windows2c
.new_wxNotebookEvent(*_args
,**_kwargs
)
223 class wxListbookPtr(wxBookCtrlPtr
):
224 def __init__(self
,this
):
227 def Create(self
, *_args
, **_kwargs
):
228 val
= windows2c
.wxListbook_Create(self
, *_args
, **_kwargs
)
230 def IsVertical(self
, *_args
, **_kwargs
):
231 val
= windows2c
.wxListbook_IsVertical(self
, *_args
, **_kwargs
)
234 return "<%s.%s instance; proxy of C++ wxListbook instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
235 class wxListbook(wxListbookPtr
):
236 def __init__(self
,*_args
,**_kwargs
):
237 self
.this
= windows2c
.new_wxListbook(*_args
,**_kwargs
)
239 self
._setOORInfo
(self
)
243 def wxPreListbook(*_args
,**_kwargs
):
244 val
= wxListbookPtr(windows2c
.new_wxPreListbook(*_args
,**_kwargs
))
250 class wxListbookEventPtr(wxBookCtrlEventPtr
):
251 def __init__(self
,this
):
255 return "<%s.%s instance; proxy of C++ wxListbookEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
256 class wxListbookEvent(wxListbookEventPtr
):
257 def __init__(self
,*_args
,**_kwargs
):
258 self
.this
= windows2c
.new_wxListbookEvent(*_args
,**_kwargs
)
264 class wxSplitterEventPtr(wxNotifyEventPtr
):
265 def __init__(self
,this
):
268 def GetSashPosition(self
, *_args
, **_kwargs
):
269 val
= windows2c
.wxSplitterEvent_GetSashPosition(self
, *_args
, **_kwargs
)
271 def GetX(self
, *_args
, **_kwargs
):
272 val
= windows2c
.wxSplitterEvent_GetX(self
, *_args
, **_kwargs
)
274 def GetY(self
, *_args
, **_kwargs
):
275 val
= windows2c
.wxSplitterEvent_GetY(self
, *_args
, **_kwargs
)
277 def GetWindowBeingRemoved(self
, *_args
, **_kwargs
):
278 val
= windows2c
.wxSplitterEvent_GetWindowBeingRemoved(self
, *_args
, **_kwargs
)
280 def SetSashPosition(self
, *_args
, **_kwargs
):
281 val
= windows2c
.wxSplitterEvent_SetSashPosition(self
, *_args
, **_kwargs
)
284 return "<%s.%s instance; proxy of C++ wxSplitterEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
285 class wxSplitterEvent(wxSplitterEventPtr
):
286 def __init__(self
,*_args
,**_kwargs
):
287 self
.this
= windows2c
.new_wxSplitterEvent(*_args
,**_kwargs
)
293 class wxSplitterWindowPtr(wxWindowPtr
):
294 def __init__(self
,this
):
297 def Create(self
, *_args
, **_kwargs
):
298 val
= windows2c
.wxSplitterWindow_Create(self
, *_args
, **_kwargs
)
300 def GetWindow1(self
, *_args
, **_kwargs
):
301 val
= windows2c
.wxSplitterWindow_GetWindow1(self
, *_args
, **_kwargs
)
303 def GetWindow2(self
, *_args
, **_kwargs
):
304 val
= windows2c
.wxSplitterWindow_GetWindow2(self
, *_args
, **_kwargs
)
306 def SetSplitMode(self
, *_args
, **_kwargs
):
307 val
= windows2c
.wxSplitterWindow_SetSplitMode(self
, *_args
, **_kwargs
)
309 def GetSplitMode(self
, *_args
, **_kwargs
):
310 val
= windows2c
.wxSplitterWindow_GetSplitMode(self
, *_args
, **_kwargs
)
312 def Initialize(self
, *_args
, **_kwargs
):
313 val
= windows2c
.wxSplitterWindow_Initialize(self
, *_args
, **_kwargs
)
315 def SplitVertically(self
, *_args
, **_kwargs
):
316 val
= windows2c
.wxSplitterWindow_SplitVertically(self
, *_args
, **_kwargs
)
318 def SplitHorizontally(self
, *_args
, **_kwargs
):
319 val
= windows2c
.wxSplitterWindow_SplitHorizontally(self
, *_args
, **_kwargs
)
321 def Unsplit(self
, *_args
, **_kwargs
):
322 val
= windows2c
.wxSplitterWindow_Unsplit(self
, *_args
, **_kwargs
)
324 def ReplaceWindow(self
, *_args
, **_kwargs
):
325 val
= windows2c
.wxSplitterWindow_ReplaceWindow(self
, *_args
, **_kwargs
)
327 def IsSplit(self
, *_args
, **_kwargs
):
328 val
= windows2c
.wxSplitterWindow_IsSplit(self
, *_args
, **_kwargs
)
330 def SetSashSize(self
, *_args
, **_kwargs
):
331 val
= windows2c
.wxSplitterWindow_SetSashSize(self
, *_args
, **_kwargs
)
333 def SetBorderSize(self
, *_args
, **_kwargs
):
334 val
= windows2c
.wxSplitterWindow_SetBorderSize(self
, *_args
, **_kwargs
)
336 def GetSashSize(self
, *_args
, **_kwargs
):
337 val
= windows2c
.wxSplitterWindow_GetSashSize(self
, *_args
, **_kwargs
)
339 def GetBorderSize(self
, *_args
, **_kwargs
):
340 val
= windows2c
.wxSplitterWindow_GetBorderSize(self
, *_args
, **_kwargs
)
342 def SetSashPosition(self
, *_args
, **_kwargs
):
343 val
= windows2c
.wxSplitterWindow_SetSashPosition(self
, *_args
, **_kwargs
)
345 def GetSashPosition(self
, *_args
, **_kwargs
):
346 val
= windows2c
.wxSplitterWindow_GetSashPosition(self
, *_args
, **_kwargs
)
348 def SetMinimumPaneSize(self
, *_args
, **_kwargs
):
349 val
= windows2c
.wxSplitterWindow_SetMinimumPaneSize(self
, *_args
, **_kwargs
)
351 def GetMinimumPaneSize(self
, *_args
, **_kwargs
):
352 val
= windows2c
.wxSplitterWindow_GetMinimumPaneSize(self
, *_args
, **_kwargs
)
354 def SizeWindows(self
, *_args
, **_kwargs
):
355 val
= windows2c
.wxSplitterWindow_SizeWindows(self
, *_args
, **_kwargs
)
357 def SetNeedUpdating(self
, *_args
, **_kwargs
):
358 val
= windows2c
.wxSplitterWindow_SetNeedUpdating(self
, *_args
, **_kwargs
)
360 def GetNeedUpdating(self
, *_args
, **_kwargs
):
361 val
= windows2c
.wxSplitterWindow_GetNeedUpdating(self
, *_args
, **_kwargs
)
364 return "<%s.%s instance; proxy of C++ wxSplitterWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
365 class wxSplitterWindow(wxSplitterWindowPtr
):
366 def __init__(self
,*_args
,**_kwargs
):
367 self
.this
= windows2c
.new_wxSplitterWindow(*_args
,**_kwargs
)
369 self
._setOORInfo
(self
)
373 def wxPreSplitterWindow(*_args
,**_kwargs
):
374 val
= wxSplitterWindowPtr(windows2c
.new_wxPreSplitterWindow(*_args
,**_kwargs
))
380 class wxTaskBarIconEventPtr(wxEventPtr
):
381 def __init__(self
,this
):
385 return "<%s.%s instance; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
386 class wxTaskBarIconEvent(wxTaskBarIconEventPtr
):
387 def __init__(self
,*_args
,**_kwargs
):
388 self
.this
= windows2c
.new_wxTaskBarIconEvent(*_args
,**_kwargs
)
394 class wxTaskBarIconPtr(wxEvtHandlerPtr
):
395 def __init__(self
,this
):
398 def __del__(self
, delfunc
=windows2c
.delete_wxTaskBarIcon
):
399 if self
.thisown
== 1:
404 def SetIcon(self
, *_args
, **_kwargs
):
405 val
= windows2c
.wxTaskBarIcon_SetIcon(self
, *_args
, **_kwargs
)
407 def RemoveIcon(self
, *_args
, **_kwargs
):
408 val
= windows2c
.wxTaskBarIcon_RemoveIcon(self
, *_args
, **_kwargs
)
410 def PopupMenu(self
, *_args
, **_kwargs
):
411 val
= windows2c
.wxTaskBarIcon_PopupMenu(self
, *_args
, **_kwargs
)
413 def IsIconInstalled(self
, *_args
, **_kwargs
):
414 val
= windows2c
.wxTaskBarIcon_IsIconInstalled(self
, *_args
, **_kwargs
)
416 def IsOK(self
, *_args
, **_kwargs
):
417 val
= windows2c
.wxTaskBarIcon_IsOK(self
, *_args
, **_kwargs
)
420 return "<%s.%s instance; proxy of C++ wxTaskBarIcon instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
421 class wxTaskBarIcon(wxTaskBarIconPtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= windows2c
.new_wxTaskBarIcon(*_args
,**_kwargs
)
425 wx
._checkForCallback
(self
, 'OnMouseMove', wxEVT_TASKBAR_MOVE
)
426 wx
._checkForCallback
(self
, 'OnLButtonDown', wxEVT_TASKBAR_LEFT_DOWN
)
427 wx
._checkForCallback
(self
, 'OnLButtonUp', wxEVT_TASKBAR_LEFT_UP
)
428 wx
._checkForCallback
(self
, 'OnRButtonDown', wxEVT_TASKBAR_RIGHT_DOWN
)
429 wx
._checkForCallback
(self
, 'OnRButtonUp', wxEVT_TASKBAR_RIGHT_UP
)
430 wx
._checkForCallback
(self
, 'OnLButtonDClick',wxEVT_TASKBAR_LEFT_DCLICK
)
431 wx
._checkForCallback
(self
, 'OnRButtonDClick',wxEVT_TASKBAR_RIGHT_DCLICK
)
436 class wxPyWindowPtr(wxWindowPtr
):
437 def __init__(self
,this
):
440 def _setCallbackInfo(self
, *_args
, **_kwargs
):
441 val
= windows2c
.wxPyWindow__setCallbackInfo(self
, *_args
, **_kwargs
)
443 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
444 val
= windows2c
.wxPyWindow_base_DoMoveWindow(self
, *_args
, **_kwargs
)
446 def base_DoSetSize(self
, *_args
, **_kwargs
):
447 val
= windows2c
.wxPyWindow_base_DoSetSize(self
, *_args
, **_kwargs
)
449 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
450 val
= windows2c
.wxPyWindow_base_DoSetClientSize(self
, *_args
, **_kwargs
)
452 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
453 val
= windows2c
.wxPyWindow_base_DoSetVirtualSize(self
, *_args
, **_kwargs
)
455 def base_DoGetSize(self
, *_args
, **_kwargs
):
456 val
= windows2c
.wxPyWindow_base_DoGetSize(self
, *_args
, **_kwargs
)
458 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
459 val
= windows2c
.wxPyWindow_base_DoGetClientSize(self
, *_args
, **_kwargs
)
461 def base_DoGetPosition(self
, *_args
, **_kwargs
):
462 val
= windows2c
.wxPyWindow_base_DoGetPosition(self
, *_args
, **_kwargs
)
464 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
465 val
= windows2c
.wxPyWindow_base_DoGetVirtualSize(self
, *_args
, **_kwargs
)
466 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
468 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
469 val
= windows2c
.wxPyWindow_base_DoGetBestSize(self
, *_args
, **_kwargs
)
470 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
472 def base_InitDialog(self
, *_args
, **_kwargs
):
473 val
= windows2c
.wxPyWindow_base_InitDialog(self
, *_args
, **_kwargs
)
475 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
476 val
= windows2c
.wxPyWindow_base_TransferDataToWindow(self
, *_args
, **_kwargs
)
478 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
479 val
= windows2c
.wxPyWindow_base_TransferDataFromWindow(self
, *_args
, **_kwargs
)
481 def base_Validate(self
, *_args
, **_kwargs
):
482 val
= windows2c
.wxPyWindow_base_Validate(self
, *_args
, **_kwargs
)
484 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
485 val
= windows2c
.wxPyWindow_base_AcceptsFocus(self
, *_args
, **_kwargs
)
487 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
488 val
= windows2c
.wxPyWindow_base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
)
490 def base_GetMaxSize(self
, *_args
, **_kwargs
):
491 val
= windows2c
.wxPyWindow_base_GetMaxSize(self
, *_args
, **_kwargs
)
492 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
494 def base_AddChild(self
, *_args
, **_kwargs
):
495 val
= windows2c
.wxPyWindow_base_AddChild(self
, *_args
, **_kwargs
)
497 def base_RemoveChild(self
, *_args
, **_kwargs
):
498 val
= windows2c
.wxPyWindow_base_RemoveChild(self
, *_args
, **_kwargs
)
501 return "<%s.%s instance; proxy of C++ wxPyWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
502 class wxPyWindow(wxPyWindowPtr
):
503 def __init__(self
,*_args
,**_kwargs
):
504 self
.this
= windows2c
.new_wxPyWindow(*_args
,**_kwargs
)
506 self
._setCallbackInfo
(self
, wxPyWindow
)
507 self
._setOORInfo
(self
)
512 class wxPyControlPtr(wxControlPtr
):
513 def __init__(self
,this
):
516 def _setCallbackInfo(self
, *_args
, **_kwargs
):
517 val
= windows2c
.wxPyControl__setCallbackInfo(self
, *_args
, **_kwargs
)
519 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
520 val
= windows2c
.wxPyControl_base_DoMoveWindow(self
, *_args
, **_kwargs
)
522 def base_DoSetSize(self
, *_args
, **_kwargs
):
523 val
= windows2c
.wxPyControl_base_DoSetSize(self
, *_args
, **_kwargs
)
525 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
526 val
= windows2c
.wxPyControl_base_DoSetClientSize(self
, *_args
, **_kwargs
)
528 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
529 val
= windows2c
.wxPyControl_base_DoSetVirtualSize(self
, *_args
, **_kwargs
)
531 def base_DoGetSize(self
, *_args
, **_kwargs
):
532 val
= windows2c
.wxPyControl_base_DoGetSize(self
, *_args
, **_kwargs
)
534 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
535 val
= windows2c
.wxPyControl_base_DoGetClientSize(self
, *_args
, **_kwargs
)
537 def base_DoGetPosition(self
, *_args
, **_kwargs
):
538 val
= windows2c
.wxPyControl_base_DoGetPosition(self
, *_args
, **_kwargs
)
540 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
541 val
= windows2c
.wxPyControl_base_DoGetVirtualSize(self
, *_args
, **_kwargs
)
542 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
544 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
545 val
= windows2c
.wxPyControl_base_DoGetBestSize(self
, *_args
, **_kwargs
)
546 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
548 def base_InitDialog(self
, *_args
, **_kwargs
):
549 val
= windows2c
.wxPyControl_base_InitDialog(self
, *_args
, **_kwargs
)
551 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
552 val
= windows2c
.wxPyControl_base_TransferDataToWindow(self
, *_args
, **_kwargs
)
554 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
555 val
= windows2c
.wxPyControl_base_TransferDataFromWindow(self
, *_args
, **_kwargs
)
557 def base_Validate(self
, *_args
, **_kwargs
):
558 val
= windows2c
.wxPyControl_base_Validate(self
, *_args
, **_kwargs
)
560 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
561 val
= windows2c
.wxPyControl_base_AcceptsFocus(self
, *_args
, **_kwargs
)
563 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
564 val
= windows2c
.wxPyControl_base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
)
566 def base_GetMaxSize(self
, *_args
, **_kwargs
):
567 val
= windows2c
.wxPyControl_base_GetMaxSize(self
, *_args
, **_kwargs
)
568 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
570 def base_AddChild(self
, *_args
, **_kwargs
):
571 val
= windows2c
.wxPyControl_base_AddChild(self
, *_args
, **_kwargs
)
573 def base_RemoveChild(self
, *_args
, **_kwargs
):
574 val
= windows2c
.wxPyControl_base_RemoveChild(self
, *_args
, **_kwargs
)
577 return "<%s.%s instance; proxy of C++ wxPyControl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
578 class wxPyControl(wxPyControlPtr
):
579 def __init__(self
,*_args
,**_kwargs
):
580 self
.this
= windows2c
.new_wxPyControl(*_args
,**_kwargs
)
582 self
._setCallbackInfo
(self
, wxPyControl
)
583 self
._setOORInfo
(self
)
588 class wxPyPanelPtr(wxPanelPtr
):
589 def __init__(self
,this
):
592 def _setCallbackInfo(self
, *_args
, **_kwargs
):
593 val
= windows2c
.wxPyPanel__setCallbackInfo(self
, *_args
, **_kwargs
)
595 def base_DoMoveWindow(self
, *_args
, **_kwargs
):
596 val
= windows2c
.wxPyPanel_base_DoMoveWindow(self
, *_args
, **_kwargs
)
598 def base_DoSetSize(self
, *_args
, **_kwargs
):
599 val
= windows2c
.wxPyPanel_base_DoSetSize(self
, *_args
, **_kwargs
)
601 def base_DoSetClientSize(self
, *_args
, **_kwargs
):
602 val
= windows2c
.wxPyPanel_base_DoSetClientSize(self
, *_args
, **_kwargs
)
604 def base_DoSetVirtualSize(self
, *_args
, **_kwargs
):
605 val
= windows2c
.wxPyPanel_base_DoSetVirtualSize(self
, *_args
, **_kwargs
)
607 def base_DoGetSize(self
, *_args
, **_kwargs
):
608 val
= windows2c
.wxPyPanel_base_DoGetSize(self
, *_args
, **_kwargs
)
610 def base_DoGetClientSize(self
, *_args
, **_kwargs
):
611 val
= windows2c
.wxPyPanel_base_DoGetClientSize(self
, *_args
, **_kwargs
)
613 def base_DoGetPosition(self
, *_args
, **_kwargs
):
614 val
= windows2c
.wxPyPanel_base_DoGetPosition(self
, *_args
, **_kwargs
)
616 def base_DoGetVirtualSize(self
, *_args
, **_kwargs
):
617 val
= windows2c
.wxPyPanel_base_DoGetVirtualSize(self
, *_args
, **_kwargs
)
618 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
620 def base_DoGetBestSize(self
, *_args
, **_kwargs
):
621 val
= windows2c
.wxPyPanel_base_DoGetBestSize(self
, *_args
, **_kwargs
)
622 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
624 def base_InitDialog(self
, *_args
, **_kwargs
):
625 val
= windows2c
.wxPyPanel_base_InitDialog(self
, *_args
, **_kwargs
)
627 def base_TransferDataToWindow(self
, *_args
, **_kwargs
):
628 val
= windows2c
.wxPyPanel_base_TransferDataToWindow(self
, *_args
, **_kwargs
)
630 def base_TransferDataFromWindow(self
, *_args
, **_kwargs
):
631 val
= windows2c
.wxPyPanel_base_TransferDataFromWindow(self
, *_args
, **_kwargs
)
633 def base_Validate(self
, *_args
, **_kwargs
):
634 val
= windows2c
.wxPyPanel_base_Validate(self
, *_args
, **_kwargs
)
636 def base_AcceptsFocus(self
, *_args
, **_kwargs
):
637 val
= windows2c
.wxPyPanel_base_AcceptsFocus(self
, *_args
, **_kwargs
)
639 def base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
):
640 val
= windows2c
.wxPyPanel_base_AcceptsFocusFromKeyboard(self
, *_args
, **_kwargs
)
642 def base_GetMaxSize(self
, *_args
, **_kwargs
):
643 val
= windows2c
.wxPyPanel_base_GetMaxSize(self
, *_args
, **_kwargs
)
644 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
646 def base_AddChild(self
, *_args
, **_kwargs
):
647 val
= windows2c
.wxPyPanel_base_AddChild(self
, *_args
, **_kwargs
)
649 def base_RemoveChild(self
, *_args
, **_kwargs
):
650 val
= windows2c
.wxPyPanel_base_RemoveChild(self
, *_args
, **_kwargs
)
653 return "<%s.%s instance; proxy of C++ wxPyPanel instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
654 class wxPyPanel(wxPyPanelPtr
):
655 def __init__(self
,*_args
,**_kwargs
):
656 self
.this
= windows2c
.new_wxPyPanel(*_args
,**_kwargs
)
658 self
._setCallbackInfo
(self
, wxPyPanel
)
659 self
._setOORInfo
(self
)
666 #-------------- FUNCTION WRAPPERS ------------------
670 #-------------- VARIABLE WRAPPERS ------------------
672 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
673 wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
= windows2c
.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
674 wxNB_FIXEDWIDTH
= windows2c
.wxNB_FIXEDWIDTH
675 wxNB_TOP
= windows2c
.wxNB_TOP
676 wxNB_LEFT
= windows2c
.wxNB_LEFT
677 wxNB_RIGHT
= windows2c
.wxNB_RIGHT
678 wxNB_BOTTOM
= windows2c
.wxNB_BOTTOM
679 wxNB_MULTILINE
= windows2c
.wxNB_MULTILINE
680 wxNB_HITTEST_NOWHERE
= windows2c
.wxNB_HITTEST_NOWHERE
681 wxNB_HITTEST_ONICON
= windows2c
.wxNB_HITTEST_ONICON
682 wxNB_HITTEST_ONLABEL
= windows2c
.wxNB_HITTEST_ONLABEL
683 wxNB_HITTEST_ONITEM
= windows2c
.wxNB_HITTEST_ONITEM
684 wxLB_DEFAULT
= windows2c
.wxLB_DEFAULT
685 wxLB_TOP
= windows2c
.wxLB_TOP
686 wxLB_BOTTOM
= windows2c
.wxLB_BOTTOM
687 wxLB_LEFT
= windows2c
.wxLB_LEFT
688 wxLB_RIGHT
= windows2c
.wxLB_RIGHT
689 wxLB_ALIGN_MASK
= windows2c
.wxLB_ALIGN_MASK
690 wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
= windows2c
.wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
691 wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
= windows2c
.wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
692 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
693 wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
= windows2c
.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
694 wxEVT_COMMAND_SPLITTER_UNSPLIT
= windows2c
.wxEVT_COMMAND_SPLITTER_UNSPLIT
695 wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
= windows2c
.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
696 wxSPLIT_HORIZONTAL
= windows2c
.wxSPLIT_HORIZONTAL
697 wxSPLIT_VERTICAL
= windows2c
.wxSPLIT_VERTICAL
698 wxSPLIT_DRAG_NONE
= windows2c
.wxSPLIT_DRAG_NONE
699 wxSPLIT_DRAG_DRAGGING
= windows2c
.wxSPLIT_DRAG_DRAGGING
700 wxSPLIT_DRAG_LEFT_DOWN
= windows2c
.wxSPLIT_DRAG_LEFT_DOWN
701 wxSP_VERTICAL
= windows2c
.wxSP_VERTICAL
702 wxSP_HORIZONTAL
= windows2c
.wxSP_HORIZONTAL
703 wxSP_ARROW_KEYS
= windows2c
.wxSP_ARROW_KEYS
704 wxSP_WRAP
= windows2c
.wxSP_WRAP
705 wxSP_NOBORDER
= windows2c
.wxSP_NOBORDER
706 wxSP_3D
= windows2c
.wxSP_3D
707 wxSP_3DSASH
= windows2c
.wxSP_3DSASH
708 wxSP_3DBORDER
= windows2c
.wxSP_3DBORDER
709 wxSP_FULLSASH
= windows2c
.wxSP_FULLSASH
710 wxSP_BORDER
= windows2c
.wxSP_BORDER
711 wxSP_LIVE_UPDATE
= windows2c
.wxSP_LIVE_UPDATE
712 wxSP_PERMIT_UNSPLIT
= windows2c
.wxSP_PERMIT_UNSPLIT
713 wxEVT_TASKBAR_MOVE
= windows2c
.wxEVT_TASKBAR_MOVE
714 wxEVT_TASKBAR_LEFT_DOWN
= windows2c
.wxEVT_TASKBAR_LEFT_DOWN
715 wxEVT_TASKBAR_LEFT_UP
= windows2c
.wxEVT_TASKBAR_LEFT_UP
716 wxEVT_TASKBAR_RIGHT_DOWN
= windows2c
.wxEVT_TASKBAR_RIGHT_DOWN
717 wxEVT_TASKBAR_RIGHT_UP
= windows2c
.wxEVT_TASKBAR_RIGHT_UP
718 wxEVT_TASKBAR_LEFT_DCLICK
= windows2c
.wxEVT_TASKBAR_LEFT_DCLICK
719 wxEVT_TASKBAR_RIGHT_DCLICK
= windows2c
.wxEVT_TASKBAR_RIGHT_DCLICK