]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows.py
wxPython 2.0b9, second phase (gtk)
[wxWidgets.git] / utils / wxPython / src / gtk / windows.py
1 # This file was created automatically by SWIG.
2 import windowsc
3
4 from misc import *
5
6 from gdi import *
7 import wx
8
9 def wxDLG_PNT(win, point):
10 return win.ConvertDialogPointToPixels(point)
11
12 def wxDLG_SZE(win, size):
13 return win.ConvertDialogSizeToPixels(size)
14
15 class wxEvtHandlerPtr :
16 def __init__(self,this):
17 self.this = this
18 self.thisown = 0
19 def ProcessEvent(self,arg0):
20 val = windowsc.wxEvtHandler_ProcessEvent(self.this,arg0.this)
21 return val
22 def Connect(self,arg0,arg1,arg2,arg3):
23 val = windowsc.wxEvtHandler_Connect(self.this,arg0,arg1,arg2,arg3)
24 return val
25 def __repr__(self):
26 return "<C wxEvtHandler instance>"
27 class wxEvtHandler(wxEvtHandlerPtr):
28 def __init__(self,this):
29 self.this = this
30
31
32
33
34 class wxWindowPtr(wxEvtHandlerPtr):
35 def __init__(self,this):
36 self.this = this
37 self.thisown = 0
38 def CaptureMouse(self):
39 val = windowsc.wxWindow_CaptureMouse(self.this)
40 return val
41 def Center(self,*args):
42 val = apply(windowsc.wxWindow_Center,(self.this,)+args)
43 return val
44 def Centre(self,*args):
45 val = apply(windowsc.wxWindow_Centre,(self.this,)+args)
46 return val
47 def ClientToScreenXY(self,arg0,arg1):
48 val = windowsc.wxWindow_ClientToScreenXY(self.this,arg0,arg1)
49 return val
50 def Close(self,*args):
51 val = apply(windowsc.wxWindow_Close,(self.this,)+args)
52 return val
53 def Destroy(self):
54 val = windowsc.wxWindow_Destroy(self.this)
55 return val
56 def DestroyChildren(self):
57 val = windowsc.wxWindow_DestroyChildren(self.this)
58 return val
59 def Enable(self,arg0):
60 val = windowsc.wxWindow_Enable(self.this,arg0)
61 return val
62 def FindWindowById(self,arg0):
63 val = windowsc.wxWindow_FindWindowById(self.this,arg0)
64 val = wxWindowPtr(val)
65 return val
66 def FindWindowByName(self,arg0):
67 val = windowsc.wxWindow_FindWindowByName(self.this,arg0)
68 val = wxWindowPtr(val)
69 return val
70 def Fit(self):
71 val = windowsc.wxWindow_Fit(self.this)
72 return val
73 def GetBackgroundColour(self):
74 val = windowsc.wxWindow_GetBackgroundColour(self.this)
75 val = wxColourPtr(val)
76 val.thisown = 1
77 return val
78 def GetCharHeight(self):
79 val = windowsc.wxWindow_GetCharHeight(self.this)
80 return val
81 def GetCharWidth(self):
82 val = windowsc.wxWindow_GetCharWidth(self.this)
83 return val
84 def GetClientSizeTuple(self):
85 val = windowsc.wxWindow_GetClientSizeTuple(self.this)
86 return val
87 def GetClientSize(self):
88 val = windowsc.wxWindow_GetClientSize(self.this)
89 val = wxSizePtr(val)
90 val.thisown = 1
91 return val
92 def GetConstraints(self):
93 val = windowsc.wxWindow_GetConstraints(self.this)
94 val = wxLayoutConstraintsPtr(val)
95 return val
96 def GetFont(self):
97 val = windowsc.wxWindow_GetFont(self.this)
98 val = wxFontPtr(val)
99 return val
100 def GetForegroundColour(self):
101 val = windowsc.wxWindow_GetForegroundColour(self.this)
102 val = wxColourPtr(val)
103 val.thisown = 1
104 return val
105 def GetGrandParent(self):
106 val = windowsc.wxWindow_GetGrandParent(self.this)
107 val = wxWindowPtr(val)
108 return val
109 def GetId(self):
110 val = windowsc.wxWindow_GetId(self.this)
111 return val
112 def GetLabel(self):
113 val = windowsc.wxWindow_GetLabel(self.this)
114 return val
115 def GetName(self):
116 val = windowsc.wxWindow_GetName(self.this)
117 return val
118 def GetParent(self):
119 val = windowsc.wxWindow_GetParent(self.this)
120 val = wxWindowPtr(val)
121 return val
122 def GetPositionTuple(self):
123 val = windowsc.wxWindow_GetPositionTuple(self.this)
124 return val
125 def GetPosition(self):
126 val = windowsc.wxWindow_GetPosition(self.this)
127 val = wxPointPtr(val)
128 val.thisown = 1
129 return val
130 def GetRect(self):
131 val = windowsc.wxWindow_GetRect(self.this)
132 val = wxRectPtr(val)
133 val.thisown = 1
134 return val
135 def GetReturnCode(self):
136 val = windowsc.wxWindow_GetReturnCode(self.this)
137 return val
138 def GetScrollThumb(self,arg0):
139 val = windowsc.wxWindow_GetScrollThumb(self.this,arg0)
140 return val
141 def GetScrollPos(self,arg0):
142 val = windowsc.wxWindow_GetScrollPos(self.this,arg0)
143 return val
144 def GetScrollRange(self,arg0):
145 val = windowsc.wxWindow_GetScrollRange(self.this,arg0)
146 return val
147 def GetSizeTuple(self):
148 val = windowsc.wxWindow_GetSizeTuple(self.this)
149 return val
150 def GetSize(self):
151 val = windowsc.wxWindow_GetSize(self.this)
152 val = wxSizePtr(val)
153 val.thisown = 1
154 return val
155 def GetTextExtent(self,arg0):
156 val = windowsc.wxWindow_GetTextExtent(self.this,arg0)
157 return val
158 def GetFullTextExtent(self,arg0,*args):
159 argl = map(None,args)
160 try: argl[0] = argl[0].this
161 except: pass
162 args = tuple(argl)
163 val = apply(windowsc.wxWindow_GetFullTextExtent,(self.this,arg0,)+args)
164 return val
165 def GetTitle(self):
166 val = windowsc.wxWindow_GetTitle(self.this)
167 return val
168 def GetWindowStyleFlag(self):
169 val = windowsc.wxWindow_GetWindowStyleFlag(self.this)
170 return val
171 def InitDialog(self):
172 val = windowsc.wxWindow_InitDialog(self.this)
173 return val
174 def IsEnabled(self):
175 val = windowsc.wxWindow_IsEnabled(self.this)
176 return val
177 def IsRetained(self):
178 val = windowsc.wxWindow_IsRetained(self.this)
179 return val
180 def IsShown(self):
181 val = windowsc.wxWindow_IsShown(self.this)
182 return val
183 def Layout(self):
184 val = windowsc.wxWindow_Layout(self.this)
185 return val
186 def LoadFromResource(self,arg0,arg1,*args):
187 val = apply(windowsc.wxWindow_LoadFromResource,(self.this,arg0.this,arg1,)+args)
188 return val
189 def Lower(self):
190 val = windowsc.wxWindow_Lower(self.this)
191 return val
192 def MakeModal(self,arg0):
193 val = windowsc.wxWindow_MakeModal(self.this,arg0)
194 return val
195 def MoveXY(self,arg0,arg1):
196 val = windowsc.wxWindow_MoveXY(self.this,arg0,arg1)
197 return val
198 def Move(self,arg0):
199 val = windowsc.wxWindow_Move(self.this,arg0.this)
200 return val
201 def PopupMenu(self,arg0,arg1,arg2):
202 val = windowsc.wxWindow_PopupMenu(self.this,arg0.this,arg1,arg2)
203 return val
204 def Raise(self):
205 val = windowsc.wxWindow_Raise(self.this)
206 return val
207 def Refresh(self,*args):
208 argl = map(None,args)
209 try: argl[1] = argl[1].this
210 except: pass
211 args = tuple(argl)
212 val = apply(windowsc.wxWindow_Refresh,(self.this,)+args)
213 return val
214 def ReleaseMouse(self):
215 val = windowsc.wxWindow_ReleaseMouse(self.this)
216 return val
217 def ScreenToClientXY(self,arg0,arg1):
218 val = windowsc.wxWindow_ScreenToClientXY(self.this,arg0,arg1)
219 return val
220 def ScrollWindow(self,arg0,arg1,*args):
221 argl = map(None,args)
222 try: argl[0] = argl[0].this
223 except: pass
224 args = tuple(argl)
225 val = apply(windowsc.wxWindow_ScrollWindow,(self.this,arg0,arg1,)+args)
226 return val
227 def SetAcceleratorTable(self,arg0):
228 val = windowsc.wxWindow_SetAcceleratorTable(self.this,arg0.this)
229 return val
230 def SetAutoLayout(self,arg0):
231 val = windowsc.wxWindow_SetAutoLayout(self.this,arg0)
232 return val
233 def SetBackgroundColour(self,arg0):
234 val = windowsc.wxWindow_SetBackgroundColour(self.this,arg0.this)
235 return val
236 def SetConstraints(self,arg0):
237 val = windowsc.wxWindow_SetConstraints(self.this,arg0.this)
238 return val
239 def SetDoubleClick(self,arg0):
240 val = windowsc.wxWindow_SetDoubleClick(self.this,arg0)
241 return val
242 def SetFocus(self):
243 val = windowsc.wxWindow_SetFocus(self.this)
244 return val
245 def SetFont(self,arg0):
246 val = windowsc.wxWindow_SetFont(self.this,arg0.this)
247 return val
248 def SetForegroundColour(self,arg0):
249 val = windowsc.wxWindow_SetForegroundColour(self.this,arg0.this)
250 return val
251 def SetId(self,arg0):
252 val = windowsc.wxWindow_SetId(self.this,arg0)
253 return val
254 def SetName(self,arg0):
255 val = windowsc.wxWindow_SetName(self.this,arg0)
256 return val
257 def SetReturnCode(self,arg0):
258 val = windowsc.wxWindow_SetReturnCode(self.this,arg0)
259 return val
260 def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
261 val = apply(windowsc.wxWindow_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
262 return val
263 def SetScrollPos(self,arg0,arg1,*args):
264 val = apply(windowsc.wxWindow_SetScrollPos,(self.this,arg0,arg1,)+args)
265 return val
266 def SetDimensions(self,arg0,arg1,arg2,arg3,*args):
267 val = apply(windowsc.wxWindow_SetDimensions,(self.this,arg0,arg1,arg2,arg3,)+args)
268 return val
269 def SetSize(self,arg0):
270 val = windowsc.wxWindow_SetSize(self.this,arg0.this)
271 return val
272 def SetPosition(self,arg0):
273 val = windowsc.wxWindow_SetPosition(self.this,arg0.this)
274 return val
275 def SetSizeHints(self,*args):
276 val = apply(windowsc.wxWindow_SetSizeHints,(self.this,)+args)
277 return val
278 def SetClientSizeWH(self,arg0,arg1):
279 val = windowsc.wxWindow_SetClientSizeWH(self.this,arg0,arg1)
280 return val
281 def SetClientSize(self,arg0):
282 val = windowsc.wxWindow_SetClientSize(self.this,arg0.this)
283 return val
284 def SetCursor(self,arg0):
285 val = windowsc.wxWindow_SetCursor(self.this,arg0.this)
286 return val
287 def SetTitle(self,arg0):
288 val = windowsc.wxWindow_SetTitle(self.this,arg0)
289 return val
290 def Show(self,arg0):
291 val = windowsc.wxWindow_Show(self.this,arg0)
292 return val
293 def TransferDataFromWindow(self):
294 val = windowsc.wxWindow_TransferDataFromWindow(self.this)
295 return val
296 def TransferDataToWindow(self):
297 val = windowsc.wxWindow_TransferDataToWindow(self.this)
298 return val
299 def Validate(self):
300 val = windowsc.wxWindow_Validate(self.this)
301 return val
302 def WarpPointer(self,arg0,arg1):
303 val = windowsc.wxWindow_WarpPointer(self.this,arg0,arg1)
304 return val
305 def ConvertDialogPointToPixels(self,arg0):
306 val = windowsc.wxWindow_ConvertDialogPointToPixels(self.this,arg0.this)
307 val = wxPointPtr(val)
308 val.thisown = 1
309 return val
310 def ConvertDialogSizeToPixels(self,arg0):
311 val = windowsc.wxWindow_ConvertDialogSizeToPixels(self.this,arg0.this)
312 val = wxSizePtr(val)
313 val.thisown = 1
314 return val
315 def DLG_PNT(self,arg0):
316 val = windowsc.wxWindow_DLG_PNT(self.this,arg0.this)
317 val = wxPointPtr(val)
318 val.thisown = 1
319 return val
320 def DLG_SZE(self,arg0):
321 val = windowsc.wxWindow_DLG_SZE(self.this,arg0.this)
322 val = wxSizePtr(val)
323 val.thisown = 1
324 return val
325 def ConvertPixelPointToDialog(self,arg0):
326 val = windowsc.wxWindow_ConvertPixelPointToDialog(self.this,arg0.this)
327 val = wxPointPtr(val)
328 val.thisown = 1
329 return val
330 def ConvertPixelSizeToDialog(self,arg0):
331 val = windowsc.wxWindow_ConvertPixelSizeToDialog(self.this,arg0.this)
332 val = wxSizePtr(val)
333 val.thisown = 1
334 return val
335 def SetToolTipString(self,arg0):
336 val = windowsc.wxWindow_SetToolTipString(self.this,arg0)
337 return val
338 def SetToolTip(self,arg0):
339 val = windowsc.wxWindow_SetToolTip(self.this,arg0.this)
340 return val
341 def GetToolTip(self):
342 val = windowsc.wxWindow_GetToolTip(self.this)
343 val = wxToolTipPtr(val)
344 return val
345 def __repr__(self):
346 return "<C wxWindow instance>"
347 class wxWindow(wxWindowPtr):
348 def __init__(self,arg0,arg1,*args) :
349 argl = map(None,args)
350 try: argl[0] = argl[0].this
351 except: pass
352 try: argl[1] = argl[1].this
353 except: pass
354 args = tuple(argl)
355 self.this = apply(windowsc.new_wxWindow,(arg0.this,arg1,)+args)
356 self.thisown = 1
357 wx._StdWindowCallbacks(self)
358
359
360
361
362 class wxPanelPtr(wxWindowPtr):
363 def __init__(self,this):
364 self.this = this
365 self.thisown = 0
366 def InitDialog(self):
367 val = windowsc.wxPanel_InitDialog(self.this)
368 return val
369 def __repr__(self):
370 return "<C wxPanel instance>"
371 class wxPanel(wxPanelPtr):
372 def __init__(self,arg0,arg1,*args) :
373 argl = map(None,args)
374 try: argl[0] = argl[0].this
375 except: pass
376 try: argl[1] = argl[1].this
377 except: pass
378 args = tuple(argl)
379 self.this = apply(windowsc.new_wxPanel,(arg0.this,arg1,)+args)
380 self.thisown = 1
381 wx._StdWindowCallbacks(self)
382
383
384
385
386 class wxDialogPtr(wxPanelPtr):
387 def __init__(self,this):
388 self.this = this
389 self.thisown = 0
390 def Centre(self,*args):
391 val = apply(windowsc.wxDialog_Centre,(self.this,)+args)
392 return val
393 def EndModal(self,arg0):
394 val = windowsc.wxDialog_EndModal(self.this,arg0)
395 return val
396 def GetTitle(self):
397 val = windowsc.wxDialog_GetTitle(self.this)
398 return val
399 def Iconize(self,arg0):
400 val = windowsc.wxDialog_Iconize(self.this,arg0)
401 return val
402 def IsIconized(self):
403 val = windowsc.wxDialog_IsIconized(self.this)
404 return val
405 def SetModal(self,arg0):
406 val = windowsc.wxDialog_SetModal(self.this,arg0)
407 return val
408 def IsModal(self):
409 val = windowsc.wxDialog_IsModal(self.this)
410 return val
411 def SetTitle(self,arg0):
412 val = windowsc.wxDialog_SetTitle(self.this,arg0)
413 return val
414 def Show(self,arg0):
415 val = windowsc.wxDialog_Show(self.this,arg0)
416 return val
417 def ShowModal(self):
418 val = windowsc.wxDialog_ShowModal(self.this)
419 return val
420 def __repr__(self):
421 return "<C wxDialog instance>"
422 class wxDialog(wxDialogPtr):
423 def __init__(self,arg0,arg1,arg2,*args) :
424 argl = map(None,args)
425 try: argl[0] = argl[0].this
426 except: pass
427 try: argl[1] = argl[1].this
428 except: pass
429 args = tuple(argl)
430 self.this = apply(windowsc.new_wxDialog,(arg0.this,arg1,arg2,)+args)
431 self.thisown = 1
432 wx._StdDialogCallbacks(self)
433
434
435
436
437 class wxScrolledWindowPtr(wxWindowPtr):
438 def __init__(self,this):
439 self.this = this
440 self.thisown = 0
441 def EnableScrolling(self,arg0,arg1):
442 val = windowsc.wxScrolledWindow_EnableScrolling(self.this,arg0,arg1)
443 return val
444 def GetScrollPixelsPerUnit(self):
445 val = windowsc.wxScrolledWindow_GetScrollPixelsPerUnit(self.this)
446 return val
447 def GetVirtualSize(self):
448 val = windowsc.wxScrolledWindow_GetVirtualSize(self.this)
449 return val
450 def IsRetained(self):
451 val = windowsc.wxScrolledWindow_IsRetained(self.this)
452 return val
453 def PrepareDC(self,arg0):
454 val = windowsc.wxScrolledWindow_PrepareDC(self.this,arg0.this)
455 return val
456 def Scroll(self,arg0,arg1):
457 val = windowsc.wxScrolledWindow_Scroll(self.this,arg0,arg1)
458 return val
459 def SetScrollbars(self,arg0,arg1,arg2,arg3,*args):
460 val = apply(windowsc.wxScrolledWindow_SetScrollbars,(self.this,arg0,arg1,arg2,arg3,)+args)
461 return val
462 def ViewStart(self):
463 val = windowsc.wxScrolledWindow_ViewStart(self.this)
464 return val
465 def __repr__(self):
466 return "<C wxScrolledWindow instance>"
467 class wxScrolledWindow(wxScrolledWindowPtr):
468 def __init__(self,arg0,*args) :
469 argl = map(None,args)
470 try: argl[1] = argl[1].this
471 except: pass
472 try: argl[2] = argl[2].this
473 except: pass
474 args = tuple(argl)
475 self.this = apply(windowsc.new_wxScrolledWindow,(arg0.this,)+args)
476 self.thisown = 1
477 wx._StdWindowCallbacks(self)
478 wx._StdOnScrollCallbacks(self)
479
480
481
482
483 class wxMenuPtr(wxEvtHandlerPtr):
484 def __init__(self,this):
485 self.this = this
486 self.thisown = 0
487 def Append(self,arg0,arg1,*args):
488 val = apply(windowsc.wxMenu_Append,(self.this,arg0,arg1,)+args)
489 return val
490 def AppendMenu(self,arg0,arg1,arg2,*args):
491 val = apply(windowsc.wxMenu_AppendMenu,(self.this,arg0,arg1,arg2.this,)+args)
492 return val
493 def AppendSeparator(self):
494 val = windowsc.wxMenu_AppendSeparator(self.this)
495 return val
496 def Break(self):
497 val = windowsc.wxMenu_Break(self.this)
498 return val
499 def Check(self,arg0,arg1):
500 val = windowsc.wxMenu_Check(self.this,arg0,arg1)
501 return val
502 def Enable(self,arg0,arg1):
503 val = windowsc.wxMenu_Enable(self.this,arg0,arg1)
504 return val
505 def FindItem(self,arg0):
506 val = windowsc.wxMenu_FindItem(self.this,arg0)
507 return val
508 def GetTitle(self):
509 val = windowsc.wxMenu_GetTitle(self.this)
510 return val
511 def SetTitle(self,arg0):
512 val = windowsc.wxMenu_SetTitle(self.this,arg0)
513 return val
514 def FindItemForId(self,arg0):
515 val = windowsc.wxMenu_FindItemForId(self.this,arg0)
516 val = wxMenuItemPtr(val)
517 return val
518 def GetHelpString(self,arg0):
519 val = windowsc.wxMenu_GetHelpString(self.this,arg0)
520 return val
521 def GetLabel(self,arg0):
522 val = windowsc.wxMenu_GetLabel(self.this,arg0)
523 return val
524 def SetHelpString(self,arg0,arg1):
525 val = windowsc.wxMenu_SetHelpString(self.this,arg0,arg1)
526 return val
527 def IsChecked(self,arg0):
528 val = windowsc.wxMenu_IsChecked(self.this,arg0)
529 return val
530 def IsEnabled(self,arg0):
531 val = windowsc.wxMenu_IsEnabled(self.this,arg0)
532 return val
533 def SetLabel(self,arg0,arg1):
534 val = windowsc.wxMenu_SetLabel(self.this,arg0,arg1)
535 return val
536 def __repr__(self):
537 return "<C wxMenu instance>"
538 class wxMenu(wxMenuPtr):
539 def __init__(self,*args) :
540 self.this = apply(windowsc.new_wxMenu,()+args)
541 self.thisown = 1
542
543
544
545
546 class wxPyMenuPtr(wxMenuPtr):
547 def __init__(self,this):
548 self.this = this
549 self.thisown = 0
550 def __del__(self):
551 if self.thisown == 1 :
552 windowsc.delete_wxPyMenu(self.this)
553 def __repr__(self):
554 return "<C wxPyMenu instance>"
555 class wxPyMenu(wxPyMenuPtr):
556 def __init__(self,*args) :
557 self.this = apply(windowsc.new_wxPyMenu,()+args)
558 self.thisown = 1
559
560
561
562
563 class wxMenuBarPtr(wxEvtHandlerPtr):
564 def __init__(self,this):
565 self.this = this
566 self.thisown = 0
567 def Append(self,arg0,arg1):
568 val = windowsc.wxMenuBar_Append(self.this,arg0.this,arg1)
569 return val
570 def Check(self,arg0,arg1):
571 val = windowsc.wxMenuBar_Check(self.this,arg0,arg1)
572 return val
573 def Checked(self,arg0):
574 val = windowsc.wxMenuBar_Checked(self.this,arg0)
575 return val
576 def Enable(self,arg0,arg1):
577 val = windowsc.wxMenuBar_Enable(self.this,arg0,arg1)
578 return val
579 def Enabled(self,arg0):
580 val = windowsc.wxMenuBar_Enabled(self.this,arg0)
581 return val
582 def FindMenuItem(self,arg0,arg1):
583 val = windowsc.wxMenuBar_FindMenuItem(self.this,arg0,arg1)
584 return val
585 def FindItemForId(self,arg0):
586 val = windowsc.wxMenuBar_FindItemForId(self.this,arg0)
587 val = wxMenuItemPtr(val)
588 return val
589 def GetMenuCount(self):
590 val = windowsc.wxMenuBar_GetMenuCount(self.this)
591 return val
592 def GetMenu(self,arg0):
593 val = windowsc.wxMenuBar_GetMenu(self.this,arg0)
594 val = wxMenuPtr(val)
595 return val
596 def __repr__(self):
597 return "<C wxMenuBar instance>"
598 class wxMenuBar(wxMenuBarPtr):
599 def __init__(self) :
600 self.this = windowsc.new_wxMenuBar()
601 self.thisown = 1
602
603
604
605
606 class wxMenuItemPtr :
607 def __init__(self,this):
608 self.this = this
609 self.thisown = 0
610 def IsSeparator(self):
611 val = windowsc.wxMenuItem_IsSeparator(self.this)
612 return val
613 def IsEnabled(self):
614 val = windowsc.wxMenuItem_IsEnabled(self.this)
615 return val
616 def IsChecked(self):
617 val = windowsc.wxMenuItem_IsChecked(self.this)
618 return val
619 def IsCheckable(self):
620 val = windowsc.wxMenuItem_IsCheckable(self.this)
621 return val
622 def GetId(self):
623 val = windowsc.wxMenuItem_GetId(self.this)
624 return val
625 def GetSubMenu(self):
626 val = windowsc.wxMenuItem_GetSubMenu(self.this)
627 val = wxMenuPtr(val)
628 return val
629 def SetName(self,arg0):
630 val = windowsc.wxMenuItem_SetName(self.this,arg0)
631 return val
632 def GetName(self):
633 val = windowsc.wxMenuItem_GetName(self.this)
634 return val
635 def GetHelp(self):
636 val = windowsc.wxMenuItem_GetHelp(self.this)
637 return val
638 def SetHelp(self,arg0):
639 val = windowsc.wxMenuItem_SetHelp(self.this,arg0)
640 return val
641 def Enable(self,*args):
642 val = apply(windowsc.wxMenuItem_Enable,(self.this,)+args)
643 return val
644 def Check(self,*args):
645 val = apply(windowsc.wxMenuItem_Check,(self.this,)+args)
646 return val
647 def __repr__(self):
648 return "<C wxMenuItem instance>"
649 class wxMenuItem(wxMenuItemPtr):
650 def __init__(self) :
651 self.this = windowsc.new_wxMenuItem()
652 self.thisown = 1
653
654
655
656
657
658
659 #-------------- FUNCTION WRAPPERS ------------------
660
661
662
663 #-------------- VARIABLE WRAPPERS ------------------
664