]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/misc2.py
Moved wxPy_ConvertList function from oglhelpers to helpers
[wxWidgets.git] / utils / wxPython / src / gtk / misc2.py
CommitLineData
d24a34bb
RD
1# This file was created automatically by SWIG.
2import misc2c
3
4from windows import *
5
6from misc import *
7
8from gdi import *
9class wxToolTipPtr :
10 def __init__(self,this):
11 self.this = this
12 self.thisown = 0
2d091820
RD
13 def SetTip(self, *_args, **_kwargs):
14 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
d24a34bb 15 return val
2d091820
RD
16 def GetTip(self, *_args, **_kwargs):
17 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
d24a34bb 18 return val
2d091820
RD
19 def GetWindow(self, *_args, **_kwargs):
20 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
21 if val: val = wxWindowPtr(val)
d24a34bb
RD
22 return val
23 def __repr__(self):
2d091820 24 return "<C wxToolTip instance at %s>" % (self.this,)
d24a34bb 25class wxToolTip(wxToolTipPtr):
2d091820
RD
26 def __init__(self,*_args,**_kwargs):
27 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
d24a34bb
RD
28 self.thisown = 1
29
30
31
32
33
34
35#-------------- FUNCTION WRAPPERS ------------------
36
2d091820
RD
37def wxFindWindowByLabel(*_args, **_kwargs):
38 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
39 if val: val = wxWindowPtr(val)
d24a34bb
RD
40 return val
41
2d091820
RD
42def wxFindWindowByName(*_args, **_kwargs):
43 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
44 if val: val = wxWindowPtr(val)
d24a34bb
RD
45 return val
46
47wxToolTip_Enable = misc2c.wxToolTip_Enable
48
49wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
50
51
52
53#-------------- VARIABLE WRAPPERS ------------------
54