]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/misc2.py
Corrected link error for missing wxRegTipProvider::GetTip by giving it
[wxWidgets.git] / utils / wxPython / src / gtk / misc2.py
1 # This file was created automatically by SWIG.
2 import misc2c
3
4 from windows import *
5
6 from misc import *
7
8 from gdi import *
9 class wxToolTipPtr :
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
13 def SetTip(self,arg0):
14 val = misc2c.wxToolTip_SetTip(self.this,arg0)
15 return val
16 def GetTip(self):
17 val = misc2c.wxToolTip_GetTip(self.this)
18 return val
19 def GetWindow(self):
20 val = misc2c.wxToolTip_GetWindow(self.this)
21 val = wxWindowPtr(val)
22 return val
23 def __repr__(self):
24 return "<C wxToolTip instance>"
25 class wxToolTip(wxToolTipPtr):
26 def __init__(self,arg0) :
27 self.this = misc2c.new_wxToolTip(arg0)
28 self.thisown = 1
29
30
31
32
33
34
35 #-------------- FUNCTION WRAPPERS ------------------
36
37 def wxFindWindowByLabel(arg0,*args):
38 argl = map(None,args)
39 try: argl[0] = argl[0].this
40 except: pass
41 args = tuple(argl)
42 val = apply(misc2c.wxFindWindowByLabel,(arg0,)+args)
43 val = wxWindowPtr(val)
44 return val
45
46 def wxFindWindowByName(arg0,*args):
47 argl = map(None,args)
48 try: argl[0] = argl[0].this
49 except: pass
50 args = tuple(argl)
51 val = apply(misc2c.wxFindWindowByName,(arg0,)+args)
52 val = wxWindowPtr(val)
53 return val
54
55 wxToolTip_Enable = misc2c.wxToolTip_Enable
56
57 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
58
59
60
61 #-------------- VARIABLE WRAPPERS ------------------
62