]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.py
1 # This file was created automatically by SWIG.
10 def __init__(self
,this
):
13 def SetTip(self
, *_args
, **_kwargs
):
14 val
= apply(misc2c
.wxToolTip_SetTip
,(self
,) + _args
, _kwargs
)
16 def GetTip(self
, *_args
, **_kwargs
):
17 val
= apply(misc2c
.wxToolTip_GetTip
,(self
,) + _args
, _kwargs
)
19 def GetWindow(self
, *_args
, **_kwargs
):
20 val
= apply(misc2c
.wxToolTip_GetWindow
,(self
,) + _args
, _kwargs
)
21 if val
: val
= wxWindowPtr(val
)
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
)
34 def __init__(self
,this
):
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
)
43 def IsVisible(self
, *_args
, **_kwargs
):
44 val
= apply(misc2c
.wxCaret_IsVisible
,(self
,) + _args
, _kwargs
)
46 def GetPositionTuple(self
, *_args
, **_kwargs
):
47 val
= apply(misc2c
.wxCaret_GetPositionTuple
,(self
,) + _args
, _kwargs
)
49 def GetPosition(self
, *_args
, **_kwargs
):
50 val
= apply(misc2c
.wxCaret_GetPosition
,(self
,) + _args
, _kwargs
)
51 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
53 def GetSizeTuple(self
, *_args
, **_kwargs
):
54 val
= apply(misc2c
.wxCaret_GetSizeTuple
,(self
,) + _args
, _kwargs
)
56 def GetSize(self
, *_args
, **_kwargs
):
57 val
= apply(misc2c
.wxCaret_GetSize
,(self
,) + _args
, _kwargs
)
58 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
60 def GetWindow(self
, *_args
, **_kwargs
):
61 val
= apply(misc2c
.wxCaret_GetWindow
,(self
,) + _args
, _kwargs
)
62 if val
: val
= wxWindowPtr(val
)
64 def MoveXY(self
, *_args
, **_kwargs
):
65 val
= apply(misc2c
.wxCaret_MoveXY
,(self
,) + _args
, _kwargs
)
67 def Move(self
, *_args
, **_kwargs
):
68 val
= apply(misc2c
.wxCaret_Move
,(self
,) + _args
, _kwargs
)
70 def Show(self
, *_args
, **_kwargs
):
71 val
= apply(misc2c
.wxCaret_Show
,(self
,) + _args
, _kwargs
)
73 def Hide(self
, *_args
, **_kwargs
):
74 val
= apply(misc2c
.wxCaret_Hide
,(self
,) + _args
, _kwargs
)
76 def OnSetFocus(self
, *_args
, **_kwargs
):
77 val
= apply(misc2c
.wxCaret_OnSetFocus
,(self
,) + _args
, _kwargs
)
79 def OnKillFocus(self
, *_args
, **_kwargs
):
80 val
= apply(misc2c
.wxCaret_OnKillFocus
,(self
,) + _args
, _kwargs
)
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
)
94 #-------------- FUNCTION WRAPPERS ------------------
96 def wxFindWindowByLabel(*_args
, **_kwargs
):
97 val
= apply(misc2c
.wxFindWindowByLabel
,_args
,_kwargs
)
98 if val
: val
= wxWindowPtr(val
)
101 def wxFindWindowByName(*_args
, **_kwargs
):
102 val
= apply(misc2c
.wxFindWindowByName
,_args
,_kwargs
)
103 if val
: val
= wxWindowPtr(val
)
106 wxToolTip_Enable
= misc2c
.wxToolTip_Enable
108 wxToolTip_SetDelay
= misc2c
.wxToolTip_SetDelay
110 wxCaret_GetBlinkTime
= misc2c
.wxCaret_GetBlinkTime
112 wxCaret_SetBlinkTime
= misc2c
.wxCaret_SetBlinkTime
116 #-------------- VARIABLE WRAPPERS ------------------