1 # This file was created automatically by SWIG.
14 from clip_dnd
import *
26 from stattool
import *
28 from controls
import *
30 from controls2
import *
32 from windows2
import *
36 from windows3
import *
46 def EVT_DYNAMIC_SASH_SPLIT(win
, id, func
):
47 win
.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT
, func
)
49 def EVT_DYNAMIC_SASH_UNIFY(win
, id, func
):
50 win
.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY
, func
)
52 class wxDynamicSashSplitEventPtr(wxCommandEventPtr
):
53 def __init__(self
,this
):
57 return "<C wxDynamicSashSplitEvent instance at %s>" % (self
.this
,)
58 class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr
):
59 def __init__(self
,*_args
,**_kwargs
):
60 self
.this
= apply(gizmosc
.new_wxDynamicSashSplitEvent
,_args
,_kwargs
)
66 class wxDynamicSashUnifyEventPtr(wxCommandEventPtr
):
67 def __init__(self
,this
):
71 return "<C wxDynamicSashUnifyEvent instance at %s>" % (self
.this
,)
72 class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr
):
73 def __init__(self
,*_args
,**_kwargs
):
74 self
.this
= apply(gizmosc
.new_wxDynamicSashUnifyEvent
,_args
,_kwargs
)
80 class wxDynamicSashWindowPtr(wxWindowPtr
):
81 def __init__(self
,this
):
84 def Create(self
, *_args
, **_kwargs
):
85 val
= apply(gizmosc
.wxDynamicSashWindow_Create
,(self
,) + _args
, _kwargs
)
87 def GetHScrollBar(self
, *_args
, **_kwargs
):
88 val
= apply(gizmosc
.wxDynamicSashWindow_GetHScrollBar
,(self
,) + _args
, _kwargs
)
89 if val
: val
= wxScrollBarPtr(val
)
91 def GetVScrollBar(self
, *_args
, **_kwargs
):
92 val
= apply(gizmosc
.wxDynamicSashWindow_GetVScrollBar
,(self
,) + _args
, _kwargs
)
93 if val
: val
= wxScrollBarPtr(val
)
96 return "<C wxDynamicSashWindow instance at %s>" % (self
.this
,)
97 class wxDynamicSashWindow(wxDynamicSashWindowPtr
):
98 def __init__(self
,*_args
,**_kwargs
):
99 self
.this
= apply(gizmosc
.new_wxDynamicSashWindow
,_args
,_kwargs
)
101 self
._setOORInfo
(self
)
105 def wxPreDynamicSashWindow(*_args
,**_kwargs
):
106 val
= wxDynamicSashWindowPtr(apply(gizmosc
.new_wxPreDynamicSashWindow
,_args
,_kwargs
))
112 class wxEditableListBoxPtr(wxPanelPtr
):
113 def __init__(self
,this
):
116 def SetStrings(self
, *_args
, **_kwargs
):
117 val
= apply(gizmosc
.wxEditableListBox_SetStrings
,(self
,) + _args
, _kwargs
)
119 def GetStrings(self
, *_args
, **_kwargs
):
120 val
= apply(gizmosc
.wxEditableListBox_GetStrings
,(self
,) + _args
, _kwargs
)
122 def GetListCtrl(self
, *_args
, **_kwargs
):
123 val
= apply(gizmosc
.wxEditableListBox_GetListCtrl
,(self
,) + _args
, _kwargs
)
124 if val
: val
= wxListCtrlPtr(val
)
126 def GetDelButton(self
, *_args
, **_kwargs
):
127 val
= apply(gizmosc
.wxEditableListBox_GetDelButton
,(self
,) + _args
, _kwargs
)
128 if val
: val
= wxBitmapButtonPtr(val
)
130 def GetNewButton(self
, *_args
, **_kwargs
):
131 val
= apply(gizmosc
.wxEditableListBox_GetNewButton
,(self
,) + _args
, _kwargs
)
132 if val
: val
= wxBitmapButtonPtr(val
)
134 def GetUpButton(self
, *_args
, **_kwargs
):
135 val
= apply(gizmosc
.wxEditableListBox_GetUpButton
,(self
,) + _args
, _kwargs
)
136 if val
: val
= wxBitmapButtonPtr(val
)
138 def GetDownButton(self
, *_args
, **_kwargs
):
139 val
= apply(gizmosc
.wxEditableListBox_GetDownButton
,(self
,) + _args
, _kwargs
)
140 if val
: val
= wxBitmapButtonPtr(val
)
142 def GetEditButton(self
, *_args
, **_kwargs
):
143 val
= apply(gizmosc
.wxEditableListBox_GetEditButton
,(self
,) + _args
, _kwargs
)
144 if val
: val
= wxBitmapButtonPtr(val
)
147 return "<C wxEditableListBox instance at %s>" % (self
.this
,)
148 class wxEditableListBox(wxEditableListBoxPtr
):
149 def __init__(self
,*_args
,**_kwargs
):
150 self
.this
= apply(gizmosc
.new_wxEditableListBox
,_args
,_kwargs
)
152 self
._setOORInfo
(self
)
157 class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr
):
158 def __init__(self
,this
):
161 def HideVScrollbar(self
, *_args
, **_kwargs
):
162 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_HideVScrollbar
,(self
,) + _args
, _kwargs
)
164 def AdjustRemoteScrollbars(self
, *_args
, **_kwargs
):
165 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
,(self
,) + _args
, _kwargs
)
167 def GetScrolledWindow(self
, *_args
, **_kwargs
):
168 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetScrolledWindow
,(self
,) + _args
, _kwargs
)
169 if val
: val
= wxScrolledWindowPtr(val
)
171 def ScrollToLine(self
, *_args
, **_kwargs
):
172 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_ScrollToLine
,(self
,) + _args
, _kwargs
)
174 def SetCompanionWindow(self
, *_args
, **_kwargs
):
175 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_SetCompanionWindow
,(self
,) + _args
, _kwargs
)
177 def GetCompanionWindow(self
, *_args
, **_kwargs
):
178 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetCompanionWindow
,(self
,) + _args
, _kwargs
)
181 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self
.this
,)
182 class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr
):
183 def __init__(self
,*_args
,**_kwargs
):
184 self
.this
= apply(gizmosc
.new_wxRemotelyScrolledTreeCtrl
,_args
,_kwargs
)
186 self
._setOORInfo
(self
)
191 class wxTreeCompanionWindowPtr(wxWindowPtr
):
192 def __init__(self
,this
):
195 def _setCallbackInfo(self
, *_args
, **_kwargs
):
196 val
= apply(gizmosc
.wxTreeCompanionWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
198 def GetTreeCtrl(self
, *_args
, **_kwargs
):
199 val
= apply(gizmosc
.wxTreeCompanionWindow_GetTreeCtrl
,(self
,) + _args
, _kwargs
)
200 if val
: val
= wxRemotelyScrolledTreeCtrlPtr(val
)
202 def SetTreeCtrl(self
, *_args
, **_kwargs
):
203 val
= apply(gizmosc
.wxTreeCompanionWindow_SetTreeCtrl
,(self
,) + _args
, _kwargs
)
206 return "<C wxTreeCompanionWindow instance at %s>" % (self
.this
,)
207 class wxTreeCompanionWindow(wxTreeCompanionWindowPtr
):
208 def __init__(self
,*_args
,**_kwargs
):
209 self
.this
= apply(gizmosc
.new_wxTreeCompanionWindow
,_args
,_kwargs
)
211 self
._setCallbackInfo
(self
, wxTreeCompanionWindow
)
212 self
._setOORInfo
(self
)
217 class wxThinSplitterWindowPtr(wxSplitterWindowPtr
):
218 def __init__(self
,this
):
222 return "<C wxThinSplitterWindow instance at %s>" % (self
.this
,)
223 class wxThinSplitterWindow(wxThinSplitterWindowPtr
):
224 def __init__(self
,*_args
,**_kwargs
):
225 self
.this
= apply(gizmosc
.new_wxThinSplitterWindow
,_args
,_kwargs
)
227 self
._setOORInfo
(self
)
232 class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr
):
233 def __init__(self
,this
):
237 return "<C wxSplitterScrolledWindow instance at %s>" % (self
.this
,)
238 class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr
):
239 def __init__(self
,*_args
,**_kwargs
):
240 self
.this
= apply(gizmosc
.new_wxSplitterScrolledWindow
,_args
,_kwargs
)
242 self
._setOORInfo
(self
)
247 class wxLEDNumberCtrlPtr(wxControlPtr
):
248 def __init__(self
,this
):
251 def Create(self
, *_args
, **_kwargs
):
252 val
= apply(gizmosc
.wxLEDNumberCtrl_Create
,(self
,) + _args
, _kwargs
)
254 def GetAlignment(self
, *_args
, **_kwargs
):
255 val
= apply(gizmosc
.wxLEDNumberCtrl_GetAlignment
,(self
,) + _args
, _kwargs
)
257 def GetDrawFaded(self
, *_args
, **_kwargs
):
258 val
= apply(gizmosc
.wxLEDNumberCtrl_GetDrawFaded
,(self
,) + _args
, _kwargs
)
260 def GetValue(self
, *_args
, **_kwargs
):
261 val
= apply(gizmosc
.wxLEDNumberCtrl_GetValue
,(self
,) + _args
, _kwargs
)
263 def SetAlignment(self
, *_args
, **_kwargs
):
264 val
= apply(gizmosc
.wxLEDNumberCtrl_SetAlignment
,(self
,) + _args
, _kwargs
)
266 def SetDrawFaded(self
, *_args
, **_kwargs
):
267 val
= apply(gizmosc
.wxLEDNumberCtrl_SetDrawFaded
,(self
,) + _args
, _kwargs
)
269 def SetValue(self
, *_args
, **_kwargs
):
270 val
= apply(gizmosc
.wxLEDNumberCtrl_SetValue
,(self
,) + _args
, _kwargs
)
273 return "<C wxLEDNumberCtrl instance at %s>" % (self
.this
,)
274 class wxLEDNumberCtrl(wxLEDNumberCtrlPtr
):
275 def __init__(self
,*_args
,**_kwargs
):
276 self
.this
= apply(gizmosc
.new_wxLEDNumberCtrl
,_args
,_kwargs
)
278 self
._setOORInfo
(self
)
282 def wxPreLEDNumberCtrl(*_args
,**_kwargs
):
283 val
= wxLEDNumberCtrlPtr(apply(gizmosc
.new_wxPreLEDNumberCtrl
,_args
,_kwargs
))
291 #-------------- FUNCTION WRAPPERS ------------------
295 #-------------- VARIABLE WRAPPERS ------------------
297 wxEVT_DYNAMIC_SASH_SPLIT
= gizmosc
.wxEVT_DYNAMIC_SASH_SPLIT
298 wxEVT_DYNAMIC_SASH_UNIFY
= gizmosc
.wxEVT_DYNAMIC_SASH_UNIFY
299 wxDS_MANAGE_SCROLLBARS
= gizmosc
.wxDS_MANAGE_SCROLLBARS
300 wxDS_DRAG_CORNER
= gizmosc
.wxDS_DRAG_CORNER
301 wxEL_ALLOW_NEW
= gizmosc
.wxEL_ALLOW_NEW
302 wxEL_ALLOW_EDIT
= gizmosc
.wxEL_ALLOW_EDIT
303 wxEL_ALLOW_DELETE
= gizmosc
.wxEL_ALLOW_DELETE
304 wxLED_ALIGN_LEFT
= gizmosc
.wxLED_ALIGN_LEFT
305 wxLED_ALIGN_RIGHT
= gizmosc
.wxLED_ALIGN_RIGHT
306 wxLED_ALIGN_CENTER
= gizmosc
.wxLED_ALIGN_CENTER
307 wxLED_ALIGN_MASK
= gizmosc
.wxLED_ALIGN_MASK
308 wxLED_DRAW_FADED
= gizmosc
.wxLED_DRAW_FADED
311 #-------------- USER INCLUDE -----------------------
313 # Stuff these names into the wx namespace so wxPyConstructObject can find them
315 wx
.wxDynamicSashSplitEventPtr
= wxDynamicSashSplitEventPtr
316 wx
.wxDynamicSashUnifyEventPtr
= wxDynamicSashUnifyEventPtr
317 wx
.wxDynamicSashWindowPtr
= wxDynamicSashWindowPtr
319 wx
.wxEditableListBoxPtr
= wxEditableListBoxPtr
321 wx
.wxRemotelyScrolledTreeCtrlPtr
= wxRemotelyScrolledTreeCtrlPtr
322 wx
.wxTreeCompanionWindowPtr
= wxTreeCompanionWindowPtr
323 wx
.wxThinSplitterWindowPtr
= wxThinSplitterWindowPtr
324 wx
.wxSplitterScrolledWindowPtr
= wxSplitterScrolledWindowPtr