1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
24 from stattool
import *
26 from controls
import *
28 from controls2
import *
30 from windows2
import *
34 from windows3
import *
44 def EVT_DYNAMIC_SASH_SPLIT(win
, id, func
):
45 win
.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT
, func
)
47 def EVT_DYNAMIC_SASH_UNIFY(win
, id, func
):
48 win
.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY
, func
)
50 class wxDynamicSashSplitEventPtr(wxCommandEventPtr
):
51 def __init__(self
,this
):
55 return "<C wxDynamicSashSplitEvent instance at %s>" % (self
.this
,)
56 class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr
):
57 def __init__(self
,*_args
,**_kwargs
):
58 self
.this
= apply(gizmosc
.new_wxDynamicSashSplitEvent
,_args
,_kwargs
)
64 class wxDynamicSashUnifyEventPtr(wxCommandEventPtr
):
65 def __init__(self
,this
):
69 return "<C wxDynamicSashUnifyEvent instance at %s>" % (self
.this
,)
70 class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr
):
71 def __init__(self
,*_args
,**_kwargs
):
72 self
.this
= apply(gizmosc
.new_wxDynamicSashUnifyEvent
,_args
,_kwargs
)
78 class wxDynamicSashWindowPtr(wxWindowPtr
):
79 def __init__(self
,this
):
82 def Create(self
, *_args
, **_kwargs
):
83 val
= apply(gizmosc
.wxDynamicSashWindow_Create
,(self
,) + _args
, _kwargs
)
85 def GetHScrollBar(self
, *_args
, **_kwargs
):
86 val
= apply(gizmosc
.wxDynamicSashWindow_GetHScrollBar
,(self
,) + _args
, _kwargs
)
87 if val
: val
= wxScrollBarPtr(val
)
89 def GetVScrollBar(self
, *_args
, **_kwargs
):
90 val
= apply(gizmosc
.wxDynamicSashWindow_GetVScrollBar
,(self
,) + _args
, _kwargs
)
91 if val
: val
= wxScrollBarPtr(val
)
94 return "<C wxDynamicSashWindow instance at %s>" % (self
.this
,)
95 class wxDynamicSashWindow(wxDynamicSashWindowPtr
):
96 def __init__(self
,*_args
,**_kwargs
):
97 self
.this
= apply(gizmosc
.new_wxDynamicSashWindow
,_args
,_kwargs
)
99 self
._setOORInfo
(self
)
103 def wxPreDynamicSashWindow(*_args
,**_kwargs
):
104 val
= wxDynamicSashWindowPtr(apply(gizmosc
.new_wxPreDynamicSashWindow
,_args
,_kwargs
))
110 class wxEditableListBoxPtr(wxPanelPtr
):
111 def __init__(self
,this
):
114 def SetStrings(self
, *_args
, **_kwargs
):
115 val
= apply(gizmosc
.wxEditableListBox_SetStrings
,(self
,) + _args
, _kwargs
)
117 def GetStrings(self
, *_args
, **_kwargs
):
118 val
= apply(gizmosc
.wxEditableListBox_GetStrings
,(self
,) + _args
, _kwargs
)
121 return "<C wxEditableListBox instance at %s>" % (self
.this
,)
122 class wxEditableListBox(wxEditableListBoxPtr
):
123 def __init__(self
,*_args
,**_kwargs
):
124 self
.this
= apply(gizmosc
.new_wxEditableListBox
,_args
,_kwargs
)
126 self
._setOORInfo
(self
)
131 class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr
):
132 def __init__(self
,this
):
135 def HideVScrollbar(self
, *_args
, **_kwargs
):
136 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_HideVScrollbar
,(self
,) + _args
, _kwargs
)
138 def AdjustRemoteScrollbars(self
, *_args
, **_kwargs
):
139 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
,(self
,) + _args
, _kwargs
)
141 def GetScrolledWindow(self
, *_args
, **_kwargs
):
142 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetScrolledWindow
,(self
,) + _args
, _kwargs
)
143 if val
: val
= wxScrolledWindowPtr(val
)
145 def ScrollToLine(self
, *_args
, **_kwargs
):
146 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_ScrollToLine
,(self
,) + _args
, _kwargs
)
148 def SetCompanionWindow(self
, *_args
, **_kwargs
):
149 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_SetCompanionWindow
,(self
,) + _args
, _kwargs
)
151 def GetCompanionWindow(self
, *_args
, **_kwargs
):
152 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetCompanionWindow
,(self
,) + _args
, _kwargs
)
155 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self
.this
,)
156 class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr
):
157 def __init__(self
,*_args
,**_kwargs
):
158 self
.this
= apply(gizmosc
.new_wxRemotelyScrolledTreeCtrl
,_args
,_kwargs
)
160 self
._setOORInfo
(self
)
165 class wxTreeCompanionWindowPtr(wxWindowPtr
):
166 def __init__(self
,this
):
169 def _setCallbackInfo(self
, *_args
, **_kwargs
):
170 val
= apply(gizmosc
.wxTreeCompanionWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
172 def GetTreeCtrl(self
, *_args
, **_kwargs
):
173 val
= apply(gizmosc
.wxTreeCompanionWindow_GetTreeCtrl
,(self
,) + _args
, _kwargs
)
174 if val
: val
= wxRemotelyScrolledTreeCtrlPtr(val
)
176 def SetTreeCtrl(self
, *_args
, **_kwargs
):
177 val
= apply(gizmosc
.wxTreeCompanionWindow_SetTreeCtrl
,(self
,) + _args
, _kwargs
)
180 return "<C wxTreeCompanionWindow instance at %s>" % (self
.this
,)
181 class wxTreeCompanionWindow(wxTreeCompanionWindowPtr
):
182 def __init__(self
,*_args
,**_kwargs
):
183 self
.this
= apply(gizmosc
.new_wxTreeCompanionWindow
,_args
,_kwargs
)
185 self
._setCallbackInfo
(self
, wxTreeCompanionWindow
)
186 self
._setOORInfo
(self
)
191 class wxThinSplitterWindowPtr(wxSplitterWindowPtr
):
192 def __init__(self
,this
):
196 return "<C wxThinSplitterWindow instance at %s>" % (self
.this
,)
197 class wxThinSplitterWindow(wxThinSplitterWindowPtr
):
198 def __init__(self
,*_args
,**_kwargs
):
199 self
.this
= apply(gizmosc
.new_wxThinSplitterWindow
,_args
,_kwargs
)
201 self
._setOORInfo
(self
)
206 class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr
):
207 def __init__(self
,this
):
211 return "<C wxSplitterScrolledWindow instance at %s>" % (self
.this
,)
212 class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr
):
213 def __init__(self
,*_args
,**_kwargs
):
214 self
.this
= apply(gizmosc
.new_wxSplitterScrolledWindow
,_args
,_kwargs
)
216 self
._setOORInfo
(self
)
221 class wxLEDNumberCtrlPtr(wxControlPtr
):
222 def __init__(self
,this
):
225 def Create(self
, *_args
, **_kwargs
):
226 val
= apply(gizmosc
.wxLEDNumberCtrl_Create
,(self
,) + _args
, _kwargs
)
228 def GetAlignment(self
, *_args
, **_kwargs
):
229 val
= apply(gizmosc
.wxLEDNumberCtrl_GetAlignment
,(self
,) + _args
, _kwargs
)
231 def GetDrawFaded(self
, *_args
, **_kwargs
):
232 val
= apply(gizmosc
.wxLEDNumberCtrl_GetDrawFaded
,(self
,) + _args
, _kwargs
)
234 def GetValue(self
, *_args
, **_kwargs
):
235 val
= apply(gizmosc
.wxLEDNumberCtrl_GetValue
,(self
,) + _args
, _kwargs
)
237 def SetAlignment(self
, *_args
, **_kwargs
):
238 val
= apply(gizmosc
.wxLEDNumberCtrl_SetAlignment
,(self
,) + _args
, _kwargs
)
240 def SetDrawFaded(self
, *_args
, **_kwargs
):
241 val
= apply(gizmosc
.wxLEDNumberCtrl_SetDrawFaded
,(self
,) + _args
, _kwargs
)
243 def SetValue(self
, *_args
, **_kwargs
):
244 val
= apply(gizmosc
.wxLEDNumberCtrl_SetValue
,(self
,) + _args
, _kwargs
)
247 return "<C wxLEDNumberCtrl instance at %s>" % (self
.this
,)
248 class wxLEDNumberCtrl(wxLEDNumberCtrlPtr
):
249 def __init__(self
,*_args
,**_kwargs
):
250 self
.this
= apply(gizmosc
.new_wxLEDNumberCtrl
,_args
,_kwargs
)
252 self
._setOORInfo
(self
)
256 def wxPreLEDNumberCtrl(*_args
,**_kwargs
):
257 val
= wxLEDNumberCtrlPtr(apply(gizmosc
.new_wxPreLEDNumberCtrl
,_args
,_kwargs
))
265 #-------------- FUNCTION WRAPPERS ------------------
269 #-------------- VARIABLE WRAPPERS ------------------
271 wxEVT_DYNAMIC_SASH_SPLIT
= gizmosc
.wxEVT_DYNAMIC_SASH_SPLIT
272 wxEVT_DYNAMIC_SASH_UNIFY
= gizmosc
.wxEVT_DYNAMIC_SASH_UNIFY
273 wxDS_MANAGE_SCROLLBARS
= gizmosc
.wxDS_MANAGE_SCROLLBARS
274 wxDS_DRAG_CORNER
= gizmosc
.wxDS_DRAG_CORNER
275 wxEL_ALLOW_NEW
= gizmosc
.wxEL_ALLOW_NEW
276 wxEL_ALLOW_EDIT
= gizmosc
.wxEL_ALLOW_EDIT
277 wxEL_ALLOW_DELETE
= gizmosc
.wxEL_ALLOW_DELETE
278 wxLED_ALIGN_LEFT
= gizmosc
.wxLED_ALIGN_LEFT
279 wxLED_ALIGN_RIGHT
= gizmosc
.wxLED_ALIGN_RIGHT
280 wxLED_ALIGN_CENTER
= gizmosc
.wxLED_ALIGN_CENTER
281 wxLED_ALIGN_MASK
= gizmosc
.wxLED_ALIGN_MASK
282 wxLED_DRAW_FADED
= gizmosc
.wxLED_DRAW_FADED
285 #-------------- USER INCLUDE -----------------------
287 # Stuff these names into the wx namespace so wxPyConstructObject can find them
289 wx
.wxDynamicSashSplitEventPtr
= wxDynamicSashSplitEventPtr
290 wx
.wxDynamicSashUnifyEventPtr
= wxDynamicSashUnifyEventPtr
291 wx
.wxDynamicSashWindowPtr
= wxDynamicSashWindowPtr
293 wx
.wxEditableListBoxPtr
= wxEditableListBoxPtr
295 wx
.wxRemotelyScrolledTreeCtrlPtr
= wxRemotelyScrolledTreeCtrlPtr
296 wx
.wxTreeCompanionWindowPtr
= wxTreeCompanionWindowPtr
297 wx
.wxThinSplitterWindowPtr
= wxThinSplitterWindowPtr
298 wx
.wxSplitterScrolledWindowPtr
= wxSplitterScrolledWindowPtr