1 # This file was created automatically by SWIG.
7 class wxEvtHandlerPtr
:
8 def __init__(self
,this
):
11 def Connect(self
,arg0
,arg1
,arg2
,arg3
):
12 val
= windowsc
.wxEvtHandler_Connect(self
.this
,arg0
,arg1
,arg2
,arg3
)
15 return "<C wxEvtHandler instance>"
16 class wxEvtHandler(wxEvtHandlerPtr
):
17 def __init__(self
,this
):
23 class wxWindowPtr(wxEvtHandlerPtr
):
24 def __init__(self
,this
):
27 def CaptureMouse(self
):
28 val
= windowsc
.wxWindow_CaptureMouse(self
.this
)
30 def Center(self
,*args
):
31 val
= apply(windowsc
.wxWindow_Center
,(self
.this
,)+args
)
33 def Centre(self
,*args
):
34 val
= apply(windowsc
.wxWindow_Centre
,(self
.this
,)+args
)
36 def ClientToScreen(self
,arg0
,arg1
):
37 val
= windowsc
.wxWindow_ClientToScreen(self
.this
,arg0
,arg1
)
39 def Close(self
,*args
):
40 val
= apply(windowsc
.wxWindow_Close
,(self
.this
,)+args
)
43 val
= windowsc
.wxWindow_Destroy(self
.this
)
45 def DestroyChildren(self
):
46 val
= windowsc
.wxWindow_DestroyChildren(self
.this
)
48 def DragAcceptFiles(self
,arg0
):
49 val
= windowsc
.wxWindow_DragAcceptFiles(self
.this
,arg0
)
51 def Enable(self
,arg0
):
52 val
= windowsc
.wxWindow_Enable(self
.this
,arg0
)
55 val
= windowsc
.wxWindow_Fit(self
.this
)
57 def GetBackgroundColour(self
):
58 val
= windowsc
.wxWindow_GetBackgroundColour(self
.this
)
59 val
= wxColourPtr(val
)
62 def GetCharHeight(self
):
63 val
= windowsc
.wxWindow_GetCharHeight(self
.this
)
65 def GetCharWidth(self
):
66 val
= windowsc
.wxWindow_GetCharWidth(self
.this
)
68 def GetClientSize(self
):
69 val
= windowsc
.wxWindow_GetClientSize(self
.this
)
71 def GetConstraints(self
):
72 val
= windowsc
.wxWindow_GetConstraints(self
.this
)
73 val
= wxLayoutConstraintsPtr(val
)
75 def GetDefaultItem(self
):
76 val
= windowsc
.wxWindow_GetDefaultItem(self
.this
)
77 val
= wxButtonPtr(val
)
80 val
= windowsc
.wxWindow_GetFont(self
.this
)
83 def GetForegroundColour(self
):
84 val
= windowsc
.wxWindow_GetForegroundColour(self
.this
)
85 val
= wxColourPtr(val
)
88 def GetGrandParent(self
):
89 val
= windowsc
.wxWindow_GetGrandParent(self
.this
)
90 val
= wxWindowPtr(val
)
93 val
= windowsc
.wxWindow_GetId(self
.this
)
95 def GetPosition(self
):
96 val
= windowsc
.wxWindow_GetPosition(self
.this
)
99 val
= windowsc
.wxWindow_GetLabel(self
.this
)
102 val
= windowsc
.wxWindow_GetName(self
.this
)
105 val
= windowsc
.wxWindow_GetParent(self
.this
)
106 val
= wxWindowPtr(val
)
108 def GetReturnCode(self
):
109 val
= windowsc
.wxWindow_GetReturnCode(self
.this
)
111 def GetScrollThumb(self
,arg0
):
112 val
= windowsc
.wxWindow_GetScrollThumb(self
.this
,arg0
)
114 def GetScrollPos(self
,arg0
):
115 val
= windowsc
.wxWindow_GetScrollPos(self
.this
,arg0
)
117 def GetScrollRange(self
,arg0
):
118 val
= windowsc
.wxWindow_GetScrollRange(self
.this
,arg0
)
121 val
= windowsc
.wxWindow_GetSize(self
.this
)
123 def GetTextExtent(self
,arg0
):
124 val
= windowsc
.wxWindow_GetTextExtent(self
.this
,arg0
)
127 val
= windowsc
.wxWindow_GetTitle(self
.this
)
129 def GetWindowStyleFlag(self
):
130 val
= windowsc
.wxWindow_GetWindowStyleFlag(self
.this
)
132 def InitDialog(self
):
133 val
= windowsc
.wxWindow_InitDialog(self
.this
)
136 val
= windowsc
.wxWindow_IsEnabled(self
.this
)
138 def IsRetained(self
):
139 val
= windowsc
.wxWindow_IsRetained(self
.this
)
142 val
= windowsc
.wxWindow_IsShown(self
.this
)
145 val
= windowsc
.wxWindow_Layout(self
.this
)
147 def LoadFromResource(self
,arg0
,arg1
,*args
):
148 val
= apply(windowsc
.wxWindow_LoadFromResource
,(self
.this
,arg0
.this
,arg1
,)+args
)
151 val
= windowsc
.wxWindow_Lower(self
.this
)
153 def MakeModal(self
,arg0
):
154 val
= windowsc
.wxWindow_MakeModal(self
.this
,arg0
)
156 def Move(self
,arg0
,arg1
):
157 val
= windowsc
.wxWindow_Move(self
.this
,arg0
,arg1
)
159 def PopupMenu(self
,arg0
,arg1
,arg2
):
160 val
= windowsc
.wxWindow_PopupMenu(self
.this
,arg0
.this
,arg1
,arg2
)
163 val
= windowsc
.wxWindow_Raise(self
.this
)
165 def Refresh(self
,*args
):
166 argl
= map(None,args
)
167 try: argl
[1] = argl
[1].this
170 val
= apply(windowsc
.wxWindow_Refresh
,(self
.this
,)+args
)
172 def ReleaseMouse(self
):
173 val
= windowsc
.wxWindow_ReleaseMouse(self
.this
)
175 def ScreenToClient(self
,arg0
,arg1
):
176 val
= windowsc
.wxWindow_ScreenToClient(self
.this
,arg0
,arg1
)
178 def ScrollWindow(self
,arg0
,arg1
,*args
):
179 argl
= map(None,args
)
180 try: argl
[0] = argl
[0].this
183 val
= apply(windowsc
.wxWindow_ScrollWindow
,(self
.this
,arg0
,arg1
,)+args
)
185 def SetAutoLayout(self
,arg0
):
186 val
= windowsc
.wxWindow_SetAutoLayout(self
.this
,arg0
)
188 def SetBackgroundColour(self
,arg0
):
189 val
= windowsc
.wxWindow_SetBackgroundColour(self
.this
,arg0
.this
)
191 def SetConstraints(self
,arg0
):
192 val
= windowsc
.wxWindow_SetConstraints(self
.this
,arg0
.this
)
194 def SetDoubleClick(self
,arg0
):
195 val
= windowsc
.wxWindow_SetDoubleClick(self
.this
,arg0
)
198 val
= windowsc
.wxWindow_SetFocus(self
.this
)
200 def SetFont(self
,arg0
):
201 val
= windowsc
.wxWindow_SetFont(self
.this
,arg0
.this
)
203 def SetForegroundColour(self
,arg0
):
204 val
= windowsc
.wxWindow_SetForegroundColour(self
.this
,arg0
.this
)
206 def SetId(self
,arg0
):
207 val
= windowsc
.wxWindow_SetId(self
.this
,arg0
)
209 def SetName(self
,arg0
):
210 val
= windowsc
.wxWindow_SetName(self
.this
,arg0
)
212 def SetReturnCode(self
,arg0
):
213 val
= windowsc
.wxWindow_SetReturnCode(self
.this
,arg0
)
215 def SetScrollbar(self
,arg0
,arg1
,arg2
,arg3
,*args
):
216 val
= apply(windowsc
.wxWindow_SetScrollbar
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
218 def SetScrollPos(self
,arg0
,arg1
,*args
):
219 val
= apply(windowsc
.wxWindow_SetScrollPos
,(self
.this
,arg0
,arg1
,)+args
)
221 def SetDimensions(self
,arg0
,arg1
,arg2
,arg3
,*args
):
222 val
= apply(windowsc
.wxWindow_SetDimensions
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
224 def SetSize(self
,arg0
):
225 val
= windowsc
.wxWindow_SetSize(self
.this
,arg0
.this
)
227 def SetPosition(self
,arg0
):
228 val
= windowsc
.wxWindow_SetPosition(self
.this
,arg0
.this
)
230 def SetSizeHints(self
,*args
):
231 val
= apply(windowsc
.wxWindow_SetSizeHints
,(self
.this
,)+args
)
233 def SetClientSize(self
,arg0
,arg1
):
234 val
= windowsc
.wxWindow_SetClientSize(self
.this
,arg0
,arg1
)
236 def SetCursor(self
,arg0
):
237 val
= windowsc
.wxWindow_SetCursor(self
.this
,arg0
.this
)
239 def SetTitle(self
,arg0
):
240 val
= windowsc
.wxWindow_SetTitle(self
.this
,arg0
)
243 val
= windowsc
.wxWindow_Show(self
.this
,arg0
)
245 def TransferDataFromWindow(self
):
246 val
= windowsc
.wxWindow_TransferDataFromWindow(self
.this
)
248 def TransferDataToWindow(self
):
249 val
= windowsc
.wxWindow_TransferDataToWindow(self
.this
)
252 val
= windowsc
.wxWindow_Validate(self
.this
)
254 def WarpPointer(self
,arg0
,arg1
):
255 val
= windowsc
.wxWindow_WarpPointer(self
.this
,arg0
,arg1
)
258 return "<C wxWindow instance>"
259 class wxWindow(wxWindowPtr
):
260 def __init__(self
,arg0
,arg1
,*args
) :
261 argl
= map(None,args
)
262 try: argl
[0] = argl
[0].this
264 try: argl
[1] = argl
[1].this
267 self
.this
= apply(windowsc
.new_wxWindow
,(arg0
.this
,arg1
,)+args
)
273 class wxFramePtr(wxWindowPtr
):
274 def __init__(self
,this
):
277 def Centre(self
,*args
):
278 val
= apply(windowsc
.wxFrame_Centre
,(self
.this
,)+args
)
280 def Command(self
,arg0
):
281 val
= windowsc
.wxFrame_Command(self
.this
,arg0
)
283 def CreateStatusBar(self
,*args
):
284 val
= apply(windowsc
.wxFrame_CreateStatusBar
,(self
.this
,)+args
)
286 def GetMenuBar(self
):
287 val
= windowsc
.wxFrame_GetMenuBar(self
.this
)
288 val
= wxMenuBarPtr(val
)
290 def GetStatusBar(self
):
291 val
= windowsc
.wxFrame_GetStatusBar(self
.this
)
294 val
= windowsc
.wxFrame_GetTitle(self
.this
)
296 def Iconize(self
,arg0
):
297 val
= windowsc
.wxFrame_Iconize(self
.this
,arg0
)
299 def IsIconized(self
):
300 val
= windowsc
.wxFrame_IsIconized(self
.this
)
302 def SetAcceleratorTable(self
,arg0
):
303 val
= windowsc
.wxFrame_SetAcceleratorTable(self
.this
,arg0
.this
)
305 def Maximize(self
,arg0
):
306 val
= windowsc
.wxFrame_Maximize(self
.this
,arg0
)
308 def SetIcon(self
,arg0
):
309 val
= windowsc
.wxFrame_SetIcon(self
.this
,arg0
.this
)
311 def SetMenuBar(self
,arg0
):
312 val
= windowsc
.wxFrame_SetMenuBar(self
.this
,arg0
.this
)
314 def SetStatusText(self
,arg0
,*args
):
315 val
= apply(windowsc
.wxFrame_SetStatusText
,(self
.this
,arg0
,)+args
)
317 def SetStatusWidths(self
,arg0
,*args
):
318 val
= apply(windowsc
.wxFrame_SetStatusWidths
,(self
.this
,arg0
,)+args
)
320 def SetTitle(self
,arg0
):
321 val
= windowsc
.wxFrame_SetTitle(self
.this
,arg0
)
324 return "<C wxFrame instance>"
325 class wxFrame(wxFramePtr
):
326 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
327 argl
= map(None,args
)
328 try: argl
[0] = argl
[0].this
330 try: argl
[1] = argl
[1].this
333 self
.this
= apply(windowsc
.new_wxFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
339 class wxMiniFramePtr(wxFramePtr
):
340 def __init__(self
,this
):
344 return "<C wxMiniFrame instance>"
345 class wxMiniFrame(wxMiniFramePtr
):
346 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
347 argl
= map(None,args
)
348 try: argl
[0] = argl
[0].this
350 try: argl
[1] = argl
[1].this
353 self
.this
= apply(windowsc
.new_wxMiniFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
359 class wxPanelPtr(wxWindowPtr
):
360 def __init__(self
,this
):
363 def InitDialog(self
):
364 val
= windowsc
.wxPanel_InitDialog(self
.this
)
367 return "<C wxPanel instance>"
368 class wxPanel(wxPanelPtr
):
369 def __init__(self
,arg0
,arg1
,*args
) :
370 argl
= map(None,args
)
371 try: argl
[0] = argl
[0].this
373 try: argl
[1] = argl
[1].this
376 self
.this
= apply(windowsc
.new_wxPanel
,(arg0
.this
,arg1
,)+args
)
382 class wxDialogPtr(wxPanelPtr
):
383 def __init__(self
,this
):
386 def Centre(self
,*args
):
387 val
= apply(windowsc
.wxDialog_Centre
,(self
.this
,)+args
)
389 def EndModal(self
,arg0
):
390 val
= windowsc
.wxDialog_EndModal(self
.this
,arg0
)
393 val
= windowsc
.wxDialog_GetTitle(self
.this
)
395 def Iconize(self
,arg0
):
396 val
= windowsc
.wxDialog_Iconize(self
.this
,arg0
)
398 def IsIconized(self
):
399 val
= windowsc
.wxDialog_IsIconized(self
.this
)
402 val
= windowsc
.wxDialog_IsModal(self
.this
)
404 def SetModal(self
,arg0
):
405 val
= windowsc
.wxDialog_SetModal(self
.this
,arg0
)
407 def SetTitle(self
,arg0
):
408 val
= windowsc
.wxDialog_SetTitle(self
.this
,arg0
)
411 val
= windowsc
.wxDialog_Show(self
.this
,arg0
)
414 val
= windowsc
.wxDialog_ShowModal(self
.this
)
417 return "<C wxDialog instance>"
418 class wxDialog(wxDialogPtr
):
419 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
420 argl
= map(None,args
)
421 try: argl
[0] = argl
[0].this
423 try: argl
[1] = argl
[1].this
426 self
.this
= apply(windowsc
.new_wxDialog
,(arg0
.this
,arg1
,arg2
,)+args
)
432 class wxScrolledWindowPtr(wxWindowPtr
):
433 def __init__(self
,this
):
436 def EnableScrolling(self
,arg0
,arg1
):
437 val
= windowsc
.wxScrolledWindow_EnableScrolling(self
.this
,arg0
,arg1
)
439 def GetScrollPixelsPerUnit(self
):
440 val
= windowsc
.wxScrolledWindow_GetScrollPixelsPerUnit(self
.this
)
442 def GetVirtualSize(self
):
443 val
= windowsc
.wxScrolledWindow_GetVirtualSize(self
.this
)
445 def IsRetained(self
):
446 val
= windowsc
.wxScrolledWindow_IsRetained(self
.this
)
448 def PrepareDC(self
,arg0
):
449 val
= windowsc
.wxScrolledWindow_PrepareDC(self
.this
,arg0
.this
)
451 def Scroll(self
,arg0
,arg1
):
452 val
= windowsc
.wxScrolledWindow_Scroll(self
.this
,arg0
,arg1
)
454 def SetScrollbars(self
,arg0
,arg1
,arg2
,arg3
,*args
):
455 val
= apply(windowsc
.wxScrolledWindow_SetScrollbars
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
458 val
= windowsc
.wxScrolledWindow_ViewStart(self
.this
)
461 return "<C wxScrolledWindow instance>"
462 class wxScrolledWindow(wxScrolledWindowPtr
):
463 def __init__(self
,arg0
,*args
) :
464 argl
= map(None,args
)
465 try: argl
[1] = argl
[1].this
467 try: argl
[2] = argl
[2].this
470 self
.this
= apply(windowsc
.new_wxScrolledWindow
,(arg0
.this
,)+args
)
476 class wxMenuPtr(wxEvtHandlerPtr
):
477 def __init__(self
,this
):
480 def Append(self
,arg0
,arg1
,*args
):
481 val
= apply(windowsc
.wxMenu_Append
,(self
.this
,arg0
,arg1
,)+args
)
483 def AppendMenu(self
,arg0
,arg1
,arg2
,*args
):
484 val
= apply(windowsc
.wxMenu_AppendMenu
,(self
.this
,arg0
,arg1
,arg2
.this
,)+args
)
486 def AppendSeparator(self
):
487 val
= windowsc
.wxMenu_AppendSeparator(self
.this
)
490 val
= windowsc
.wxMenu_Break(self
.this
)
492 def Check(self
,arg0
,arg1
):
493 val
= windowsc
.wxMenu_Check(self
.this
,arg0
,arg1
)
495 def Checked(self
,arg0
):
496 val
= windowsc
.wxMenu_Checked(self
.this
,arg0
)
498 def Enable(self
,arg0
,arg1
):
499 val
= windowsc
.wxMenu_Enable(self
.this
,arg0
,arg1
)
501 def FindItem(self
,arg0
):
502 val
= windowsc
.wxMenu_FindItem(self
.this
,arg0
)
504 def FindItemForId(self
,arg0
):
505 val
= windowsc
.wxMenu_FindItemForId(self
.this
,arg0
)
506 val
= wxMenuItemPtr(val
)
508 def GetHelpString(self
,arg0
):
509 val
= windowsc
.wxMenu_GetHelpString(self
.this
,arg0
)
511 def GetLabel(self
,arg0
):
512 val
= windowsc
.wxMenu_GetLabel(self
.this
,arg0
)
515 val
= windowsc
.wxMenu_GetTitle(self
.this
)
517 def SetHelpString(self
,arg0
,arg1
):
518 val
= windowsc
.wxMenu_SetHelpString(self
.this
,arg0
,arg1
)
520 def SetLabel(self
,arg0
,arg1
):
521 val
= windowsc
.wxMenu_SetLabel(self
.this
,arg0
,arg1
)
523 def SetTitle(self
,arg0
):
524 val
= windowsc
.wxMenu_SetTitle(self
.this
,arg0
)
527 return "<C wxMenu instance>"
528 class wxMenu(wxMenuPtr
):
529 def __init__(self
,*args
) :
530 self
.this
= apply(windowsc
.new_wxMenu
,()+args
)
536 class wxPyMenuPtr(wxMenuPtr
):
537 def __init__(self
,this
):
541 if self
.thisown
== 1 :
542 windowsc
.delete_wxPyMenu(self
.this
)
544 return "<C wxPyMenu instance>"
545 class wxPyMenu(wxPyMenuPtr
):
546 def __init__(self
,*args
) :
547 self
.this
= apply(windowsc
.new_wxPyMenu
,()+args
)
553 class wxMenuBarPtr(wxEvtHandlerPtr
):
554 def __init__(self
,this
):
557 def Append(self
,arg0
,arg1
):
558 val
= windowsc
.wxMenuBar_Append(self
.this
,arg0
.this
,arg1
)
560 def Check(self
,arg0
,arg1
):
561 val
= windowsc
.wxMenuBar_Check(self
.this
,arg0
,arg1
)
563 def Checked(self
,arg0
):
564 val
= windowsc
.wxMenuBar_Checked(self
.this
,arg0
)
566 def Enable(self
,arg0
,arg1
):
567 val
= windowsc
.wxMenuBar_Enable(self
.this
,arg0
,arg1
)
569 def EnableTop(self
,arg0
,arg1
):
570 val
= windowsc
.wxMenuBar_EnableTop(self
.this
,arg0
,arg1
)
572 def FindMenuItem(self
,arg0
,arg1
):
573 val
= windowsc
.wxMenuBar_FindMenuItem(self
.this
,arg0
,arg1
)
575 def FindItemForId(self
,arg0
):
576 val
= windowsc
.wxMenuBar_FindItemForId(self
.this
,arg0
)
577 val
= wxMenuItemPtr(val
)
579 def GetHelpString(self
,arg0
):
580 val
= windowsc
.wxMenuBar_GetHelpString(self
.this
,arg0
)
582 def GetLabel(self
,arg0
):
583 val
= windowsc
.wxMenuBar_GetLabel(self
.this
,arg0
)
585 def GetLabelTop(self
,arg0
):
586 val
= windowsc
.wxMenuBar_GetLabelTop(self
.this
,arg0
)
588 def SetHelpString(self
,arg0
,arg1
):
589 val
= windowsc
.wxMenuBar_SetHelpString(self
.this
,arg0
,arg1
)
591 def SetLabel(self
,arg0
,arg1
):
592 val
= windowsc
.wxMenuBar_SetLabel(self
.this
,arg0
,arg1
)
594 def SetLabelTop(self
,arg0
,arg1
):
595 val
= windowsc
.wxMenuBar_SetLabelTop(self
.this
,arg0
,arg1
)
598 return "<C wxMenuBar instance>"
599 class wxMenuBar(wxMenuBarPtr
):
601 self
.this
= windowsc
.new_wxMenuBar()
607 class wxMenuItemPtr
:
608 def __init__(self
,this
):
611 def IsSeparator(self
):
612 val
= windowsc
.wxMenuItem_IsSeparator(self
.this
)
615 val
= windowsc
.wxMenuItem_IsEnabled(self
.this
)
618 val
= windowsc
.wxMenuItem_IsChecked(self
.this
)
621 val
= windowsc
.wxMenuItem_GetId(self
.this
)
624 val
= windowsc
.wxMenuItem_GetHelp(self
.this
)
626 def GetSubMenu(self
):
627 val
= windowsc
.wxMenuItem_GetSubMenu(self
.this
)
630 def SetName(self
,arg0
):
631 val
= windowsc
.wxMenuItem_SetName(self
.this
,arg0
)
633 def SetHelp(self
,arg0
):
634 val
= windowsc
.wxMenuItem_SetHelp(self
.this
,arg0
)
636 def Enable(self
,*args
):
637 val
= apply(windowsc
.wxMenuItem_Enable
,(self
.this
,)+args
)
639 def Check(self
,*args
):
640 val
= apply(windowsc
.wxMenuItem_Check
,(self
.this
,)+args
)
642 def DeleteSubMenu(self
):
643 val
= windowsc
.wxMenuItem_DeleteSubMenu(self
.this
)
646 val
= windowsc
.wxMenuItem_GetName(self
.this
)
648 def IsCheckable(self
):
649 val
= windowsc
.wxMenuItem_IsCheckable(self
.this
)
652 return "<C wxMenuItem instance>"
653 class wxMenuItem(wxMenuItemPtr
):
654 def __init__(self
,this
):
662 #-------------- FUNCTION WRAPPERS ------------------
664 def wxWindow_FindFocus():
665 val
= windowsc
.wxWindow_FindFocus()
666 val
= wxWindowPtr(val
)
671 #-------------- VARIABLE WRAPPERS ------------------