1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
14 from controls
import *
19 def EVT_HELP(win
, id, func
):
20 win
.Connect(id, -1, wxEVT_HELP
, func
)
22 def EVT_HELP_RANGE(win
, id, id2
, func
):
23 win
.Connect(id, id2
, wxEVT_HELP
, func
)
25 def EVT_DETAILED_HELP(win
, id, func
):
26 win
.Connect(id, -1, wxEVT_DETAILED_HELP
, func
)
28 def EVT_DETAILED_HELP_RANGE(win
, id, id2
, func
):
29 win
.Connect(id, id2
, wxEVT_DETAILED_HELP
, func
)
31 class wxHelpEventPtr(wxCommandEventPtr
):
32 def __init__(self
,this
):
35 def GetPosition(self
, *_args
, **_kwargs
):
36 val
= apply(helpc
.wxHelpEvent_GetPosition
,(self
,) + _args
, _kwargs
)
37 if val
: val
= wxPointPtr(val
)
39 def SetPosition(self
, *_args
, **_kwargs
):
40 val
= apply(helpc
.wxHelpEvent_SetPosition
,(self
,) + _args
, _kwargs
)
42 def GetLink(self
, *_args
, **_kwargs
):
43 val
= apply(helpc
.wxHelpEvent_GetLink
,(self
,) + _args
, _kwargs
)
45 def SetLink(self
, *_args
, **_kwargs
):
46 val
= apply(helpc
.wxHelpEvent_SetLink
,(self
,) + _args
, _kwargs
)
48 def GetTarget(self
, *_args
, **_kwargs
):
49 val
= apply(helpc
.wxHelpEvent_GetTarget
,(self
,) + _args
, _kwargs
)
51 def SetTarget(self
, *_args
, **_kwargs
):
52 val
= apply(helpc
.wxHelpEvent_SetTarget
,(self
,) + _args
, _kwargs
)
55 return "<C wxHelpEvent instance at %s>" % (self
.this
,)
56 class wxHelpEvent(wxHelpEventPtr
):
57 def __init__(self
,*_args
,**_kwargs
):
58 self
.this
= apply(helpc
.new_wxHelpEvent
,_args
,_kwargs
)
64 class wxContextHelpPtr(wxObjectPtr
):
65 def __init__(self
,this
):
68 def __del__(self
,helpc
=helpc
):
69 if self
.thisown
== 1 :
70 helpc
.delete_wxContextHelp(self
)
71 def BeginContextHelp(self
, *_args
, **_kwargs
):
72 val
= apply(helpc
.wxContextHelp_BeginContextHelp
,(self
,) + _args
, _kwargs
)
74 def EndContextHelp(self
, *_args
, **_kwargs
):
75 val
= apply(helpc
.wxContextHelp_EndContextHelp
,(self
,) + _args
, _kwargs
)
78 return "<C wxContextHelp instance at %s>" % (self
.this
,)
79 class wxContextHelp(wxContextHelpPtr
):
80 def __init__(self
,*_args
,**_kwargs
):
81 self
.this
= apply(helpc
.new_wxContextHelp
,_args
,_kwargs
)
87 class wxContextHelpButtonPtr(wxBitmapButtonPtr
):
88 def __init__(self
,this
):
92 return "<C wxContextHelpButton instance at %s>" % (self
.this
,)
93 class wxContextHelpButton(wxContextHelpButtonPtr
):
94 def __init__(self
,*_args
,**_kwargs
):
95 self
.this
= apply(helpc
.new_wxContextHelpButton
,_args
,_kwargs
)
97 self
._setOORInfo
(self
)
102 class wxHelpProviderPtr
:
103 def __init__(self
,this
):
106 def GetHelp(self
, *_args
, **_kwargs
):
107 val
= apply(helpc
.wxHelpProvider_GetHelp
,(self
,) + _args
, _kwargs
)
109 def ShowHelp(self
, *_args
, **_kwargs
):
110 val
= apply(helpc
.wxHelpProvider_ShowHelp
,(self
,) + _args
, _kwargs
)
112 def AddHelp(self
, *_args
, **_kwargs
):
113 val
= apply(helpc
.wxHelpProvider_AddHelp
,(self
,) + _args
, _kwargs
)
115 def AddHelpById(self
, *_args
, **_kwargs
):
116 val
= apply(helpc
.wxHelpProvider_AddHelpById
,(self
,) + _args
, _kwargs
)
118 def Destroy(self
, *_args
, **_kwargs
):
119 val
= apply(helpc
.wxHelpProvider_Destroy
,(self
,) + _args
, _kwargs
)
122 return "<C wxHelpProvider instance at %s>" % (self
.this
,)
123 class wxHelpProvider(wxHelpProviderPtr
):
124 def __init__(self
,this
):
130 class wxSimpleHelpProviderPtr(wxHelpProviderPtr
):
131 def __init__(self
,this
):
135 return "<C wxSimpleHelpProvider instance at %s>" % (self
.this
,)
136 class wxSimpleHelpProvider(wxSimpleHelpProviderPtr
):
137 def __init__(self
,*_args
,**_kwargs
):
138 self
.this
= apply(helpc
.new_wxSimpleHelpProvider
,_args
,_kwargs
)
146 #-------------- FUNCTION WRAPPERS ------------------
148 def wxHelpProvider_Set(*_args
, **_kwargs
):
149 val
= apply(helpc
.wxHelpProvider_Set
,_args
,_kwargs
)
150 if val
: val
= wxHelpProviderPtr(val
)
153 def wxHelpProvider_Get(*_args
, **_kwargs
):
154 val
= apply(helpc
.wxHelpProvider_Get
,_args
,_kwargs
)
155 if val
: val
= wxHelpProviderPtr(val
)
160 #-------------- VARIABLE WRAPPERS ------------------
162 wxFRAME_EX_CONTEXTHELP
= helpc
.wxFRAME_EX_CONTEXTHELP
163 wxDIALOG_EX_CONTEXTHELP
= helpc
.wxDIALOG_EX_CONTEXTHELP
164 wxID_CONTEXT_HELP
= helpc
.wxID_CONTEXT_HELP
165 wxEVT_HELP
= helpc
.wxEVT_HELP
166 wxEVT_DETAILED_HELP
= helpc
.wxEVT_DETAILED_HELP
169 #-------------- USER INCLUDE -----------------------
171 # Stuff these names into the wx namespace so wxPyConstructObject can find them
173 wx
.wxHelpEventPtr
= wxHelpEventPtr