]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.py
more updates
[wxWidgets.git] / utils / wxPython / src / msw / 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, *_args, **_kwargs):
14 val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
15 return val
16 def GetTip(self, *_args, **_kwargs):
17 val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
18 return val
19 def GetWindow(self, *_args, **_kwargs):
20 val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
21 if val: val = wxWindowPtr(val)
22 return val
23 def __repr__(self):
24 return "<C wxToolTip instance at %s>" % (self.this,)
25 class wxToolTip(wxToolTipPtr):
26 def __init__(self,*_args,**_kwargs):
27 self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
28 self.thisown = 1
29
30
31
32
33 class wxCaretPtr :
34 def __init__(self,this):
35 self.this = this
36 self.thisown = 0
37 def __del__(self,misc2c=misc2c):
38 if self.thisown == 1 :
39 misc2c.delete_wxCaret(self)
40 def IsOk(self, *_args, **_kwargs):
41 val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs)
42 return val
43 def IsVisible(self, *_args, **_kwargs):
44 val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs)
45 return val
46 def GetPositionTuple(self, *_args, **_kwargs):
47 val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs)
48 return val
49 def GetPosition(self, *_args, **_kwargs):
50 val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs)
51 if val: val = wxPointPtr(val) ; val.thisown = 1
52 return val
53 def GetSizeTuple(self, *_args, **_kwargs):
54 val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs)
55 return val
56 def GetSize(self, *_args, **_kwargs):
57 val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs)
58 if val: val = wxSizePtr(val) ; val.thisown = 1
59 return val
60 def GetWindow(self, *_args, **_kwargs):
61 val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs)
62 if val: val = wxWindowPtr(val)
63 return val
64 def MoveXY(self, *_args, **_kwargs):
65 val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs)
66 return val
67 def Move(self, *_args, **_kwargs):
68 val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs)
69 return val
70 def Show(self, *_args, **_kwargs):
71 val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs)
72 return val
73 def Hide(self, *_args, **_kwargs):
74 val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs)
75 return val
76 def OnSetFocus(self, *_args, **_kwargs):
77 val = apply(misc2c.wxCaret_OnSetFocus,(self,) + _args, _kwargs)
78 return val
79 def OnKillFocus(self, *_args, **_kwargs):
80 val = apply(misc2c.wxCaret_OnKillFocus,(self,) + _args, _kwargs)
81 return val
82 def __repr__(self):
83 return "<C wxCaret instance at %s>" % (self.this,)
84 class wxCaret(wxCaretPtr):
85 def __init__(self,*_args,**_kwargs):
86 self.this = apply(misc2c.new_wxCaret,_args,_kwargs)
87 self.thisown = 1
88
89
90
91
92
93
94 #-------------- FUNCTION WRAPPERS ------------------
95
96 def wxFindWindowByLabel(*_args, **_kwargs):
97 val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
98 if val: val = wxWindowPtr(val)
99 return val
100
101 def wxFindWindowByName(*_args, **_kwargs):
102 val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
103 if val: val = wxWindowPtr(val)
104 return val
105
106 wxToolTip_Enable = misc2c.wxToolTip_Enable
107
108 wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
109
110 wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime
111
112 wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime
113
114
115
116 #-------------- VARIABLE WRAPPERS ------------------
117