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 _gizmos
.DynamicSashSplitEvent_swigregister(DynamicSashSplitEvent
)
77 DynamicSashNameStr
= cvar
.DynamicSashNameStr
78 EditableListBoxNameStr
= cvar
.EditableListBoxNameStr
79 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
80 StaticPictureNameStr
= cvar
.StaticPictureNameStr
82 class DynamicSashUnifyEvent(_core
.CommandEvent
):
83 """Proxy of C++ DynamicSashUnifyEvent class"""
84 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
86 def __init__(self
, *args
, **kwargs
):
87 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
88 _gizmos
.DynamicSashUnifyEvent_swiginit(self
,_gizmos
.new_DynamicSashUnifyEvent(*args
, **kwargs
))
89 _gizmos
.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEvent
)
91 class DynamicSashWindow(_core
.Window
):
92 """Proxy of C++ DynamicSashWindow class"""
93 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
95 def __init__(self
, *args
, **kwargs
):
97 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
98 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
99 String name=DynamicSashNameStr) -> DynamicSashWindow
101 _gizmos
.DynamicSashWindow_swiginit(self
,_gizmos
.new_DynamicSashWindow(*args
, **kwargs
))
102 self
._setOORInfo
(self
)
104 def Create(*args
, **kwargs
):
106 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
107 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
108 String name=DynamicSashNameStr) -> bool
110 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
112 def GetHScrollBar(*args
, **kwargs
):
113 """GetHScrollBar(self, Window child) -> ScrollBar"""
114 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
116 def GetVScrollBar(*args
, **kwargs
):
117 """GetVScrollBar(self, Window child) -> ScrollBar"""
118 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
120 _gizmos
.DynamicSashWindow_swigregister(DynamicSashWindow
)
122 def PreDynamicSashWindow(*args
, **kwargs
):
123 """PreDynamicSashWindow() -> DynamicSashWindow"""
124 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
127 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
128 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
130 EL_ALLOW_NEW
= _gizmos
.EL_ALLOW_NEW
131 EL_ALLOW_EDIT
= _gizmos
.EL_ALLOW_EDIT
132 EL_ALLOW_DELETE
= _gizmos
.EL_ALLOW_DELETE
133 class EditableListBox(_windows
.Panel
):
134 """Proxy of C++ EditableListBox class"""
135 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
136 __repr__
= _swig_repr
137 def __init__(self
, *args
, **kwargs
):
139 __init__(self, Window parent, int id=-1, String label=EmptyString,
140 Point pos=DefaultPosition, Size size=DefaultSize,
141 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
142 String name=EditableListBoxNameStr) -> EditableListBox
144 _gizmos
.EditableListBox_swiginit(self
,_gizmos
.new_EditableListBox(*args
, **kwargs
))
145 self
._setOORInfo
(self
)
147 def SetStrings(*args
, **kwargs
):
148 """SetStrings(self, wxArrayString strings)"""
149 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
151 def GetStrings(*args
, **kwargs
):
152 """GetStrings(self) -> PyObject"""
153 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
155 def GetListCtrl(*args
, **kwargs
):
156 """GetListCtrl(self) -> ListCtrl"""
157 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
159 def GetDelButton(*args
, **kwargs
):
160 """GetDelButton(self) -> BitmapButton"""
161 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
163 def GetNewButton(*args
, **kwargs
):
164 """GetNewButton(self) -> BitmapButton"""
165 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
167 def GetUpButton(*args
, **kwargs
):
168 """GetUpButton(self) -> BitmapButton"""
169 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
171 def GetDownButton(*args
, **kwargs
):
172 """GetDownButton(self) -> BitmapButton"""
173 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
175 def GetEditButton(*args
, **kwargs
):
176 """GetEditButton(self) -> BitmapButton"""
177 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
179 _gizmos
.EditableListBox_swigregister(EditableListBox
)
181 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
182 """Proxy of C++ RemotelyScrolledTreeCtrl class"""
183 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
184 __repr__
= _swig_repr
185 def __init__(self
, *args
, **kwargs
):
187 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
188 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
190 _gizmos
.RemotelyScrolledTreeCtrl_swiginit(self
,_gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
))
191 self
._setOORInfo
(self
)
193 def HideVScrollbar(*args
, **kwargs
):
194 """HideVScrollbar(self)"""
195 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
197 def AdjustRemoteScrollbars(*args
, **kwargs
):
198 """AdjustRemoteScrollbars(self)"""
199 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
201 def GetScrolledWindow(*args
, **kwargs
):
202 """GetScrolledWindow(self) -> ScrolledWindow"""
203 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
205 def ScrollToLine(*args
, **kwargs
):
206 """ScrollToLine(self, int posHoriz, int posVert)"""
207 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
209 def SetCompanionWindow(*args
, **kwargs
):
210 """SetCompanionWindow(self, Window companion)"""
211 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
213 def GetCompanionWindow(*args
, **kwargs
):
214 """GetCompanionWindow(self) -> Window"""
215 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
217 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl
)
219 class TreeCompanionWindow(_core
.Window
):
220 """Proxy of C++ TreeCompanionWindow class"""
221 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
222 __repr__
= _swig_repr
223 def __init__(self
, *args
, **kwargs
):
225 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
226 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
228 _gizmos
.TreeCompanionWindow_swiginit(self
,_gizmos
.new_TreeCompanionWindow(*args
, **kwargs
))
229 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
231 def _setCallbackInfo(*args
, **kwargs
):
232 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
233 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
235 def GetTreeCtrl(*args
, **kwargs
):
236 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
237 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
239 def SetTreeCtrl(*args
, **kwargs
):
240 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
241 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
243 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindow
)
245 class ThinSplitterWindow(_windows
.SplitterWindow
):
246 """Proxy of C++ ThinSplitterWindow class"""
247 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
248 __repr__
= _swig_repr
249 def __init__(self
, *args
, **kwargs
):
251 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
252 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
254 _gizmos
.ThinSplitterWindow_swiginit(self
,_gizmos
.new_ThinSplitterWindow(*args
, **kwargs
))
255 self
._setOORInfo
(self
)
257 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindow
)
259 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
260 """Proxy of C++ SplitterScrolledWindow class"""
261 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
262 __repr__
= _swig_repr
263 def __init__(self
, *args
, **kwargs
):
265 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
266 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
268 _gizmos
.SplitterScrolledWindow_swiginit(self
,_gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
))
269 self
._setOORInfo
(self
)
271 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindow
)
273 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
274 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
275 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
276 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
277 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
278 class LEDNumberCtrl(_core
.Control
):
279 """Proxy of C++ LEDNumberCtrl class"""
280 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
281 __repr__
= _swig_repr
282 def __init__(self
, *args
, **kwargs
):
284 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
285 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
287 _gizmos
.LEDNumberCtrl_swiginit(self
,_gizmos
.new_LEDNumberCtrl(*args
, **kwargs
))
288 self
._setOORInfo
(self
)
290 def Create(*args
, **kwargs
):
292 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
293 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
295 Do the 2nd phase and create the GUI control.
297 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
299 def GetAlignment(*args
, **kwargs
):
300 """GetAlignment(self) -> int"""
301 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
303 def GetDrawFaded(*args
, **kwargs
):
304 """GetDrawFaded(self) -> bool"""
305 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
307 def GetValue(*args
, **kwargs
):
308 """GetValue(self) -> String"""
309 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
311 def SetAlignment(*args
, **kwargs
):
312 """SetAlignment(self, int Alignment, bool Redraw=True)"""
313 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
315 def SetDrawFaded(*args
, **kwargs
):
316 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
317 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
319 def SetValue(*args
, **kwargs
):
320 """SetValue(self, String Value, bool Redraw=True)"""
321 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
323 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrl
)
325 def PreLEDNumberCtrl(*args
, **kwargs
):
326 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
327 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
330 TL_ALIGN_LEFT
= _gizmos
.TL_ALIGN_LEFT
331 TL_ALIGN_RIGHT
= _gizmos
.TL_ALIGN_RIGHT
332 TL_ALIGN_CENTER
= _gizmos
.TL_ALIGN_CENTER
333 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
334 TL_SEARCH_VISIBLE
= _gizmos
.TL_SEARCH_VISIBLE
335 TL_SEARCH_LEVEL
= _gizmos
.TL_SEARCH_LEVEL
336 TL_SEARCH_FULL
= _gizmos
.TL_SEARCH_FULL
337 TL_SEARCH_PARTIAL
= _gizmos
.TL_SEARCH_PARTIAL
338 TL_SEARCH_NOCASE
= _gizmos
.TL_SEARCH_NOCASE
339 TR_DONT_ADJUST_MAC
= _gizmos
.TR_DONT_ADJUST_MAC
340 wx
.TR_DONT_ADJUST_MAC
= TR_DONT_ADJUST_MAC
341 class TreeListColumnInfo(_core
.Object
):
342 """Proxy of C++ TreeListColumnInfo class"""
343 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
344 __repr__
= _swig_repr
345 def __init__(self
, *args
, **kwargs
):
347 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
348 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
350 _gizmos
.TreeListColumnInfo_swiginit(self
,_gizmos
.new_TreeListColumnInfo(*args
, **kwargs
))
351 __swig_destroy__
= _gizmos
.delete_TreeListColumnInfo
352 __del__
= lambda self
: None;
353 def GetShown(*args
, **kwargs
):
354 """GetShown(self) -> bool"""
355 return _gizmos
.TreeListColumnInfo_GetShown(*args
, **kwargs
)
357 def GetAlignment(*args
, **kwargs
):
358 """GetAlignment(self) -> int"""
359 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
361 def GetText(*args
, **kwargs
):
362 """GetText(self) -> String"""
363 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
365 def GetImage(*args
, **kwargs
):
366 """GetImage(self) -> int"""
367 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
369 def GetSelectedImage(*args
, **kwargs
):
370 """GetSelectedImage(self) -> int"""
371 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
373 def GetWidth(*args
, **kwargs
):
374 """GetWidth(self) -> size_t"""
375 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
377 def SetShown(*args
, **kwargs
):
378 """SetShown(self, bool shown)"""
379 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
381 def SetAlignment(*args
, **kwargs
):
382 """SetAlignment(self, int alignment)"""
383 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
385 def SetText(*args
, **kwargs
):
386 """SetText(self, String text)"""
387 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
389 def SetImage(*args
, **kwargs
):
390 """SetImage(self, int image)"""
391 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
393 def SetSelectedImage(*args
, **kwargs
):
394 """SetSelectedImage(self, int image)"""
395 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
397 def SetWidth(*args
, **kwargs
):
398 """SetWidth(self, size_t with)"""
399 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
401 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfo
)
403 class TreeListCtrl(_core
.Control
):
404 """Proxy of C++ TreeListCtrl class"""
405 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
406 __repr__
= _swig_repr
407 def __init__(self
, *args
, **kwargs
):
409 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
410 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
411 Validator validator=DefaultValidator,
412 String name=TreeListCtrlNameStr) -> TreeListCtrl
414 _gizmos
.TreeListCtrl_swiginit(self
,_gizmos
.new_TreeListCtrl(*args
, **kwargs
))
415 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
417 def Create(*args
, **kwargs
):
419 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
420 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
421 Validator validator=DefaultValidator,
422 String name=TreeListCtrlNameStr) -> bool
424 Do the 2nd phase and create the GUI control.
426 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
428 def _setCallbackInfo(*args
, **kwargs
):
429 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
430 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
432 def GetCount(*args
, **kwargs
):
433 """GetCount(self) -> size_t"""
434 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
436 def GetIndent(*args
, **kwargs
):
437 """GetIndent(self) -> unsigned int"""
438 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
440 def SetIndent(*args
, **kwargs
):
441 """SetIndent(self, unsigned int indent)"""
442 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
444 def GetLineSpacing(*args
, **kwargs
):
445 """GetLineSpacing(self) -> unsigned int"""
446 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
448 def SetLineSpacing(*args
, **kwargs
):
449 """SetLineSpacing(self, unsigned int spacing)"""
450 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
452 def GetImageList(*args
, **kwargs
):
453 """GetImageList(self) -> ImageList"""
454 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
456 def GetStateImageList(*args
, **kwargs
):
457 """GetStateImageList(self) -> ImageList"""
458 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
460 def GetButtonsImageList(*args
, **kwargs
):
461 """GetButtonsImageList(self) -> ImageList"""
462 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
464 def SetImageList(*args
, **kwargs
):
465 """SetImageList(self, ImageList imageList)"""
466 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
468 def SetStateImageList(*args
, **kwargs
):
469 """SetStateImageList(self, ImageList imageList)"""
470 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
472 def SetButtonsImageList(*args
, **kwargs
):
473 """SetButtonsImageList(self, ImageList imageList)"""
474 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
476 def AssignImageList(*args
, **kwargs
):
477 """AssignImageList(self, ImageList imageList)"""
478 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
480 def AssignStateImageList(*args
, **kwargs
):
481 """AssignStateImageList(self, ImageList imageList)"""
482 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
484 def AssignButtonsImageList(*args
, **kwargs
):
485 """AssignButtonsImageList(self, ImageList imageList)"""
486 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
488 def AddColumn(*args
, **kwargs
):
489 """AddColumn(self, String text)"""
490 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
492 def AddColumnInfo(*args
, **kwargs
):
493 """AddColumnInfo(self, TreeListColumnInfo col)"""
494 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
496 def InsertColumn(*args
, **kwargs
):
497 """InsertColumn(self, size_t before, String text)"""
498 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
500 def InsertColumnInfo(*args
, **kwargs
):
501 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
502 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
504 def RemoveColumn(*args
, **kwargs
):
505 """RemoveColumn(self, size_t column)"""
506 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
508 def GetColumnCount(*args
, **kwargs
):
509 """GetColumnCount(self) -> size_t"""
510 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
512 def SetColumnWidth(*args
, **kwargs
):
513 """SetColumnWidth(self, size_t column, size_t width)"""
514 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
516 def GetColumnWidth(*args
, **kwargs
):
517 """GetColumnWidth(self, size_t column) -> int"""
518 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
520 def SetMainColumn(*args
, **kwargs
):
521 """SetMainColumn(self, size_t column)"""
522 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
524 def GetMainColumn(*args
, **kwargs
):
525 """GetMainColumn(self) -> size_t"""
526 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
528 def SetColumnText(*args
, **kwargs
):
529 """SetColumnText(self, size_t column, String text)"""
530 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
532 def GetColumnText(*args
, **kwargs
):
533 """GetColumnText(self, size_t column) -> String"""
534 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
536 def SetColumn(*args
, **kwargs
):
537 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
538 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
540 def GetColumn(*args
, **kwargs
):
541 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
542 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
544 def SetColumnAlignment(*args
, **kwargs
):
545 """SetColumnAlignment(self, size_t column, int align)"""
546 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
548 def GetColumnAlignment(*args
, **kwargs
):
549 """GetColumnAlignment(self, size_t column) -> int"""
550 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
552 def SetColumnImage(*args
, **kwargs
):
553 """SetColumnImage(self, size_t column, int image)"""
554 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
556 def GetColumnImage(*args
, **kwargs
):
557 """GetColumnImage(self, size_t column) -> int"""
558 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
560 def ShowColumn(*args
, **kwargs
):
561 """ShowColumn(self, size_t column, bool shown)"""
562 return _gizmos
.TreeListCtrl_ShowColumn(*args
, **kwargs
)
564 def IsColumnShown(*args
, **kwargs
):
565 """IsColumnShown(self, size_t column) -> bool"""
566 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
568 def GetItemText(*args
, **kwargs
):
569 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
570 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
572 def GetItemImage(*args
, **kwargs
):
573 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
574 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
576 def SetItemText(*args
, **kwargs
):
577 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
578 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
580 def SetItemImage(*args
, **kwargs
):
581 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
582 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
584 def GetItemData(*args
, **kwargs
):
585 """GetItemData(self, TreeItemId item) -> TreeItemData"""
586 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
588 def SetItemData(*args
, **kwargs
):
589 """SetItemData(self, TreeItemId item, TreeItemData data)"""
590 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
592 def GetItemPyData(*args
, **kwargs
):
593 """GetItemPyData(self, TreeItemId item) -> PyObject"""
594 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
596 def SetItemPyData(*args
, **kwargs
):
597 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
598 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
600 GetPyData
= GetItemPyData
601 SetPyData
= SetItemPyData
602 def SetItemHasChildren(*args
, **kwargs
):
603 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
604 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
606 def SetItemBold(*args
, **kwargs
):
607 """SetItemBold(self, TreeItemId item, bool bold=True)"""
608 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
610 def SetItemTextColour(*args
, **kwargs
):
611 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
612 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
614 def SetItemBackgroundColour(*args
, **kwargs
):
615 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
616 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
618 def SetItemFont(*args
, **kwargs
):
619 """SetItemFont(self, TreeItemId item, Font font)"""
620 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
622 def GetItemBold(*args
, **kwargs
):
623 """GetItemBold(self, TreeItemId item) -> bool"""
624 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
626 def GetItemTextColour(*args
, **kwargs
):
627 """GetItemTextColour(self, TreeItemId item) -> Colour"""
628 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
630 def GetItemBackgroundColour(*args
, **kwargs
):
631 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
632 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
634 def GetItemFont(*args
, **kwargs
):
635 """GetItemFont(self, TreeItemId item) -> Font"""
636 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
638 def IsVisible(*args
, **kwargs
):
639 """IsVisible(self, TreeItemId item) -> bool"""
640 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
642 def ItemHasChildren(*args
, **kwargs
):
643 """ItemHasChildren(self, TreeItemId item) -> bool"""
644 return _gizmos
.TreeListCtrl_ItemHasChildren(*args
, **kwargs
)
646 def IsExpanded(*args
, **kwargs
):
647 """IsExpanded(self, TreeItemId item) -> bool"""
648 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
650 def IsSelected(*args
, **kwargs
):
651 """IsSelected(self, TreeItemId item) -> bool"""
652 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
654 def IsBold(*args
, **kwargs
):
655 """IsBold(self, TreeItemId item) -> bool"""
656 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
658 def GetChildrenCount(*args
, **kwargs
):
659 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
660 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
662 def GetRootItem(*args
, **kwargs
):
663 """GetRootItem(self) -> TreeItemId"""
664 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
666 def GetSelection(*args
, **kwargs
):
667 """GetSelection(self) -> TreeItemId"""
668 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
670 def GetSelections(*args
, **kwargs
):
671 """GetSelections(self) -> PyObject"""
672 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
674 def GetItemParent(*args
, **kwargs
):
675 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
676 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
678 def GetFirstChild(*args
, **kwargs
):
679 """GetFirstChild(self, TreeItemId item) -> PyObject"""
680 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
682 def GetNextChild(*args
, **kwargs
):
683 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
684 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
686 def GetLastChild(*args
, **kwargs
):
687 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
688 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
690 def GetNextSibling(*args
, **kwargs
):
691 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
692 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
694 def GetPrevSibling(*args
, **kwargs
):
695 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
696 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
698 def GetFirstVisibleItem(*args
, **kwargs
):
699 """GetFirstVisibleItem(self) -> TreeItemId"""
700 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
702 def GetNextVisible(*args
, **kwargs
):
703 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
704 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
706 def GetPrevVisible(*args
, **kwargs
):
707 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
708 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
710 def GetNext(*args
, **kwargs
):
711 """GetNext(self, TreeItemId item) -> TreeItemId"""
712 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
714 def AddRoot(*args
, **kwargs
):
715 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
716 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
718 def PrependItem(*args
, **kwargs
):
720 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
721 TreeItemData data=None) -> TreeItemId
723 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
725 def InsertItem(*args
, **kwargs
):
727 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
728 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
730 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
732 def InsertItemBefore(*args
, **kwargs
):
734 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
735 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
737 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
739 def AppendItem(*args
, **kwargs
):
741 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
742 TreeItemData data=None) -> TreeItemId
744 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
746 def Delete(*args
, **kwargs
):
747 """Delete(self, TreeItemId item)"""
748 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
750 def DeleteChildren(*args
, **kwargs
):
751 """DeleteChildren(self, TreeItemId item)"""
752 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
754 def DeleteAllItems(*args
, **kwargs
):
755 """DeleteAllItems(self)"""
756 return _gizmos
.TreeListCtrl_DeleteAllItems(*args
, **kwargs
)
758 def Expand(*args
, **kwargs
):
759 """Expand(self, TreeItemId item)"""
760 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
762 def ExpandAll(*args
, **kwargs
):
763 """ExpandAll(self, TreeItemId item)"""
764 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
766 def Collapse(*args
, **kwargs
):
767 """Collapse(self, TreeItemId item)"""
768 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
770 def CollapseAndReset(*args
, **kwargs
):
771 """CollapseAndReset(self, TreeItemId item)"""
772 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
774 def Toggle(*args
, **kwargs
):
775 """Toggle(self, TreeItemId item)"""
776 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
778 def Unselect(*args
, **kwargs
):
780 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
782 def UnselectAll(*args
, **kwargs
):
783 """UnselectAll(self)"""
784 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
786 def SelectItem(*args
, **kwargs
):
787 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
788 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
790 def SelectAll(*args
, **kwargs
):
791 """SelectAll(self, bool extended_select=False)"""
792 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
794 def EnsureVisible(*args
, **kwargs
):
795 """EnsureVisible(self, TreeItemId item)"""
796 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
798 def ScrollTo(*args
, **kwargs
):
799 """ScrollTo(self, TreeItemId item)"""
800 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
802 def HitTest(*args
, **kwargs
):
803 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
804 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
806 def GetBoundingRect(*args
, **kwargs
):
807 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
808 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
810 def EditLabel(*args
, **kwargs
):
811 """EditLabel(self, TreeItemId item)"""
812 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
814 def Edit(*args
, **kwargs
):
815 """Edit(self, TreeItemId item)"""
816 return _gizmos
.TreeListCtrl_Edit(*args
, **kwargs
)
818 def SortChildren(*args
, **kwargs
):
819 """SortChildren(self, TreeItemId item)"""
820 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
822 def FindItem(*args
, **kwargs
):
823 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
824 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
826 def GetHeaderWindow(*args
, **kwargs
):
827 """GetHeaderWindow(self) -> Window"""
828 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
830 def GetMainWindow(*args
, **kwargs
):
831 """GetMainWindow(self) -> ScrolledWindow"""
832 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
834 _gizmos
.TreeListCtrl_swigregister(TreeListCtrl
)
836 def PreTreeListCtrl(*args
, **kwargs
):
837 """PreTreeListCtrl() -> TreeListCtrl"""
838 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)
841 SCALE_HORIZONTAL
= _gizmos
.SCALE_HORIZONTAL
842 SCALE_VERTICAL
= _gizmos
.SCALE_VERTICAL
843 SCALE_UNIFORM
= _gizmos
.SCALE_UNIFORM
844 SCALE_CUSTOM
= _gizmos
.SCALE_CUSTOM
845 class StaticPicture(_core
.Control
):
846 """Proxy of C++ StaticPicture class"""
847 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
848 __repr__
= _swig_repr
849 def __init__(self
, *args
, **kwargs
):
851 __init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
852 Point pos=DefaultPosition, Size size=DefaultSize,
853 long style=0, String name=StaticPictureNameStr) -> StaticPicture
855 _gizmos
.StaticPicture_swiginit(self
,_gizmos
.new_StaticPicture(*args
, **kwargs
))
856 self
._setOORInfo
(self
)
858 def Create(*args
, **kwargs
):
860 Create(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
861 Point pos=DefaultPosition, Size size=DefaultSize,
862 long style=0, String name=StaticPictureNameStr) -> bool
864 return _gizmos
.StaticPicture_Create(*args
, **kwargs
)
866 def SetBitmap(*args
, **kwargs
):
867 """SetBitmap(self, Bitmap bmp)"""
868 return _gizmos
.StaticPicture_SetBitmap(*args
, **kwargs
)
870 def GetBitmap(*args
, **kwargs
):
871 """GetBitmap(self) -> Bitmap"""
872 return _gizmos
.StaticPicture_GetBitmap(*args
, **kwargs
)
874 def SetIcon(*args
, **kwargs
):
875 """SetIcon(self, Icon icon)"""
876 return _gizmos
.StaticPicture_SetIcon(*args
, **kwargs
)
878 def GetIcon(*args
, **kwargs
):
879 """GetIcon(self) -> Icon"""
880 return _gizmos
.StaticPicture_GetIcon(*args
, **kwargs
)
882 def SetAlignment(*args
, **kwargs
):
883 """SetAlignment(self, int align)"""
884 return _gizmos
.StaticPicture_SetAlignment(*args
, **kwargs
)
886 def GetAlignment(*args
, **kwargs
):
887 """GetAlignment(self) -> int"""
888 return _gizmos
.StaticPicture_GetAlignment(*args
, **kwargs
)
890 def SetScale(*args
, **kwargs
):
891 """SetScale(self, int scale)"""
892 return _gizmos
.StaticPicture_SetScale(*args
, **kwargs
)
894 def GetScale(*args
, **kwargs
):
895 """GetScale(self) -> int"""
896 return _gizmos
.StaticPicture_GetScale(*args
, **kwargs
)
898 def SetCustomScale(*args
, **kwargs
):
899 """SetCustomScale(self, float sx, float sy)"""
900 return _gizmos
.StaticPicture_SetCustomScale(*args
, **kwargs
)
902 def GetCustomScale(*args
, **kwargs
):
903 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
904 return _gizmos
.StaticPicture_GetCustomScale(*args
, **kwargs
)
906 _gizmos
.StaticPicture_swigregister(StaticPicture
)
908 def PreStaticPicture(*args
, **kwargs
):
909 """PreStaticPicture() -> StaticPicture"""
910 val
= _gizmos
.new_PreStaticPicture(*args
, **kwargs
)