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
)
123 return "<C wxEditableListBox instance at %s>" % (self
.this
,)
124 class wxEditableListBox(wxEditableListBoxPtr
):
125 def __init__(self
,*_args
,**_kwargs
):
126 self
.this
= apply(gizmosc
.new_wxEditableListBox
,_args
,_kwargs
)
128 self
._setOORInfo
(self
)
133 class wxRemotelyScrolledTreeCtrlPtr(wxTreeCtrlPtr
):
134 def __init__(self
,this
):
137 def HideVScrollbar(self
, *_args
, **_kwargs
):
138 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_HideVScrollbar
,(self
,) + _args
, _kwargs
)
140 def AdjustRemoteScrollbars(self
, *_args
, **_kwargs
):
141 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
,(self
,) + _args
, _kwargs
)
143 def GetScrolledWindow(self
, *_args
, **_kwargs
):
144 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetScrolledWindow
,(self
,) + _args
, _kwargs
)
145 if val
: val
= wxScrolledWindowPtr(val
)
147 def ScrollToLine(self
, *_args
, **_kwargs
):
148 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_ScrollToLine
,(self
,) + _args
, _kwargs
)
150 def SetCompanionWindow(self
, *_args
, **_kwargs
):
151 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_SetCompanionWindow
,(self
,) + _args
, _kwargs
)
153 def GetCompanionWindow(self
, *_args
, **_kwargs
):
154 val
= apply(gizmosc
.wxRemotelyScrolledTreeCtrl_GetCompanionWindow
,(self
,) + _args
, _kwargs
)
157 return "<C wxRemotelyScrolledTreeCtrl instance at %s>" % (self
.this
,)
158 class wxRemotelyScrolledTreeCtrl(wxRemotelyScrolledTreeCtrlPtr
):
159 def __init__(self
,*_args
,**_kwargs
):
160 self
.this
= apply(gizmosc
.new_wxRemotelyScrolledTreeCtrl
,_args
,_kwargs
)
162 self
._setOORInfo
(self
)
167 class wxTreeCompanionWindowPtr(wxWindowPtr
):
168 def __init__(self
,this
):
171 def _setCallbackInfo(self
, *_args
, **_kwargs
):
172 val
= apply(gizmosc
.wxTreeCompanionWindow__setCallbackInfo
,(self
,) + _args
, _kwargs
)
174 def GetTreeCtrl(self
, *_args
, **_kwargs
):
175 val
= apply(gizmosc
.wxTreeCompanionWindow_GetTreeCtrl
,(self
,) + _args
, _kwargs
)
176 if val
: val
= wxRemotelyScrolledTreeCtrlPtr(val
)
178 def SetTreeCtrl(self
, *_args
, **_kwargs
):
179 val
= apply(gizmosc
.wxTreeCompanionWindow_SetTreeCtrl
,(self
,) + _args
, _kwargs
)
182 return "<C wxTreeCompanionWindow instance at %s>" % (self
.this
,)
183 class wxTreeCompanionWindow(wxTreeCompanionWindowPtr
):
184 def __init__(self
,*_args
,**_kwargs
):
185 self
.this
= apply(gizmosc
.new_wxTreeCompanionWindow
,_args
,_kwargs
)
187 self
._setCallbackInfo
(self
, wxTreeCompanionWindow
)
188 self
._setOORInfo
(self
)
193 class wxThinSplitterWindowPtr(wxSplitterWindowPtr
):
194 def __init__(self
,this
):
198 return "<C wxThinSplitterWindow instance at %s>" % (self
.this
,)
199 class wxThinSplitterWindow(wxThinSplitterWindowPtr
):
200 def __init__(self
,*_args
,**_kwargs
):
201 self
.this
= apply(gizmosc
.new_wxThinSplitterWindow
,_args
,_kwargs
)
203 self
._setOORInfo
(self
)
208 class wxSplitterScrolledWindowPtr(wxScrolledWindowPtr
):
209 def __init__(self
,this
):
213 return "<C wxSplitterScrolledWindow instance at %s>" % (self
.this
,)
214 class wxSplitterScrolledWindow(wxSplitterScrolledWindowPtr
):
215 def __init__(self
,*_args
,**_kwargs
):
216 self
.this
= apply(gizmosc
.new_wxSplitterScrolledWindow
,_args
,_kwargs
)
218 self
._setOORInfo
(self
)
223 class wxLEDNumberCtrlPtr(wxControlPtr
):
224 def __init__(self
,this
):
227 def Create(self
, *_args
, **_kwargs
):
228 val
= apply(gizmosc
.wxLEDNumberCtrl_Create
,(self
,) + _args
, _kwargs
)
230 def GetAlignment(self
, *_args
, **_kwargs
):
231 val
= apply(gizmosc
.wxLEDNumberCtrl_GetAlignment
,(self
,) + _args
, _kwargs
)
233 def GetDrawFaded(self
, *_args
, **_kwargs
):
234 val
= apply(gizmosc
.wxLEDNumberCtrl_GetDrawFaded
,(self
,) + _args
, _kwargs
)
236 def GetValue(self
, *_args
, **_kwargs
):
237 val
= apply(gizmosc
.wxLEDNumberCtrl_GetValue
,(self
,) + _args
, _kwargs
)
239 def SetAlignment(self
, *_args
, **_kwargs
):
240 val
= apply(gizmosc
.wxLEDNumberCtrl_SetAlignment
,(self
,) + _args
, _kwargs
)
242 def SetDrawFaded(self
, *_args
, **_kwargs
):
243 val
= apply(gizmosc
.wxLEDNumberCtrl_SetDrawFaded
,(self
,) + _args
, _kwargs
)
245 def SetValue(self
, *_args
, **_kwargs
):
246 val
= apply(gizmosc
.wxLEDNumberCtrl_SetValue
,(self
,) + _args
, _kwargs
)
249 return "<C wxLEDNumberCtrl instance at %s>" % (self
.this
,)
250 class wxLEDNumberCtrl(wxLEDNumberCtrlPtr
):
251 def __init__(self
,*_args
,**_kwargs
):
252 self
.this
= apply(gizmosc
.new_wxLEDNumberCtrl
,_args
,_kwargs
)
254 self
._setOORInfo
(self
)
258 def wxPreLEDNumberCtrl(*_args
,**_kwargs
):
259 val
= wxLEDNumberCtrlPtr(apply(gizmosc
.new_wxPreLEDNumberCtrl
,_args
,_kwargs
))
267 #-------------- FUNCTION WRAPPERS ------------------
271 #-------------- VARIABLE WRAPPERS ------------------
273 wxEVT_DYNAMIC_SASH_SPLIT
= gizmosc
.wxEVT_DYNAMIC_SASH_SPLIT
274 wxEVT_DYNAMIC_SASH_UNIFY
= gizmosc
.wxEVT_DYNAMIC_SASH_UNIFY
275 wxDS_MANAGE_SCROLLBARS
= gizmosc
.wxDS_MANAGE_SCROLLBARS
276 wxDS_DRAG_CORNER
= gizmosc
.wxDS_DRAG_CORNER
277 wxEL_ALLOW_NEW
= gizmosc
.wxEL_ALLOW_NEW
278 wxEL_ALLOW_EDIT
= gizmosc
.wxEL_ALLOW_EDIT
279 wxEL_ALLOW_DELETE
= gizmosc
.wxEL_ALLOW_DELETE
280 wxLED_ALIGN_LEFT
= gizmosc
.wxLED_ALIGN_LEFT
281 wxLED_ALIGN_RIGHT
= gizmosc
.wxLED_ALIGN_RIGHT
282 wxLED_ALIGN_CENTER
= gizmosc
.wxLED_ALIGN_CENTER
283 wxLED_ALIGN_MASK
= gizmosc
.wxLED_ALIGN_MASK
284 wxLED_DRAW_FADED
= gizmosc
.wxLED_DRAW_FADED
287 #-------------- USER INCLUDE -----------------------
289 # Stuff these names into the wx namespace so wxPyConstructObject can find them
291 wx
.wxDynamicSashSplitEventPtr
= wxDynamicSashSplitEventPtr
292 wx
.wxDynamicSashUnifyEventPtr
= wxDynamicSashUnifyEventPtr
293 wx
.wxDynamicSashWindowPtr
= wxDynamicSashWindowPtr
295 wx
.wxEditableListBoxPtr
= wxEditableListBoxPtr
297 wx
.wxRemotelyScrolledTreeCtrlPtr
= wxRemotelyScrolledTreeCtrlPtr
298 wx
.wxTreeCompanionWindowPtr
= wxTreeCompanionWindowPtr
299 wx
.wxThinSplitterWindowPtr
= wxThinSplitterWindowPtr
300 wx
.wxSplitterScrolledWindowPtr
= wxSplitterScrolledWindowPtr