1 # This file was created automatically by SWIG.
9 def wxDLG_PNT(win
, point
):
10 return win
.ConvertDialogPointToPixels(point
)
12 def wxDLG_SZE(win
, size
):
13 return win
.ConvertDialogSizeToPixels(size
)
15 class wxEvtHandlerPtr
:
16 def __init__(self
,this
):
19 def ProcessEvent(self
,arg0
):
20 val
= windowsc
.wxEvtHandler_ProcessEvent(self
.this
,arg0
.this
)
22 def Connect(self
,arg0
,arg1
,arg2
,arg3
):
23 val
= windowsc
.wxEvtHandler_Connect(self
.this
,arg0
,arg1
,arg2
,arg3
)
26 return "<C wxEvtHandler instance>"
27 class wxEvtHandler(wxEvtHandlerPtr
):
28 def __init__(self
,this
):
34 class wxWindowPtr(wxEvtHandlerPtr
):
35 def __init__(self
,this
):
38 def CaptureMouse(self
):
39 val
= windowsc
.wxWindow_CaptureMouse(self
.this
)
41 def Center(self
,*args
):
42 val
= apply(windowsc
.wxWindow_Center
,(self
.this
,)+args
)
44 def Centre(self
,*args
):
45 val
= apply(windowsc
.wxWindow_Centre
,(self
.this
,)+args
)
47 def ClientToScreenXY(self
,arg0
,arg1
):
48 val
= windowsc
.wxWindow_ClientToScreenXY(self
.this
,arg0
,arg1
)
50 def ClientToScreen(self
,arg0
):
51 val
= windowsc
.wxWindow_ClientToScreen(self
.this
,arg0
.this
)
55 def Close(self
,*args
):
56 val
= apply(windowsc
.wxWindow_Close
,(self
.this
,)+args
)
59 val
= windowsc
.wxWindow_Destroy(self
.this
)
61 def DestroyChildren(self
):
62 val
= windowsc
.wxWindow_DestroyChildren(self
.this
)
64 def DragAcceptFiles(self
,arg0
):
65 val
= windowsc
.wxWindow_DragAcceptFiles(self
.this
,arg0
)
67 def Enable(self
,arg0
):
68 val
= windowsc
.wxWindow_Enable(self
.this
,arg0
)
70 def FindWindowById(self
,arg0
):
71 val
= windowsc
.wxWindow_FindWindowById(self
.this
,arg0
)
72 val
= wxWindowPtr(val
)
74 def FindWindowByName(self
,arg0
):
75 val
= windowsc
.wxWindow_FindWindowByName(self
.this
,arg0
)
76 val
= wxWindowPtr(val
)
79 val
= windowsc
.wxWindow_Fit(self
.this
)
81 def GetBackgroundColour(self
):
82 val
= windowsc
.wxWindow_GetBackgroundColour(self
.this
)
83 val
= wxColourPtr(val
)
86 def GetCharHeight(self
):
87 val
= windowsc
.wxWindow_GetCharHeight(self
.this
)
89 def GetCharWidth(self
):
90 val
= windowsc
.wxWindow_GetCharWidth(self
.this
)
92 def GetClientSizeTuple(self
):
93 val
= windowsc
.wxWindow_GetClientSizeTuple(self
.this
)
95 def GetClientSize(self
):
96 val
= windowsc
.wxWindow_GetClientSize(self
.this
)
100 def GetConstraints(self
):
101 val
= windowsc
.wxWindow_GetConstraints(self
.this
)
102 val
= wxLayoutConstraintsPtr(val
)
104 def GetDefaultItem(self
):
105 val
= windowsc
.wxWindow_GetDefaultItem(self
.this
)
106 val
= wxButtonPtr(val
)
109 val
= windowsc
.wxWindow_GetFont(self
.this
)
112 def GetForegroundColour(self
):
113 val
= windowsc
.wxWindow_GetForegroundColour(self
.this
)
114 val
= wxColourPtr(val
)
117 def GetGrandParent(self
):
118 val
= windowsc
.wxWindow_GetGrandParent(self
.this
)
119 val
= wxWindowPtr(val
)
122 val
= windowsc
.wxWindow_GetId(self
.this
)
125 val
= windowsc
.wxWindow_GetLabel(self
.this
)
128 val
= windowsc
.wxWindow_GetName(self
.this
)
131 val
= windowsc
.wxWindow_GetParent(self
.this
)
132 val
= wxWindowPtr(val
)
134 def GetPositionTuple(self
):
135 val
= windowsc
.wxWindow_GetPositionTuple(self
.this
)
137 def GetPosition(self
):
138 val
= windowsc
.wxWindow_GetPosition(self
.this
)
139 val
= wxPointPtr(val
)
143 val
= windowsc
.wxWindow_GetRect(self
.this
)
147 def GetReturnCode(self
):
148 val
= windowsc
.wxWindow_GetReturnCode(self
.this
)
150 def GetScrollThumb(self
,arg0
):
151 val
= windowsc
.wxWindow_GetScrollThumb(self
.this
,arg0
)
153 def GetScrollPos(self
,arg0
):
154 val
= windowsc
.wxWindow_GetScrollPos(self
.this
,arg0
)
156 def GetScrollRange(self
,arg0
):
157 val
= windowsc
.wxWindow_GetScrollRange(self
.this
,arg0
)
159 def GetSizeTuple(self
):
160 val
= windowsc
.wxWindow_GetSizeTuple(self
.this
)
163 val
= windowsc
.wxWindow_GetSize(self
.this
)
167 def GetTextExtent(self
,arg0
):
168 val
= windowsc
.wxWindow_GetTextExtent(self
.this
,arg0
)
170 def GetFullTextExtent(self
,arg0
,*args
):
171 argl
= map(None,args
)
172 try: argl
[0] = argl
[0].this
175 val
= apply(windowsc
.wxWindow_GetFullTextExtent
,(self
.this
,arg0
,)+args
)
178 val
= windowsc
.wxWindow_GetTitle(self
.this
)
180 def GetWindowStyleFlag(self
):
181 val
= windowsc
.wxWindow_GetWindowStyleFlag(self
.this
)
183 def InitDialog(self
):
184 val
= windowsc
.wxWindow_InitDialog(self
.this
)
187 val
= windowsc
.wxWindow_IsEnabled(self
.this
)
189 def IsRetained(self
):
190 val
= windowsc
.wxWindow_IsRetained(self
.this
)
193 val
= windowsc
.wxWindow_IsShown(self
.this
)
196 val
= windowsc
.wxWindow_Layout(self
.this
)
198 def LoadFromResource(self
,arg0
,arg1
,*args
):
199 val
= apply(windowsc
.wxWindow_LoadFromResource
,(self
.this
,arg0
.this
,arg1
,)+args
)
202 val
= windowsc
.wxWindow_Lower(self
.this
)
204 def MakeModal(self
,arg0
):
205 val
= windowsc
.wxWindow_MakeModal(self
.this
,arg0
)
207 def MoveXY(self
,arg0
,arg1
):
208 val
= windowsc
.wxWindow_MoveXY(self
.this
,arg0
,arg1
)
211 val
= windowsc
.wxWindow_Move(self
.this
,arg0
.this
)
213 def PopupMenu(self
,arg0
,arg1
,arg2
):
214 val
= windowsc
.wxWindow_PopupMenu(self
.this
,arg0
.this
,arg1
,arg2
)
217 val
= windowsc
.wxWindow_Raise(self
.this
)
219 def Refresh(self
,*args
):
220 argl
= map(None,args
)
221 try: argl
[1] = argl
[1].this
224 val
= apply(windowsc
.wxWindow_Refresh
,(self
.this
,)+args
)
226 def ReleaseMouse(self
):
227 val
= windowsc
.wxWindow_ReleaseMouse(self
.this
)
229 def ScreenToClientXY(self
,arg0
,arg1
):
230 val
= windowsc
.wxWindow_ScreenToClientXY(self
.this
,arg0
,arg1
)
232 def ScreenToClient(self
,arg0
):
233 val
= windowsc
.wxWindow_ScreenToClient(self
.this
,arg0
.this
)
234 val
= wxPointPtr(val
)
237 def ScrollWindow(self
,arg0
,arg1
,*args
):
238 argl
= map(None,args
)
239 try: argl
[0] = argl
[0].this
242 val
= apply(windowsc
.wxWindow_ScrollWindow
,(self
.this
,arg0
,arg1
,)+args
)
244 def SetAcceleratorTable(self
,arg0
):
245 val
= windowsc
.wxWindow_SetAcceleratorTable(self
.this
,arg0
.this
)
247 def SetAutoLayout(self
,arg0
):
248 val
= windowsc
.wxWindow_SetAutoLayout(self
.this
,arg0
)
250 def SetBackgroundColour(self
,arg0
):
251 val
= windowsc
.wxWindow_SetBackgroundColour(self
.this
,arg0
.this
)
253 def SetConstraints(self
,arg0
):
254 val
= windowsc
.wxWindow_SetConstraints(self
.this
,arg0
.this
)
256 def SetDoubleClick(self
,arg0
):
257 val
= windowsc
.wxWindow_SetDoubleClick(self
.this
,arg0
)
260 val
= windowsc
.wxWindow_SetFocus(self
.this
)
262 def SetFont(self
,arg0
):
263 val
= windowsc
.wxWindow_SetFont(self
.this
,arg0
.this
)
265 def SetForegroundColour(self
,arg0
):
266 val
= windowsc
.wxWindow_SetForegroundColour(self
.this
,arg0
.this
)
268 def SetId(self
,arg0
):
269 val
= windowsc
.wxWindow_SetId(self
.this
,arg0
)
271 def SetName(self
,arg0
):
272 val
= windowsc
.wxWindow_SetName(self
.this
,arg0
)
274 def SetReturnCode(self
,arg0
):
275 val
= windowsc
.wxWindow_SetReturnCode(self
.this
,arg0
)
277 def SetScrollbar(self
,arg0
,arg1
,arg2
,arg3
,*args
):
278 val
= apply(windowsc
.wxWindow_SetScrollbar
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
280 def SetScrollPos(self
,arg0
,arg1
,*args
):
281 val
= apply(windowsc
.wxWindow_SetScrollPos
,(self
.this
,arg0
,arg1
,)+args
)
283 def SetDimensions(self
,arg0
,arg1
,arg2
,arg3
,*args
):
284 val
= apply(windowsc
.wxWindow_SetDimensions
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
286 def SetSize(self
,arg0
):
287 val
= windowsc
.wxWindow_SetSize(self
.this
,arg0
.this
)
289 def SetPosition(self
,arg0
):
290 val
= windowsc
.wxWindow_SetPosition(self
.this
,arg0
.this
)
292 def SetSizeHints(self
,*args
):
293 val
= apply(windowsc
.wxWindow_SetSizeHints
,(self
.this
,)+args
)
295 def SetClientSizeWH(self
,arg0
,arg1
):
296 val
= windowsc
.wxWindow_SetClientSizeWH(self
.this
,arg0
,arg1
)
298 def SetClientSize(self
,arg0
):
299 val
= windowsc
.wxWindow_SetClientSize(self
.this
,arg0
.this
)
301 def SetCursor(self
,arg0
):
302 val
= windowsc
.wxWindow_SetCursor(self
.this
,arg0
.this
)
304 def SetTitle(self
,arg0
):
305 val
= windowsc
.wxWindow_SetTitle(self
.this
,arg0
)
308 val
= windowsc
.wxWindow_Show(self
.this
,arg0
)
310 def TransferDataFromWindow(self
):
311 val
= windowsc
.wxWindow_TransferDataFromWindow(self
.this
)
313 def TransferDataToWindow(self
):
314 val
= windowsc
.wxWindow_TransferDataToWindow(self
.this
)
317 val
= windowsc
.wxWindow_Validate(self
.this
)
319 def WarpPointer(self
,arg0
,arg1
):
320 val
= windowsc
.wxWindow_WarpPointer(self
.this
,arg0
,arg1
)
322 def ConvertDialogPointToPixels(self
,arg0
):
323 val
= windowsc
.wxWindow_ConvertDialogPointToPixels(self
.this
,arg0
.this
)
324 val
= wxPointPtr(val
)
327 def ConvertDialogSizeToPixels(self
,arg0
):
328 val
= windowsc
.wxWindow_ConvertDialogSizeToPixels(self
.this
,arg0
.this
)
332 def DLG_PNT(self
,arg0
):
333 val
= windowsc
.wxWindow_DLG_PNT(self
.this
,arg0
.this
)
334 val
= wxPointPtr(val
)
337 def DLG_SZE(self
,arg0
):
338 val
= windowsc
.wxWindow_DLG_SZE(self
.this
,arg0
.this
)
342 def ConvertPixelPointToDialog(self
,arg0
):
343 val
= windowsc
.wxWindow_ConvertPixelPointToDialog(self
.this
,arg0
.this
)
344 val
= wxPointPtr(val
)
347 def ConvertPixelSizeToDialog(self
,arg0
):
348 val
= windowsc
.wxWindow_ConvertPixelSizeToDialog(self
.this
,arg0
.this
)
352 def SetToolTipString(self
,arg0
):
353 val
= windowsc
.wxWindow_SetToolTipString(self
.this
,arg0
)
355 def SetToolTip(self
,arg0
):
356 val
= windowsc
.wxWindow_SetToolTip(self
.this
,arg0
.this
)
358 def GetToolTip(self
):
359 val
= windowsc
.wxWindow_GetToolTip(self
.this
)
360 val
= wxToolTipPtr(val
)
363 return "<C wxWindow instance>"
364 class wxWindow(wxWindowPtr
):
365 def __init__(self
,arg0
,arg1
,*args
) :
366 argl
= map(None,args
)
367 try: argl
[0] = argl
[0].this
369 try: argl
[1] = argl
[1].this
372 self
.this
= apply(windowsc
.new_wxWindow
,(arg0
.this
,arg1
,)+args
)
374 wx
._StdWindowCallbacks
(self
)
379 class wxPanelPtr(wxWindowPtr
):
380 def __init__(self
,this
):
383 def InitDialog(self
):
384 val
= windowsc
.wxPanel_InitDialog(self
.this
)
387 return "<C wxPanel instance>"
388 class wxPanel(wxPanelPtr
):
389 def __init__(self
,arg0
,arg1
,*args
) :
390 argl
= map(None,args
)
391 try: argl
[0] = argl
[0].this
393 try: argl
[1] = argl
[1].this
396 self
.this
= apply(windowsc
.new_wxPanel
,(arg0
.this
,arg1
,)+args
)
398 wx
._StdWindowCallbacks
(self
)
403 class wxDialogPtr(wxPanelPtr
):
404 def __init__(self
,this
):
407 def Centre(self
,*args
):
408 val
= apply(windowsc
.wxDialog_Centre
,(self
.this
,)+args
)
410 def EndModal(self
,arg0
):
411 val
= windowsc
.wxDialog_EndModal(self
.this
,arg0
)
414 val
= windowsc
.wxDialog_GetTitle(self
.this
)
416 def Iconize(self
,arg0
):
417 val
= windowsc
.wxDialog_Iconize(self
.this
,arg0
)
419 def IsIconized(self
):
420 val
= windowsc
.wxDialog_IsIconized(self
.this
)
422 def SetModal(self
,arg0
):
423 val
= windowsc
.wxDialog_SetModal(self
.this
,arg0
)
426 val
= windowsc
.wxDialog_IsModal(self
.this
)
428 def SetTitle(self
,arg0
):
429 val
= windowsc
.wxDialog_SetTitle(self
.this
,arg0
)
432 val
= windowsc
.wxDialog_Show(self
.this
,arg0
)
435 val
= windowsc
.wxDialog_ShowModal(self
.this
)
438 return "<C wxDialog instance>"
439 class wxDialog(wxDialogPtr
):
440 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
441 argl
= map(None,args
)
442 try: argl
[0] = argl
[0].this
444 try: argl
[1] = argl
[1].this
447 self
.this
= apply(windowsc
.new_wxDialog
,(arg0
.this
,arg1
,arg2
,)+args
)
449 wx
._StdDialogCallbacks
(self
)
454 class wxScrolledWindowPtr(wxWindowPtr
):
455 def __init__(self
,this
):
458 def EnableScrolling(self
,arg0
,arg1
):
459 val
= windowsc
.wxScrolledWindow_EnableScrolling(self
.this
,arg0
,arg1
)
461 def GetScrollPixelsPerUnit(self
):
462 val
= windowsc
.wxScrolledWindow_GetScrollPixelsPerUnit(self
.this
)
464 def GetVirtualSize(self
):
465 val
= windowsc
.wxScrolledWindow_GetVirtualSize(self
.this
)
467 def IsRetained(self
):
468 val
= windowsc
.wxScrolledWindow_IsRetained(self
.this
)
470 def PrepareDC(self
,arg0
):
471 val
= windowsc
.wxScrolledWindow_PrepareDC(self
.this
,arg0
.this
)
473 def Scroll(self
,arg0
,arg1
):
474 val
= windowsc
.wxScrolledWindow_Scroll(self
.this
,arg0
,arg1
)
476 def SetScrollbars(self
,arg0
,arg1
,arg2
,arg3
,*args
):
477 val
= apply(windowsc
.wxScrolledWindow_SetScrollbars
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
480 val
= windowsc
.wxScrolledWindow_ViewStart(self
.this
)
483 return "<C wxScrolledWindow instance>"
484 class wxScrolledWindow(wxScrolledWindowPtr
):
485 def __init__(self
,arg0
,*args
) :
486 argl
= map(None,args
)
487 try: argl
[1] = argl
[1].this
489 try: argl
[2] = argl
[2].this
492 self
.this
= apply(windowsc
.new_wxScrolledWindow
,(arg0
.this
,)+args
)
494 wx
._StdWindowCallbacks
(self
)
495 wx
._StdOnScrollCallbacks
(self
)
500 class wxMenuPtr(wxEvtHandlerPtr
):
501 def __init__(self
,this
):
504 def Append(self
,arg0
,arg1
,*args
):
505 val
= apply(windowsc
.wxMenu_Append
,(self
.this
,arg0
,arg1
,)+args
)
507 def AppendMenu(self
,arg0
,arg1
,arg2
,*args
):
508 val
= apply(windowsc
.wxMenu_AppendMenu
,(self
.this
,arg0
,arg1
,arg2
.this
,)+args
)
510 def AppendItem(self
,arg0
):
511 val
= windowsc
.wxMenu_AppendItem(self
.this
,arg0
.this
)
513 def AppendSeparator(self
):
514 val
= windowsc
.wxMenu_AppendSeparator(self
.this
)
517 val
= windowsc
.wxMenu_Break(self
.this
)
519 def Check(self
,arg0
,arg1
):
520 val
= windowsc
.wxMenu_Check(self
.this
,arg0
,arg1
)
522 def Enable(self
,arg0
,arg1
):
523 val
= windowsc
.wxMenu_Enable(self
.this
,arg0
,arg1
)
525 def FindItem(self
,arg0
):
526 val
= windowsc
.wxMenu_FindItem(self
.this
,arg0
)
529 val
= windowsc
.wxMenu_GetTitle(self
.this
)
531 def SetTitle(self
,arg0
):
532 val
= windowsc
.wxMenu_SetTitle(self
.this
,arg0
)
534 def FindItemForId(self
,arg0
):
535 val
= windowsc
.wxMenu_FindItemForId(self
.this
,arg0
)
536 val
= wxMenuItemPtr(val
)
538 def GetHelpString(self
,arg0
):
539 val
= windowsc
.wxMenu_GetHelpString(self
.this
,arg0
)
541 def GetLabel(self
,arg0
):
542 val
= windowsc
.wxMenu_GetLabel(self
.this
,arg0
)
544 def SetHelpString(self
,arg0
,arg1
):
545 val
= windowsc
.wxMenu_SetHelpString(self
.this
,arg0
,arg1
)
547 def IsChecked(self
,arg0
):
548 val
= windowsc
.wxMenu_IsChecked(self
.this
,arg0
)
550 def IsEnabled(self
,arg0
):
551 val
= windowsc
.wxMenu_IsEnabled(self
.this
,arg0
)
553 def SetLabel(self
,arg0
,arg1
):
554 val
= windowsc
.wxMenu_SetLabel(self
.this
,arg0
,arg1
)
557 return "<C wxMenu instance>"
558 class wxMenu(wxMenuPtr
):
559 def __init__(self
,*args
) :
560 self
.this
= apply(windowsc
.new_wxMenu
,()+args
)
566 class wxPyMenuPtr(wxMenuPtr
):
567 def __init__(self
,this
):
571 if self
.thisown
== 1 :
572 windowsc
.delete_wxPyMenu(self
.this
)
574 return "<C wxPyMenu instance>"
575 class wxPyMenu(wxPyMenuPtr
):
576 def __init__(self
,*args
) :
577 self
.this
= apply(windowsc
.new_wxPyMenu
,()+args
)
583 class wxMenuBarPtr(wxEvtHandlerPtr
):
584 def __init__(self
,this
):
587 def Append(self
,arg0
,arg1
):
588 val
= windowsc
.wxMenuBar_Append(self
.this
,arg0
.this
,arg1
)
590 def Check(self
,arg0
,arg1
):
591 val
= windowsc
.wxMenuBar_Check(self
.this
,arg0
,arg1
)
593 def Checked(self
,arg0
):
594 val
= windowsc
.wxMenuBar_Checked(self
.this
,arg0
)
596 def Enable(self
,arg0
,arg1
):
597 val
= windowsc
.wxMenuBar_Enable(self
.this
,arg0
,arg1
)
599 def Enabled(self
,arg0
):
600 val
= windowsc
.wxMenuBar_Enabled(self
.this
,arg0
)
602 def FindMenuItem(self
,arg0
,arg1
):
603 val
= windowsc
.wxMenuBar_FindMenuItem(self
.this
,arg0
,arg1
)
605 def FindItemForId(self
,arg0
):
606 val
= windowsc
.wxMenuBar_FindItemForId(self
.this
,arg0
)
607 val
= wxMenuItemPtr(val
)
609 def EnableTop(self
,arg0
,arg1
):
610 val
= windowsc
.wxMenuBar_EnableTop(self
.this
,arg0
,arg1
)
612 def GetHelpString(self
,arg0
):
613 val
= windowsc
.wxMenuBar_GetHelpString(self
.this
,arg0
)
615 def GetLabel(self
,arg0
):
616 val
= windowsc
.wxMenuBar_GetLabel(self
.this
,arg0
)
618 def SetHelpString(self
,arg0
,arg1
):
619 val
= windowsc
.wxMenuBar_SetHelpString(self
.this
,arg0
,arg1
)
621 def SetLabel(self
,arg0
,arg1
):
622 val
= windowsc
.wxMenuBar_SetLabel(self
.this
,arg0
,arg1
)
624 def GetLabelTop(self
,arg0
):
625 val
= windowsc
.wxMenuBar_GetLabelTop(self
.this
,arg0
)
627 def SetLabelTop(self
,arg0
,arg1
):
628 val
= windowsc
.wxMenuBar_SetLabelTop(self
.this
,arg0
,arg1
)
630 def GetMenuCount(self
):
631 val
= windowsc
.wxMenuBar_GetMenuCount(self
.this
)
633 def GetMenu(self
,arg0
):
634 val
= windowsc
.wxMenuBar_GetMenu(self
.this
,arg0
)
638 return "<C wxMenuBar instance>"
639 class wxMenuBar(wxMenuBarPtr
):
641 self
.this
= windowsc
.new_wxMenuBar()
647 class wxMenuItemPtr
:
648 def __init__(self
,this
):
651 def IsSeparator(self
):
652 val
= windowsc
.wxMenuItem_IsSeparator(self
.this
)
655 val
= windowsc
.wxMenuItem_IsEnabled(self
.this
)
658 val
= windowsc
.wxMenuItem_IsChecked(self
.this
)
660 def IsCheckable(self
):
661 val
= windowsc
.wxMenuItem_IsCheckable(self
.this
)
664 val
= windowsc
.wxMenuItem_GetId(self
.this
)
666 def GetSubMenu(self
):
667 val
= windowsc
.wxMenuItem_GetSubMenu(self
.this
)
670 def SetName(self
,arg0
):
671 val
= windowsc
.wxMenuItem_SetName(self
.this
,arg0
)
674 val
= windowsc
.wxMenuItem_GetName(self
.this
)
677 val
= windowsc
.wxMenuItem_GetHelp(self
.this
)
679 def SetHelp(self
,arg0
):
680 val
= windowsc
.wxMenuItem_SetHelp(self
.this
,arg0
)
682 def Enable(self
,*args
):
683 val
= apply(windowsc
.wxMenuItem_Enable
,(self
.this
,)+args
)
685 def Check(self
,*args
):
686 val
= apply(windowsc
.wxMenuItem_Check
,(self
.this
,)+args
)
688 def GetBackgroundColour(self
):
689 val
= windowsc
.wxMenuItem_GetBackgroundColour(self
.this
)
690 val
= wxColourPtr(val
)
692 def GetBitmap(self
,*args
):
693 val
= apply(windowsc
.wxMenuItem_GetBitmap
,(self
.this
,)+args
)
694 val
= wxBitmapPtr(val
)
698 val
= windowsc
.wxMenuItem_GetFont(self
.this
)
701 def GetMarginWidth(self
):
702 val
= windowsc
.wxMenuItem_GetMarginWidth(self
.this
)
704 def GetTextColour(self
):
705 val
= windowsc
.wxMenuItem_GetTextColour(self
.this
)
706 val
= wxColourPtr(val
)
708 def SetBackgroundColour(self
,arg0
):
709 val
= windowsc
.wxMenuItem_SetBackgroundColour(self
.this
,arg0
.this
)
711 def SetBitmaps(self
,arg0
,*args
):
712 argl
= map(None,args
)
713 try: argl
[0] = argl
[0].this
716 val
= apply(windowsc
.wxMenuItem_SetBitmaps
,(self
.this
,arg0
.this
,)+args
)
718 def SetFont(self
,arg0
):
719 val
= windowsc
.wxMenuItem_SetFont(self
.this
,arg0
.this
)
721 def SetMarginWidth(self
,arg0
):
722 val
= windowsc
.wxMenuItem_SetMarginWidth(self
.this
,arg0
)
724 def SetTextColour(self
,arg0
):
725 val
= windowsc
.wxMenuItem_SetTextColour(self
.this
,arg0
.this
)
727 def DeleteSubMenu(self
):
728 val
= windowsc
.wxMenuItem_DeleteSubMenu(self
.this
)
731 return "<C wxMenuItem instance>"
732 class wxMenuItem(wxMenuItemPtr
):
733 def __init__(self
,*args
) :
734 argl
= map(None,args
)
735 try: argl
[0] = argl
[0].this
737 try: argl
[5] = argl
[5].this
740 self
.this
= apply(windowsc
.new_wxMenuItem
,()+args
)
748 #-------------- FUNCTION WRAPPERS ------------------
750 def wxWindow_FindFocus():
751 val
= windowsc
.wxWindow_FindFocus()
752 val
= wxWindowPtr(val
)
755 def wxWindow_FromHWND(arg0
):
756 val
= windowsc
.wxWindow_FromHWND(arg0
)
757 val
= wxWindowPtr(val
)
762 #-------------- VARIABLE WRAPPERS ------------------