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
)
125 def GetDelButton(self
, *_args
, **_kwargs
):
126 val
= apply(gizmosc
.wxEditableListBox_GetDelButton
,(self
,) + _args
, _kwargs
)
128 def GetNewButton(self
, *_args
, **_kwargs
):
129 val
= apply(gizmosc
.wxEditableListBox_GetNewButton
,(self
,) + _args
, _kwargs
)
131 def GetUpButton(self
, *_args
, **_kwargs
):
132 val
= apply(gizmosc
.wxEditableListBox_GetUpButton
,(self
,) + _args
, _kwargs
)
134 def GetDownButton(self
, *_args
, **_kwargs
):
135 val
= apply(gizmosc
.wxEditableListBox_GetDownButton
,(self
,) + _args
, _kwargs
)
137 def GetEditButton(self
, *_args
, **_kwargs
):
138 val
= apply(gizmosc
.wxEditableListBox_GetEditButton
,(self
,) + _args
, _kwargs
)
141 return "<C wxEditableListBox instance at %s>" % (self
.this
,)
142 class wxEditableListBox(wxEditableListBoxPtr
):
143 def __init__(self
,*_args
,**_kwargs
):
144 self
.this
= apply(gizmosc
.new_wxEditableListBox
,_args
,_kwargs
)
146 self
._setOORInfo
(self
)
151 class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr
):
152 def __init__(self
,this
):
155 def HideVScrollbar(self
, *_args
, **_kwargs
):
156 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_HideVScrollbar
,(self
,) + _args
, _kwargs
)
158 def AdjustRemoteScrollbars(self
, *_args
, **_kwargs
):
159 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
,(self
,) + _args
, _kwargs
)
161 def GetScrolledWindow(self
, *_args
, **_kwargs
):
162 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetScrolledWindow
,(self
,) + _args
, _kwargs
)
163 if val
: val
= wxScrolledWindowPtr(val
)
165 def ScrollToLine(self
, *_args
, **_kwargs
):
166 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_ScrollToLine
,(self
,) + _args
, _kwargs
)
168 def SetCompanionWindow(self
, *_args
, **_kwargs
):
169 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_SetCompanionWindow
,(self
,) + _args
, _kwargs
)
171 def GetCompanionWindow(self
, *_args
, **_kwargs
):
172 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetCompanionWindow
,(self
,) + _args
, _kwargs
)
175 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self
.this
,)
176 class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr
):
177 def __init__(self
,*_args
,**_kwargs
):
178 self
.this
= apply(gizmosc
.new_wxRemotelyScrolledTreeCtrl
,_args
,_kwargs
)
180 self
._setOORInfo
(self
)
185 class wxTreeCompanionWindowPtr(wxWindowPtr
):
186 def __init__(self
,this
):
189 def _setCallbackInfo(self
, *_args
, **_kwargs
):
190 val
= apply(gizmosc
.wxTreeCompanionWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
192 def GetTreeCtrl(self
, *_args
, **_kwargs
):
193 val
= apply(gizmosc
.wxTreeCompanionWindow_GetTreeCtrl
,(self
,) + _args
, _kwargs
)
194 if val
: val
= wxRemotelyScrolledTreeCtrlPtr(val
)
196 def SetTreeCtrl(self
, *_args
, **_kwargs
):
197 val
= apply(gizmosc
.wxTreeCompanionWindow_SetTreeCtrl
,(self
,) + _args
, _kwargs
)
200 return "<C wxTreeCompanionWindow instance at %s>" % (self
.this
,)
201 class wxTreeCompanionWindow(wxTreeCompanionWindowPtr
):
202 def __init__(self
,*_args
,**_kwargs
):
203 self
.this
= apply(gizmosc
.new_wxTreeCompanionWindow
,_args
,_kwargs
)
205 self
._setCallbackInfo
(self
, wxTreeCompanionWindow
)
206 self
._setOORInfo
(self
)
211 class wxThinSplitterWindowPtr(wxSplitterWindowPtr
):
212 def __init__(self
,this
):
216 return "<C wxThinSplitterWindow instance at %s>" % (self
.this
,)
217 class wxThinSplitterWindow(wxThinSplitterWindowPtr
):
218 def __init__(self
,*_args
,**_kwargs
):
219 self
.this
= apply(gizmosc
.new_wxThinSplitterWindow
,_args
,_kwargs
)
221 self
._setOORInfo
(self
)
226 class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr
):
227 def __init__(self
,this
):
231 return "<C wxSplitterScrolledWindow instance at %s>" % (self
.this
,)
232 class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr
):
233 def __init__(self
,*_args
,**_kwargs
):
234 self
.this
= apply(gizmosc
.new_wxSplitterScrolledWindow
,_args
,_kwargs
)
236 self
._setOORInfo
(self
)
241 class wxLEDNumberCtrlPtr(wxControlPtr
):
242 def __init__(self
,this
):
245 def Create(self
, *_args
, **_kwargs
):
246 val
= apply(gizmosc
.wxLEDNumberCtrl_Create
,(self
,) + _args
, _kwargs
)
248 def GetAlignment(self
, *_args
, **_kwargs
):
249 val
= apply(gizmosc
.wxLEDNumberCtrl_GetAlignment
,(self
,) + _args
, _kwargs
)
251 def GetDrawFaded(self
, *_args
, **_kwargs
):
252 val
= apply(gizmosc
.wxLEDNumberCtrl_GetDrawFaded
,(self
,) + _args
, _kwargs
)
254 def GetValue(self
, *_args
, **_kwargs
):
255 val
= apply(gizmosc
.wxLEDNumberCtrl_GetValue
,(self
,) + _args
, _kwargs
)
257 def SetAlignment(self
, *_args
, **_kwargs
):
258 val
= apply(gizmosc
.wxLEDNumberCtrl_SetAlignment
,(self
,) + _args
, _kwargs
)
260 def SetDrawFaded(self
, *_args
, **_kwargs
):
261 val
= apply(gizmosc
.wxLEDNumberCtrl_SetDrawFaded
,(self
,) + _args
, _kwargs
)
263 def SetValue(self
, *_args
, **_kwargs
):
264 val
= apply(gizmosc
.wxLEDNumberCtrl_SetValue
,(self
,) + _args
, _kwargs
)
267 return "<C wxLEDNumberCtrl instance at %s>" % (self
.this
,)
268 class wxLEDNumberCtrl(wxLEDNumberCtrlPtr
):
269 def __init__(self
,*_args
,**_kwargs
):
270 self
.this
= apply(gizmosc
.new_wxLEDNumberCtrl
,_args
,_kwargs
)
272 self
._setOORInfo
(self
)
276 def wxPreLEDNumberCtrl(*_args
,**_kwargs
):
277 val
= wxLEDNumberCtrlPtr(apply(gizmosc
.new_wxPreLEDNumberCtrl
,_args
,_kwargs
))
285 #-------------- FUNCTION WRAPPERS ------------------
289 #-------------- VARIABLE WRAPPERS ------------------
291 wxEVT_DYNAMIC_SASH_SPLIT
= gizmosc
.wxEVT_DYNAMIC_SASH_SPLIT
292 wxEVT_DYNAMIC_SASH_UNIFY
= gizmosc
.wxEVT_DYNAMIC_SASH_UNIFY
293 wxDS_MANAGE_SCROLLBARS
= gizmosc
.wxDS_MANAGE_SCROLLBARS
294 wxDS_DRAG_CORNER
= gizmosc
.wxDS_DRAG_CORNER
295 wxEL_ALLOW_NEW
= gizmosc
.wxEL_ALLOW_NEW
296 wxEL_ALLOW_EDIT
= gizmosc
.wxEL_ALLOW_EDIT
297 wxEL_ALLOW_DELETE
= gizmosc
.wxEL_ALLOW_DELETE
298 wxLED_ALIGN_LEFT
= gizmosc
.wxLED_ALIGN_LEFT
299 wxLED_ALIGN_RIGHT
= gizmosc
.wxLED_ALIGN_RIGHT
300 wxLED_ALIGN_CENTER
= gizmosc
.wxLED_ALIGN_CENTER
301 wxLED_ALIGN_MASK
= gizmosc
.wxLED_ALIGN_MASK
302 wxLED_DRAW_FADED
= gizmosc
.wxLED_DRAW_FADED
305 #-------------- USER INCLUDE -----------------------
307 # Stuff these names into the wx namespace so wxPyConstructObject can find them
309 wx
.wxDynamicSashSplitEventPtr
= wxDynamicSashSplitEventPtr
310 wx
.wxDynamicSashUnifyEventPtr
= wxDynamicSashUnifyEventPtr
311 wx
.wxDynamicSashWindowPtr
= wxDynamicSashWindowPtr
313 wx
.wxEditableListBoxPtr
= wxEditableListBoxPtr
315 wx
.wxRemotelyScrolledTreeCtrlPtr
= wxRemotelyScrolledTreeCtrlPtr
316 wx
.wxTreeCompanionWindowPtr
= wxTreeCompanionWindowPtr
317 wx
.wxThinSplitterWindowPtr
= wxThinSplitterWindowPtr
318 wx
.wxSplitterScrolledWindowPtr
= wxSplitterScrolledWindowPtr