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 Centre(self
,*args
):
31 val
= apply(windowsc
.wxWindow_Centre
,(self
.this
,)+args
)
33 def ClientToScreen(self
,arg0
,arg1
):
34 val
= windowsc
.wxWindow_ClientToScreen(self
.this
,arg0
,arg1
)
36 def Close(self
,*args
):
37 val
= apply(windowsc
.wxWindow_Close
,(self
.this
,)+args
)
40 val
= windowsc
.wxWindow_Destroy(self
.this
)
42 def DestroyChildren(self
):
43 val
= windowsc
.wxWindow_DestroyChildren(self
.this
)
45 def Enable(self
,arg0
):
46 val
= windowsc
.wxWindow_Enable(self
.this
,arg0
)
49 val
= windowsc
.wxWindow_Fit(self
.this
)
51 def GetBackgroundColour(self
):
52 val
= windowsc
.wxWindow_GetBackgroundColour(self
.this
)
53 val
= wxColourPtr(val
)
56 def GetClientSize(self
):
57 val
= windowsc
.wxWindow_GetClientSize(self
.this
)
59 def GetConstraints(self
):
60 val
= windowsc
.wxWindow_GetConstraints(self
.this
)
61 val
= wxLayoutConstraintsPtr(val
)
64 val
= windowsc
.wxWindow_GetFont(self
.this
)
68 val
= windowsc
.wxWindow_GetId(self
.this
)
70 def GetPosition(self
):
71 val
= windowsc
.wxWindow_GetPosition(self
.this
)
74 val
= windowsc
.wxWindow_GetLabel(self
.this
)
77 val
= windowsc
.wxWindow_GetName(self
.this
)
80 val
= windowsc
.wxWindow_GetParent(self
.this
)
81 val
= wxWindowPtr(val
)
83 def GetReturnCode(self
):
84 val
= windowsc
.wxWindow_GetReturnCode(self
.this
)
86 def GetScrollThumb(self
,arg0
):
87 val
= windowsc
.wxWindow_GetScrollThumb(self
.this
,arg0
)
89 def GetScrollPos(self
,arg0
):
90 val
= windowsc
.wxWindow_GetScrollPos(self
.this
,arg0
)
92 def GetScrollRange(self
,arg0
):
93 val
= windowsc
.wxWindow_GetScrollRange(self
.this
,arg0
)
96 val
= windowsc
.wxWindow_GetSize(self
.this
)
99 val
= windowsc
.wxWindow_GetTitle(self
.this
)
101 def GetWindowStyleFlag(self
):
102 val
= windowsc
.wxWindow_GetWindowStyleFlag(self
.this
)
104 def InitDialog(self
):
105 val
= windowsc
.wxWindow_InitDialog(self
.this
)
108 val
= windowsc
.wxWindow_IsEnabled(self
.this
)
110 def IsRetained(self
):
111 val
= windowsc
.wxWindow_IsRetained(self
.this
)
114 val
= windowsc
.wxWindow_IsShown(self
.this
)
117 val
= windowsc
.wxWindow_Layout(self
.this
)
120 val
= windowsc
.wxWindow_Lower(self
.this
)
122 def MakeModal(self
,arg0
):
123 val
= windowsc
.wxWindow_MakeModal(self
.this
,arg0
)
125 def Move(self
,arg0
,arg1
):
126 val
= windowsc
.wxWindow_Move(self
.this
,arg0
,arg1
)
128 def PopupMenu(self
,arg0
,arg1
,arg2
):
129 val
= windowsc
.wxWindow_PopupMenu(self
.this
,arg0
.this
,arg1
,arg2
)
132 val
= windowsc
.wxWindow_Raise(self
.this
)
134 def Refresh(self
,*args
):
135 argl
= map(None,args
)
136 try: argl
[1] = argl
[1].this
139 val
= apply(windowsc
.wxWindow_Refresh
,(self
.this
,)+args
)
141 def ReleaseMouse(self
):
142 val
= windowsc
.wxWindow_ReleaseMouse(self
.this
)
144 def ScreenToClient(self
,arg0
,arg1
):
145 val
= windowsc
.wxWindow_ScreenToClient(self
.this
,arg0
,arg1
)
147 def ScrollWindow(self
,arg0
,arg1
,*args
):
148 argl
= map(None,args
)
149 try: argl
[0] = argl
[0].this
152 val
= apply(windowsc
.wxWindow_ScrollWindow
,(self
.this
,arg0
,arg1
,)+args
)
154 def SetAutoLayout(self
,arg0
):
155 val
= windowsc
.wxWindow_SetAutoLayout(self
.this
,arg0
)
157 def SetBackgroundColour(self
,arg0
):
158 val
= windowsc
.wxWindow_SetBackgroundColour(self
.this
,arg0
.this
)
160 def SetConstraints(self
,arg0
):
161 val
= windowsc
.wxWindow_SetConstraints(self
.this
,arg0
.this
)
163 def SetDoubleClick(self
,arg0
):
164 val
= windowsc
.wxWindow_SetDoubleClick(self
.this
,arg0
)
167 val
= windowsc
.wxWindow_SetFocus(self
.this
)
169 def SetFont(self
,arg0
):
170 val
= windowsc
.wxWindow_SetFont(self
.this
,arg0
.this
)
172 def SetId(self
,arg0
):
173 val
= windowsc
.wxWindow_SetId(self
.this
,arg0
)
175 def SetName(self
,arg0
):
176 val
= windowsc
.wxWindow_SetName(self
.this
,arg0
)
178 def SetReturnCode(self
,arg0
):
179 val
= windowsc
.wxWindow_SetReturnCode(self
.this
,arg0
)
181 def SetScrollbar(self
,arg0
,arg1
,arg2
,arg3
,*args
):
182 val
= apply(windowsc
.wxWindow_SetScrollbar
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
184 def SetScrollPos(self
,arg0
,arg1
,*args
):
185 val
= apply(windowsc
.wxWindow_SetScrollPos
,(self
.this
,arg0
,arg1
,)+args
)
187 def SetDimensions(self
,arg0
,arg1
,arg2
,arg3
,*args
):
188 val
= apply(windowsc
.wxWindow_SetDimensions
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
190 def SetSize(self
,arg0
):
191 val
= windowsc
.wxWindow_SetSize(self
.this
,arg0
.this
)
193 def SetPosition(self
,arg0
):
194 val
= windowsc
.wxWindow_SetPosition(self
.this
,arg0
.this
)
196 def SetClientSize(self
,arg0
,arg1
):
197 val
= windowsc
.wxWindow_SetClientSize(self
.this
,arg0
,arg1
)
199 def SetCursor(self
,arg0
):
200 val
= windowsc
.wxWindow_SetCursor(self
.this
,arg0
.this
)
202 def SetTitle(self
,arg0
):
203 val
= windowsc
.wxWindow_SetTitle(self
.this
,arg0
)
206 val
= windowsc
.wxWindow_Show(self
.this
,arg0
)
208 def TransferDataFromWindow(self
):
209 val
= windowsc
.wxWindow_TransferDataFromWindow(self
.this
)
211 def TransferDataToWindow(self
):
212 val
= windowsc
.wxWindow_TransferDataToWindow(self
.this
)
215 val
= windowsc
.wxWindow_Validate(self
.this
)
218 return "<C wxWindow instance>"
219 class wxWindow(wxWindowPtr
):
220 def __init__(self
,arg0
,arg1
,*args
) :
221 argl
= map(None,args
)
222 try: argl
[0] = argl
[0].this
224 try: argl
[1] = argl
[1].this
227 self
.this
= apply(windowsc
.new_wxWindow
,(arg0
.this
,arg1
,)+args
)
233 class wxFramePtr(wxWindowPtr
):
234 def __init__(self
,this
):
237 def Centre(self
,*args
):
238 val
= apply(windowsc
.wxFrame_Centre
,(self
.this
,)+args
)
240 def CreateStatusBar(self
,*args
):
241 val
= apply(windowsc
.wxFrame_CreateStatusBar
,(self
.this
,)+args
)
243 def GetMenuBar(self
):
244 val
= windowsc
.wxFrame_GetMenuBar(self
.this
)
245 val
= wxMenuBarPtr(val
)
247 def GetStatusBar(self
):
248 val
= windowsc
.wxFrame_GetStatusBar(self
.this
)
251 val
= windowsc
.wxFrame_GetTitle(self
.this
)
253 def SetIcon(self
,arg0
):
254 val
= windowsc
.wxFrame_SetIcon(self
.this
,arg0
.this
)
256 def SetMenuBar(self
,arg0
):
257 val
= windowsc
.wxFrame_SetMenuBar(self
.this
,arg0
.this
)
259 def SetStatusText(self
,arg0
,*args
):
260 val
= apply(windowsc
.wxFrame_SetStatusText
,(self
.this
,arg0
,)+args
)
262 def SetStatusWidths(self
,arg0
,*args
):
263 val
= apply(windowsc
.wxFrame_SetStatusWidths
,(self
.this
,arg0
,)+args
)
265 def SetTitle(self
,arg0
):
266 val
= windowsc
.wxFrame_SetTitle(self
.this
,arg0
)
269 return "<C wxFrame instance>"
270 class wxFrame(wxFramePtr
):
271 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
272 argl
= map(None,args
)
273 try: argl
[0] = argl
[0].this
275 try: argl
[1] = argl
[1].this
278 self
.this
= apply(windowsc
.new_wxFrame
,(arg0
.this
,arg1
,arg2
,)+args
)
284 class wxPanelPtr(wxWindowPtr
):
285 def __init__(self
,this
):
288 def InitDialog(self
):
289 val
= windowsc
.wxPanel_InitDialog(self
.this
)
292 return "<C wxPanel instance>"
293 class wxPanel(wxPanelPtr
):
294 def __init__(self
,arg0
,arg1
,*args
) :
295 argl
= map(None,args
)
296 try: argl
[0] = argl
[0].this
298 try: argl
[1] = argl
[1].this
301 self
.this
= apply(windowsc
.new_wxPanel
,(arg0
.this
,arg1
,)+args
)
307 class wxDialogPtr(wxPanelPtr
):
308 def __init__(self
,this
):
311 def Centre(self
,*args
):
312 val
= apply(windowsc
.wxDialog_Centre
,(self
.this
,)+args
)
314 def EndModal(self
,arg0
):
315 val
= windowsc
.wxDialog_EndModal(self
.this
,arg0
)
318 val
= windowsc
.wxDialog_GetTitle(self
.this
)
321 val
= windowsc
.wxDialog_IsModal(self
.this
)
323 def SetTitle(self
,arg0
):
324 val
= windowsc
.wxDialog_SetTitle(self
.this
,arg0
)
327 val
= windowsc
.wxDialog_Show(self
.this
,arg0
)
330 val
= windowsc
.wxDialog_ShowModal(self
.this
)
333 return "<C wxDialog instance>"
334 class wxDialog(wxDialogPtr
):
335 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
336 argl
= map(None,args
)
337 try: argl
[0] = argl
[0].this
339 try: argl
[1] = argl
[1].this
342 self
.this
= apply(windowsc
.new_wxDialog
,(arg0
.this
,arg1
,arg2
,)+args
)
348 class wxScrolledWindowPtr(wxWindowPtr
):
349 def __init__(self
,this
):
352 def EnableScrolling(self
,arg0
,arg1
):
353 val
= windowsc
.wxScrolledWindow_EnableScrolling(self
.this
,arg0
,arg1
)
355 def GetScrollPixelsPerUnit(self
):
356 val
= windowsc
.wxScrolledWindow_GetScrollPixelsPerUnit(self
.this
)
358 def GetVirtualSize(self
):
359 val
= windowsc
.wxScrolledWindow_GetVirtualSize(self
.this
)
361 def IsRetained(self
):
362 val
= windowsc
.wxScrolledWindow_IsRetained(self
.this
)
364 def PrepareDC(self
,arg0
):
365 val
= windowsc
.wxScrolledWindow_PrepareDC(self
.this
,arg0
.this
)
367 def Scroll(self
,arg0
,arg1
):
368 val
= windowsc
.wxScrolledWindow_Scroll(self
.this
,arg0
,arg1
)
370 def SetScrollbars(self
,arg0
,arg1
,arg2
,arg3
,*args
):
371 val
= apply(windowsc
.wxScrolledWindow_SetScrollbars
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
374 val
= windowsc
.wxScrolledWindow_ViewStart(self
.this
)
377 return "<C wxScrolledWindow instance>"
378 class wxScrolledWindow(wxScrolledWindowPtr
):
379 def __init__(self
,arg0
,*args
) :
380 argl
= map(None,args
)
381 try: argl
[1] = argl
[1].this
383 try: argl
[2] = argl
[2].this
386 self
.this
= apply(windowsc
.new_wxScrolledWindow
,(arg0
.this
,)+args
)
392 class wxMenuPtr(wxEvtHandlerPtr
):
393 def __init__(self
,this
):
396 def Append(self
,arg0
,arg1
,*args
):
397 val
= apply(windowsc
.wxMenu_Append
,(self
.this
,arg0
,arg1
,)+args
)
399 def AppendMenu(self
,arg0
,arg1
,arg2
,*args
):
400 val
= apply(windowsc
.wxMenu_AppendMenu
,(self
.this
,arg0
,arg1
,arg2
.this
,)+args
)
402 def AppendSeparator(self
):
403 val
= windowsc
.wxMenu_AppendSeparator(self
.this
)
406 val
= windowsc
.wxMenu_Break(self
.this
)
408 def Check(self
,arg0
,arg1
):
409 val
= windowsc
.wxMenu_Check(self
.this
,arg0
,arg1
)
411 def Enable(self
,arg0
,arg1
):
412 val
= windowsc
.wxMenu_Enable(self
.this
,arg0
,arg1
)
414 def FindItem(self
,arg0
):
415 val
= windowsc
.wxMenu_FindItem(self
.this
,arg0
)
417 def IsChecked(self
,arg0
):
418 val
= windowsc
.wxMenu_IsChecked(self
.this
,arg0
)
420 def IsEnabled(self
,arg0
):
421 val
= windowsc
.wxMenu_IsEnabled(self
.this
,arg0
)
423 def SetLabel(self
,arg0
,arg1
):
424 val
= windowsc
.wxMenu_SetLabel(self
.this
,arg0
,arg1
)
427 return "<C wxMenu instance>"
428 class wxMenu(wxMenuPtr
):
429 def __init__(self
,*args
) :
430 self
.this
= apply(windowsc
.new_wxMenu
,()+args
)
436 class wxMenuBarPtr(wxEvtHandlerPtr
):
437 def __init__(self
,this
):
440 def Append(self
,arg0
,arg1
):
441 val
= windowsc
.wxMenuBar_Append(self
.this
,arg0
.this
,arg1
)
443 def Check(self
,arg0
,arg1
):
444 val
= windowsc
.wxMenuBar_Check(self
.this
,arg0
,arg1
)
446 def Checked(self
,arg0
):
447 val
= windowsc
.wxMenuBar_Checked(self
.this
,arg0
)
449 def Enable(self
,arg0
,arg1
):
450 val
= windowsc
.wxMenuBar_Enable(self
.this
,arg0
,arg1
)
452 def FindMenuItem(self
,arg0
,arg1
):
453 val
= windowsc
.wxMenuBar_FindMenuItem(self
.this
,arg0
,arg1
)
456 return "<C wxMenuBar instance>"
457 class wxMenuBar(wxMenuBarPtr
):
459 self
.this
= windowsc
.new_wxMenuBar()
465 class wxMenuItemPtr
:
466 def __init__(self
,this
):
469 def IsSeparator(self
):
470 val
= windowsc
.wxMenuItem_IsSeparator(self
.this
)
473 val
= windowsc
.wxMenuItem_IsEnabled(self
.this
)
476 val
= windowsc
.wxMenuItem_IsChecked(self
.this
)
479 val
= windowsc
.wxMenuItem_GetId(self
.this
)
481 def GetSubMenu(self
):
482 val
= windowsc
.wxMenuItem_GetSubMenu(self
.this
)
485 def Enable(self
,*args
):
486 val
= apply(windowsc
.wxMenuItem_Enable
,(self
.this
,)+args
)
488 def Check(self
,*args
):
489 val
= apply(windowsc
.wxMenuItem_Check
,(self
.this
,)+args
)
491 def IsCheckable(self
):
492 val
= windowsc
.wxMenuItem_IsCheckable(self
.this
)
495 return "<C wxMenuItem instance>"
496 class wxMenuItem(wxMenuItemPtr
):
497 def __init__(self
,this
):
505 #-------------- FUNCTION WRAPPERS ------------------
509 #-------------- VARIABLE WRAPPERS ------------------