1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
5 Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
6 `LEDNumberCtrl`, `TreeListCtrl`, etc.
11 new_instancemethod
= new
.instancemethod
12 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
13 if (name
== "thisown"): return self
.this
.own(value
)
15 if type(value
).__name
__ == 'PySwigObject':
16 self
.__dict
__[name
] = value
18 method
= class_type
.__swig
_setmethods
__.get(name
,None)
19 if method
: return method(self
,value
)
20 if (not static
) or hasattr(self
,name
):
21 self
.__dict
__[name
] = value
23 raise AttributeError("You cannot add attributes to %s" % self
)
25 def _swig_setattr(self
,class_type
,name
,value
):
26 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
28 def _swig_getattr(self
,class_type
,name
):
29 if (name
== "thisown"): return self
.this
.own()
30 method
= class_type
.__swig
_getmethods
__.get(name
,None)
31 if method
: return method(self
)
32 raise AttributeError,name
35 try: strthis
= "proxy of " + self
.this
.__repr
__()
37 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
41 _object
= types
.ObjectType
43 except AttributeError:
49 def _swig_setattr_nondynamic_method(set):
50 def set_attr(self
,name
,value
):
51 if (name
== "thisown"): return self
.this
.own(value
)
52 if hasattr(self
,name
) or (name
== "this"):
55 raise AttributeError("You cannot add attributes to %s" % self
)
63 __docfilter__
= wx
._core
.__DocFilter
(globals())
64 DS_MANAGE_SCROLLBARS
= _gizmos
.DS_MANAGE_SCROLLBARS
65 DS_DRAG_CORNER
= _gizmos
.DS_DRAG_CORNER
66 wxEVT_DYNAMIC_SASH_SPLIT
= _gizmos
.wxEVT_DYNAMIC_SASH_SPLIT
67 wxEVT_DYNAMIC_SASH_UNIFY
= _gizmos
.wxEVT_DYNAMIC_SASH_UNIFY
68 class DynamicSashSplitEvent(_core
.CommandEvent
):
69 """Proxy of C++ DynamicSashSplitEvent class"""
70 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
72 def __init__(self
, *args
, **kwargs
):
73 """__init__(self, Object target) -> DynamicSashSplitEvent"""
74 _gizmos
.DynamicSashSplitEvent_swiginit(self
,_gizmos
.new_DynamicSashSplitEvent(*args
, **kwargs
))
75 DynamicSashSplitEvent_swigregister
= _gizmos
.DynamicSashSplitEvent_swigregister
76 DynamicSashSplitEvent_swigregister(DynamicSashSplitEvent
)
78 DynamicSashNameStr
= cvar
.DynamicSashNameStr
79 EditableListBoxNameStr
= cvar
.EditableListBoxNameStr
80 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
81 StaticPictureNameStr
= cvar
.StaticPictureNameStr
83 class DynamicSashUnifyEvent(_core
.CommandEvent
):
84 """Proxy of C++ DynamicSashUnifyEvent class"""
85 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
87 def __init__(self
, *args
, **kwargs
):
88 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
89 _gizmos
.DynamicSashUnifyEvent_swiginit(self
,_gizmos
.new_DynamicSashUnifyEvent(*args
, **kwargs
))
90 DynamicSashUnifyEvent_swigregister
= _gizmos
.DynamicSashUnifyEvent_swigregister
91 DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEvent
)
93 class DynamicSashWindow(_core
.Window
):
94 """Proxy of C++ DynamicSashWindow class"""
95 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
97 def __init__(self
, *args
, **kwargs
):
99 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
100 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
101 String name=DynamicSashNameStr) -> DynamicSashWindow
103 _gizmos
.DynamicSashWindow_swiginit(self
,_gizmos
.new_DynamicSashWindow(*args
, **kwargs
))
104 self
._setOORInfo
(self
)
106 def Create(*args
, **kwargs
):
108 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
109 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
110 String name=DynamicSashNameStr) -> bool
112 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
114 def GetHScrollBar(*args
, **kwargs
):
115 """GetHScrollBar(self, Window child) -> ScrollBar"""
116 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
118 def GetVScrollBar(*args
, **kwargs
):
119 """GetVScrollBar(self, Window child) -> ScrollBar"""
120 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
122 DynamicSashWindow_swigregister
= _gizmos
.DynamicSashWindow_swigregister
123 DynamicSashWindow_swigregister(DynamicSashWindow
)
125 def PreDynamicSashWindow(*args
, **kwargs
):
126 """PreDynamicSashWindow() -> DynamicSashWindow"""
127 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
130 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
131 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
133 EL_ALLOW_NEW
= _gizmos
.EL_ALLOW_NEW
134 EL_ALLOW_EDIT
= _gizmos
.EL_ALLOW_EDIT
135 EL_ALLOW_DELETE
= _gizmos
.EL_ALLOW_DELETE
136 class EditableListBox(_windows
.Panel
):
137 """Proxy of C++ EditableListBox class"""
138 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
139 __repr__
= _swig_repr
140 def __init__(self
, *args
, **kwargs
):
142 __init__(self, Window parent, int id=-1, String label=EmptyString,
143 Point pos=DefaultPosition, Size size=DefaultSize,
144 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
145 String name=EditableListBoxNameStr) -> EditableListBox
147 _gizmos
.EditableListBox_swiginit(self
,_gizmos
.new_EditableListBox(*args
, **kwargs
))
148 self
._setOORInfo
(self
)
150 def SetStrings(*args
, **kwargs
):
151 """SetStrings(self, wxArrayString strings)"""
152 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
154 def GetStrings(*args
, **kwargs
):
155 """GetStrings(self) -> PyObject"""
156 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
158 def GetListCtrl(*args
, **kwargs
):
159 """GetListCtrl(self) -> ListCtrl"""
160 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
162 def GetDelButton(*args
, **kwargs
):
163 """GetDelButton(self) -> BitmapButton"""
164 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
166 def GetNewButton(*args
, **kwargs
):
167 """GetNewButton(self) -> BitmapButton"""
168 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
170 def GetUpButton(*args
, **kwargs
):
171 """GetUpButton(self) -> BitmapButton"""
172 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
174 def GetDownButton(*args
, **kwargs
):
175 """GetDownButton(self) -> BitmapButton"""
176 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
178 def GetEditButton(*args
, **kwargs
):
179 """GetEditButton(self) -> BitmapButton"""
180 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
182 EditableListBox_swigregister
= _gizmos
.EditableListBox_swigregister
183 EditableListBox_swigregister(EditableListBox
)
185 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
186 """Proxy of C++ RemotelyScrolledTreeCtrl class"""
187 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
188 __repr__
= _swig_repr
189 def __init__(self
, *args
, **kwargs
):
191 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
192 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
194 _gizmos
.RemotelyScrolledTreeCtrl_swiginit(self
,_gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
))
195 self
._setOORInfo
(self
)
197 def HideVScrollbar(*args
, **kwargs
):
198 """HideVScrollbar(self)"""
199 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
201 def AdjustRemoteScrollbars(*args
, **kwargs
):
202 """AdjustRemoteScrollbars(self)"""
203 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
205 def GetScrolledWindow(*args
, **kwargs
):
206 """GetScrolledWindow(self) -> ScrolledWindow"""
207 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
209 def ScrollToLine(*args
, **kwargs
):
210 """ScrollToLine(self, int posHoriz, int posVert)"""
211 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
213 def SetCompanionWindow(*args
, **kwargs
):
214 """SetCompanionWindow(self, Window companion)"""
215 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
217 def GetCompanionWindow(*args
, **kwargs
):
218 """GetCompanionWindow(self) -> Window"""
219 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
221 RemotelyScrolledTreeCtrl_swigregister
= _gizmos
.RemotelyScrolledTreeCtrl_swigregister
222 RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl
)
224 class TreeCompanionWindow(_core
.Window
):
225 """Proxy of C++ TreeCompanionWindow class"""
226 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
227 __repr__
= _swig_repr
228 def __init__(self
, *args
, **kwargs
):
230 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
231 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
233 _gizmos
.TreeCompanionWindow_swiginit(self
,_gizmos
.new_TreeCompanionWindow(*args
, **kwargs
))
234 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
236 def _setCallbackInfo(*args
, **kwargs
):
237 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
238 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
240 def GetTreeCtrl(*args
, **kwargs
):
241 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
242 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
244 def SetTreeCtrl(*args
, **kwargs
):
245 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
246 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
248 TreeCompanionWindow_swigregister
= _gizmos
.TreeCompanionWindow_swigregister
249 TreeCompanionWindow_swigregister(TreeCompanionWindow
)
251 class ThinSplitterWindow(_windows
.SplitterWindow
):
252 """Proxy of C++ ThinSplitterWindow class"""
253 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
254 __repr__
= _swig_repr
255 def __init__(self
, *args
, **kwargs
):
257 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
258 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
260 _gizmos
.ThinSplitterWindow_swiginit(self
,_gizmos
.new_ThinSplitterWindow(*args
, **kwargs
))
261 self
._setOORInfo
(self
)
263 ThinSplitterWindow_swigregister
= _gizmos
.ThinSplitterWindow_swigregister
264 ThinSplitterWindow_swigregister(ThinSplitterWindow
)
266 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
267 """Proxy of C++ SplitterScrolledWindow class"""
268 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
269 __repr__
= _swig_repr
270 def __init__(self
, *args
, **kwargs
):
272 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
273 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
275 _gizmos
.SplitterScrolledWindow_swiginit(self
,_gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
))
276 self
._setOORInfo
(self
)
278 SplitterScrolledWindow_swigregister
= _gizmos
.SplitterScrolledWindow_swigregister
279 SplitterScrolledWindow_swigregister(SplitterScrolledWindow
)
281 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
282 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
283 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
284 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
285 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
286 class LEDNumberCtrl(_core
.Control
):
287 """Proxy of C++ LEDNumberCtrl class"""
288 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
289 __repr__
= _swig_repr
290 def __init__(self
, *args
, **kwargs
):
292 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
293 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
295 _gizmos
.LEDNumberCtrl_swiginit(self
,_gizmos
.new_LEDNumberCtrl(*args
, **kwargs
))
296 self
._setOORInfo
(self
)
298 def Create(*args
, **kwargs
):
300 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
301 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
303 Do the 2nd phase and create the GUI control.
305 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
307 def GetAlignment(*args
, **kwargs
):
308 """GetAlignment(self) -> int"""
309 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
311 def GetDrawFaded(*args
, **kwargs
):
312 """GetDrawFaded(self) -> bool"""
313 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
315 def GetValue(*args
, **kwargs
):
316 """GetValue(self) -> String"""
317 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
319 def SetAlignment(*args
, **kwargs
):
320 """SetAlignment(self, int Alignment, bool Redraw=True)"""
321 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
323 def SetDrawFaded(*args
, **kwargs
):
324 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
325 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
327 def SetValue(*args
, **kwargs
):
328 """SetValue(self, String Value, bool Redraw=True)"""
329 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
331 LEDNumberCtrl_swigregister
= _gizmos
.LEDNumberCtrl_swigregister
332 LEDNumberCtrl_swigregister(LEDNumberCtrl
)
334 def PreLEDNumberCtrl(*args
, **kwargs
):
335 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
336 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
339 TL_ALIGN_LEFT
= _gizmos
.TL_ALIGN_LEFT
340 TL_ALIGN_RIGHT
= _gizmos
.TL_ALIGN_RIGHT
341 TL_ALIGN_CENTER
= _gizmos
.TL_ALIGN_CENTER
342 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
343 TL_SEARCH_VISIBLE
= _gizmos
.TL_SEARCH_VISIBLE
344 TL_SEARCH_LEVEL
= _gizmos
.TL_SEARCH_LEVEL
345 TL_SEARCH_FULL
= _gizmos
.TL_SEARCH_FULL
346 TL_SEARCH_PARTIAL
= _gizmos
.TL_SEARCH_PARTIAL
347 TL_SEARCH_NOCASE
= _gizmos
.TL_SEARCH_NOCASE
348 TR_DONT_ADJUST_MAC
= _gizmos
.TR_DONT_ADJUST_MAC
349 wx
.TR_DONT_ADJUST_MAC
= TR_DONT_ADJUST_MAC
350 class TreeListColumnInfo(_core
.Object
):
351 """Proxy of C++ TreeListColumnInfo class"""
352 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
353 __repr__
= _swig_repr
354 def __init__(self
, *args
, **kwargs
):
356 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
357 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
359 _gizmos
.TreeListColumnInfo_swiginit(self
,_gizmos
.new_TreeListColumnInfo(*args
, **kwargs
))
360 def GetShown(*args
, **kwargs
):
361 """GetShown(self) -> bool"""
362 return _gizmos
.TreeListColumnInfo_GetShown(*args
, **kwargs
)
364 def GetAlignment(*args
, **kwargs
):
365 """GetAlignment(self) -> int"""
366 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
368 def GetText(*args
, **kwargs
):
369 """GetText(self) -> String"""
370 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
372 def GetImage(*args
, **kwargs
):
373 """GetImage(self) -> int"""
374 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
376 def GetSelectedImage(*args
, **kwargs
):
377 """GetSelectedImage(self) -> int"""
378 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
380 def GetWidth(*args
, **kwargs
):
381 """GetWidth(self) -> size_t"""
382 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
384 def SetShown(*args
, **kwargs
):
385 """SetShown(self, bool shown)"""
386 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
388 def SetAlignment(*args
, **kwargs
):
389 """SetAlignment(self, int alignment)"""
390 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
392 def SetText(*args
, **kwargs
):
393 """SetText(self, String text)"""
394 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
396 def SetImage(*args
, **kwargs
):
397 """SetImage(self, int image)"""
398 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
400 def SetSelectedImage(*args
, **kwargs
):
401 """SetSelectedImage(self, int image)"""
402 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
404 def SetWidth(*args
, **kwargs
):
405 """SetWidth(self, size_t with)"""
406 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
408 TreeListColumnInfo_swigregister
= _gizmos
.TreeListColumnInfo_swigregister
409 TreeListColumnInfo_swigregister(TreeListColumnInfo
)
411 class TreeListCtrl(_core
.Control
):
412 """Proxy of C++ TreeListCtrl class"""
413 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
414 __repr__
= _swig_repr
415 def __init__(self
, *args
, **kwargs
):
417 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
418 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
419 Validator validator=DefaultValidator,
420 String name=TreeListCtrlNameStr) -> TreeListCtrl
422 _gizmos
.TreeListCtrl_swiginit(self
,_gizmos
.new_TreeListCtrl(*args
, **kwargs
))
423 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
425 def Create(*args
, **kwargs
):
427 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
428 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
429 Validator validator=DefaultValidator,
430 String name=TreeListCtrlNameStr) -> bool
432 Do the 2nd phase and create the GUI control.
434 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
436 def _setCallbackInfo(*args
, **kwargs
):
437 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
438 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
440 def GetCount(*args
, **kwargs
):
441 """GetCount(self) -> size_t"""
442 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
444 def GetIndent(*args
, **kwargs
):
445 """GetIndent(self) -> unsigned int"""
446 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
448 def SetIndent(*args
, **kwargs
):
449 """SetIndent(self, unsigned int indent)"""
450 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
452 def GetLineSpacing(*args
, **kwargs
):
453 """GetLineSpacing(self) -> unsigned int"""
454 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
456 def SetLineSpacing(*args
, **kwargs
):
457 """SetLineSpacing(self, unsigned int spacing)"""
458 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
460 def GetImageList(*args
, **kwargs
):
461 """GetImageList(self) -> ImageList"""
462 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
464 def GetStateImageList(*args
, **kwargs
):
465 """GetStateImageList(self) -> ImageList"""
466 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
468 def GetButtonsImageList(*args
, **kwargs
):
469 """GetButtonsImageList(self) -> ImageList"""
470 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
472 def SetImageList(*args
, **kwargs
):
473 """SetImageList(self, ImageList imageList)"""
474 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
476 def SetStateImageList(*args
, **kwargs
):
477 """SetStateImageList(self, ImageList imageList)"""
478 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
480 def SetButtonsImageList(*args
, **kwargs
):
481 """SetButtonsImageList(self, ImageList imageList)"""
482 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
484 def AssignImageList(*args
, **kwargs
):
485 """AssignImageList(self, ImageList imageList)"""
486 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
488 def AssignStateImageList(*args
, **kwargs
):
489 """AssignStateImageList(self, ImageList imageList)"""
490 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
492 def AssignButtonsImageList(*args
, **kwargs
):
493 """AssignButtonsImageList(self, ImageList imageList)"""
494 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
496 def AddColumn(*args
, **kwargs
):
497 """AddColumn(self, String text)"""
498 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
500 def AddColumnInfo(*args
, **kwargs
):
501 """AddColumnInfo(self, TreeListColumnInfo col)"""
502 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
504 def InsertColumn(*args
, **kwargs
):
505 """InsertColumn(self, size_t before, String text)"""
506 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
508 def InsertColumnInfo(*args
, **kwargs
):
509 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
510 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
512 def RemoveColumn(*args
, **kwargs
):
513 """RemoveColumn(self, size_t column)"""
514 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
516 def GetColumnCount(*args
, **kwargs
):
517 """GetColumnCount(self) -> size_t"""
518 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
520 def SetColumnWidth(*args
, **kwargs
):
521 """SetColumnWidth(self, size_t column, size_t width)"""
522 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
524 def GetColumnWidth(*args
, **kwargs
):
525 """GetColumnWidth(self, size_t column) -> int"""
526 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
528 def SetMainColumn(*args
, **kwargs
):
529 """SetMainColumn(self, size_t column)"""
530 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
532 def GetMainColumn(*args
, **kwargs
):
533 """GetMainColumn(self) -> size_t"""
534 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
536 def SetColumnText(*args
, **kwargs
):
537 """SetColumnText(self, size_t column, String text)"""
538 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
540 def GetColumnText(*args
, **kwargs
):
541 """GetColumnText(self, size_t column) -> String"""
542 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
544 def SetColumn(*args
, **kwargs
):
545 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
546 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
548 def GetColumn(*args
, **kwargs
):
549 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
550 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
552 def SetColumnAlignment(*args
, **kwargs
):
553 """SetColumnAlignment(self, size_t column, int align)"""
554 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
556 def GetColumnAlignment(*args
, **kwargs
):
557 """GetColumnAlignment(self, size_t column) -> int"""
558 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
560 def SetColumnImage(*args
, **kwargs
):
561 """SetColumnImage(self, size_t column, int image)"""
562 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
564 def GetColumnImage(*args
, **kwargs
):
565 """GetColumnImage(self, size_t column) -> int"""
566 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
568 def ShowColumn(*args
, **kwargs
):
569 """ShowColumn(self, size_t column, bool shown)"""
570 return _gizmos
.TreeListCtrl_ShowColumn(*args
, **kwargs
)
572 def IsColumnShown(*args
, **kwargs
):
573 """IsColumnShown(self, size_t column) -> bool"""
574 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
576 def GetItemText(*args
, **kwargs
):
577 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
578 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
580 def GetItemImage(*args
, **kwargs
):
581 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
582 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
584 def SetItemText(*args
, **kwargs
):
585 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
586 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
588 def SetItemImage(*args
, **kwargs
):
589 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
590 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
592 def GetItemData(*args
, **kwargs
):
593 """GetItemData(self, TreeItemId item) -> TreeItemData"""
594 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
596 def SetItemData(*args
, **kwargs
):
597 """SetItemData(self, TreeItemId item, TreeItemData data)"""
598 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
600 def GetItemPyData(*args
, **kwargs
):
601 """GetItemPyData(self, TreeItemId item) -> PyObject"""
602 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
604 def SetItemPyData(*args
, **kwargs
):
605 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
606 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
608 GetPyData
= GetItemPyData
609 SetPyData
= SetItemPyData
610 def SetItemHasChildren(*args
, **kwargs
):
611 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
612 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
614 def SetItemBold(*args
, **kwargs
):
615 """SetItemBold(self, TreeItemId item, bool bold=True)"""
616 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
618 def SetItemTextColour(*args
, **kwargs
):
619 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
620 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
622 def SetItemBackgroundColour(*args
, **kwargs
):
623 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
624 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
626 def SetItemFont(*args
, **kwargs
):
627 """SetItemFont(self, TreeItemId item, Font font)"""
628 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
630 def GetItemBold(*args
, **kwargs
):
631 """GetItemBold(self, TreeItemId item) -> bool"""
632 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
634 def GetItemTextColour(*args
, **kwargs
):
635 """GetItemTextColour(self, TreeItemId item) -> Colour"""
636 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
638 def GetItemBackgroundColour(*args
, **kwargs
):
639 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
640 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
642 def GetItemFont(*args
, **kwargs
):
643 """GetItemFont(self, TreeItemId item) -> Font"""
644 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
646 def IsVisible(*args
, **kwargs
):
647 """IsVisible(self, TreeItemId item) -> bool"""
648 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
650 def ItemHasChildren(*args
, **kwargs
):
651 """ItemHasChildren(self, TreeItemId item) -> bool"""
652 return _gizmos
.TreeListCtrl_ItemHasChildren(*args
, **kwargs
)
654 def IsExpanded(*args
, **kwargs
):
655 """IsExpanded(self, TreeItemId item) -> bool"""
656 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
658 def IsSelected(*args
, **kwargs
):
659 """IsSelected(self, TreeItemId item) -> bool"""
660 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
662 def IsBold(*args
, **kwargs
):
663 """IsBold(self, TreeItemId item) -> bool"""
664 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
666 def GetChildrenCount(*args
, **kwargs
):
667 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
668 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
670 def GetRootItem(*args
, **kwargs
):
671 """GetRootItem(self) -> TreeItemId"""
672 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
674 def GetSelection(*args
, **kwargs
):
675 """GetSelection(self) -> TreeItemId"""
676 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
678 def GetSelections(*args
, **kwargs
):
679 """GetSelections(self) -> PyObject"""
680 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
682 def GetItemParent(*args
, **kwargs
):
683 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
684 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
686 def GetFirstChild(*args
, **kwargs
):
687 """GetFirstChild(self, TreeItemId item) -> PyObject"""
688 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
690 def GetNextChild(*args
, **kwargs
):
691 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
692 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
694 def GetLastChild(*args
, **kwargs
):
695 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
696 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
698 def GetNextSibling(*args
, **kwargs
):
699 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
700 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
702 def GetPrevSibling(*args
, **kwargs
):
703 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
704 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
706 def GetFirstVisibleItem(*args
, **kwargs
):
707 """GetFirstVisibleItem(self) -> TreeItemId"""
708 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
710 def GetNextVisible(*args
, **kwargs
):
711 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
712 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
714 def GetPrevVisible(*args
, **kwargs
):
715 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
716 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
718 def GetNext(*args
, **kwargs
):
719 """GetNext(self, TreeItemId item) -> TreeItemId"""
720 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
722 def AddRoot(*args
, **kwargs
):
723 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
724 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
726 def PrependItem(*args
, **kwargs
):
728 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
729 TreeItemData data=None) -> TreeItemId
731 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
733 def InsertItem(*args
, **kwargs
):
735 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
736 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
738 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
740 def InsertItemBefore(*args
, **kwargs
):
742 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
743 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
745 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
747 def AppendItem(*args
, **kwargs
):
749 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
750 TreeItemData data=None) -> TreeItemId
752 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
754 def Delete(*args
, **kwargs
):
755 """Delete(self, TreeItemId item)"""
756 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
758 def DeleteChildren(*args
, **kwargs
):
759 """DeleteChildren(self, TreeItemId item)"""
760 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
762 def DeleteAllItems(*args
, **kwargs
):
763 """DeleteAllItems(self)"""
764 return _gizmos
.TreeListCtrl_DeleteAllItems(*args
, **kwargs
)
766 def Expand(*args
, **kwargs
):
767 """Expand(self, TreeItemId item)"""
768 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
770 def ExpandAll(*args
, **kwargs
):
771 """ExpandAll(self, TreeItemId item)"""
772 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
774 def Collapse(*args
, **kwargs
):
775 """Collapse(self, TreeItemId item)"""
776 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
778 def CollapseAndReset(*args
, **kwargs
):
779 """CollapseAndReset(self, TreeItemId item)"""
780 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
782 def Toggle(*args
, **kwargs
):
783 """Toggle(self, TreeItemId item)"""
784 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
786 def Unselect(*args
, **kwargs
):
788 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
790 def UnselectAll(*args
, **kwargs
):
791 """UnselectAll(self)"""
792 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
794 def SelectItem(*args
, **kwargs
):
795 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
796 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
798 def SelectAll(*args
, **kwargs
):
799 """SelectAll(self, bool extended_select=False)"""
800 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
802 def EnsureVisible(*args
, **kwargs
):
803 """EnsureVisible(self, TreeItemId item)"""
804 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
806 def ScrollTo(*args
, **kwargs
):
807 """ScrollTo(self, TreeItemId item)"""
808 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
810 def HitTest(*args
, **kwargs
):
811 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
812 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
814 def GetBoundingRect(*args
, **kwargs
):
815 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
816 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
818 def EditLabel(*args
, **kwargs
):
819 """EditLabel(self, TreeItemId item)"""
820 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
822 def Edit(*args
, **kwargs
):
823 """Edit(self, TreeItemId item)"""
824 return _gizmos
.TreeListCtrl_Edit(*args
, **kwargs
)
826 def SortChildren(*args
, **kwargs
):
827 """SortChildren(self, TreeItemId item)"""
828 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
830 def FindItem(*args
, **kwargs
):
831 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
832 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
834 def GetHeaderWindow(*args
, **kwargs
):
835 """GetHeaderWindow(self) -> Window"""
836 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
838 def GetMainWindow(*args
, **kwargs
):
839 """GetMainWindow(self) -> ScrolledWindow"""
840 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
842 TreeListCtrl_swigregister
= _gizmos
.TreeListCtrl_swigregister
843 TreeListCtrl_swigregister(TreeListCtrl
)
845 def PreTreeListCtrl(*args
, **kwargs
):
846 """PreTreeListCtrl() -> TreeListCtrl"""
847 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)
850 SCALE_HORIZONTAL
= _gizmos
.SCALE_HORIZONTAL
851 SCALE_VERTICAL
= _gizmos
.SCALE_VERTICAL
852 SCALE_UNIFORM
= _gizmos
.SCALE_UNIFORM
853 SCALE_CUSTOM
= _gizmos
.SCALE_CUSTOM
854 class StaticPicture(_core
.Control
):
855 """Proxy of C++ StaticPicture class"""
856 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
857 __repr__
= _swig_repr
858 def __init__(self
, *args
, **kwargs
):
860 __init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
861 Point pos=DefaultPosition, Size size=DefaultSize,
862 long style=0, String name=StaticPictureNameStr) -> StaticPicture
864 _gizmos
.StaticPicture_swiginit(self
,_gizmos
.new_StaticPicture(*args
, **kwargs
))
865 self
._setOORInfo
(self
)
867 def Create(*args
, **kwargs
):
869 Create(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
870 Point pos=DefaultPosition, Size size=DefaultSize,
871 long style=0, String name=StaticPictureNameStr) -> bool
873 return _gizmos
.StaticPicture_Create(*args
, **kwargs
)
875 def SetBitmap(*args
, **kwargs
):
876 """SetBitmap(self, Bitmap bmp)"""
877 return _gizmos
.StaticPicture_SetBitmap(*args
, **kwargs
)
879 def GetBitmap(*args
, **kwargs
):
880 """GetBitmap(self) -> Bitmap"""
881 return _gizmos
.StaticPicture_GetBitmap(*args
, **kwargs
)
883 def SetIcon(*args
, **kwargs
):
884 """SetIcon(self, Icon icon)"""
885 return _gizmos
.StaticPicture_SetIcon(*args
, **kwargs
)
887 def GetIcon(*args
, **kwargs
):
888 """GetIcon(self) -> Icon"""
889 return _gizmos
.StaticPicture_GetIcon(*args
, **kwargs
)
891 def SetAlignment(*args
, **kwargs
):
892 """SetAlignment(self, int align)"""
893 return _gizmos
.StaticPicture_SetAlignment(*args
, **kwargs
)
895 def GetAlignment(*args
, **kwargs
):
896 """GetAlignment(self) -> int"""
897 return _gizmos
.StaticPicture_GetAlignment(*args
, **kwargs
)
899 def SetScale(*args
, **kwargs
):
900 """SetScale(self, int scale)"""
901 return _gizmos
.StaticPicture_SetScale(*args
, **kwargs
)
903 def GetScale(*args
, **kwargs
):
904 """GetScale(self) -> int"""
905 return _gizmos
.StaticPicture_GetScale(*args
, **kwargs
)
907 def SetCustomScale(*args
, **kwargs
):
908 """SetCustomScale(self, float sx, float sy)"""
909 return _gizmos
.StaticPicture_SetCustomScale(*args
, **kwargs
)
911 def GetCustomScale(*args
, **kwargs
):
912 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
913 return _gizmos
.StaticPicture_GetCustomScale(*args
, **kwargs
)
915 StaticPicture_swigregister
= _gizmos
.StaticPicture_swigregister
916 StaticPicture_swigregister(StaticPicture
)
918 def PreStaticPicture(*args
, **kwargs
):
919 """PreStaticPicture() -> StaticPicture"""
920 val
= _gizmos
.new_PreStaticPicture(*args
, **kwargs
)