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 StaticPictureNameStr
= cvar
.StaticPictureNameStr
81 class DynamicSashUnifyEvent(_core
.CommandEvent
):
82 """Proxy of C++ DynamicSashUnifyEvent class"""
83 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
85 def __init__(self
, *args
, **kwargs
):
86 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
87 _gizmos
.DynamicSashUnifyEvent_swiginit(self
,_gizmos
.new_DynamicSashUnifyEvent(*args
, **kwargs
))
88 _gizmos
.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEvent
)
90 class DynamicSashWindow(_core
.Window
):
91 """Proxy of C++ DynamicSashWindow class"""
92 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
94 def __init__(self
, *args
, **kwargs
):
96 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
97 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
98 String name=DynamicSashNameStr) -> DynamicSashWindow
100 _gizmos
.DynamicSashWindow_swiginit(self
,_gizmos
.new_DynamicSashWindow(*args
, **kwargs
))
101 self
._setOORInfo
(self
)
103 def Create(*args
, **kwargs
):
105 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
106 Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
107 String name=DynamicSashNameStr) -> bool
109 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
111 def GetHScrollBar(*args
, **kwargs
):
112 """GetHScrollBar(self, Window child) -> ScrollBar"""
113 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
115 def GetVScrollBar(*args
, **kwargs
):
116 """GetVScrollBar(self, Window child) -> ScrollBar"""
117 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
119 _gizmos
.DynamicSashWindow_swigregister(DynamicSashWindow
)
121 def PreDynamicSashWindow(*args
, **kwargs
):
122 """PreDynamicSashWindow() -> DynamicSashWindow"""
123 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
126 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
127 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
129 EL_ALLOW_NEW
= _gizmos
.EL_ALLOW_NEW
130 EL_ALLOW_EDIT
= _gizmos
.EL_ALLOW_EDIT
131 EL_ALLOW_DELETE
= _gizmos
.EL_ALLOW_DELETE
132 class EditableListBox(_windows
.Panel
):
133 """Proxy of C++ EditableListBox class"""
134 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
135 __repr__
= _swig_repr
136 def __init__(self
, *args
, **kwargs
):
138 __init__(self, Window parent, int id=-1, String label=EmptyString,
139 Point pos=DefaultPosition, Size size=DefaultSize,
140 long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
141 String name=EditableListBoxNameStr) -> EditableListBox
143 _gizmos
.EditableListBox_swiginit(self
,_gizmos
.new_EditableListBox(*args
, **kwargs
))
144 self
._setOORInfo
(self
)
146 def SetStrings(*args
, **kwargs
):
147 """SetStrings(self, wxArrayString strings)"""
148 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
150 def GetStrings(*args
, **kwargs
):
151 """GetStrings(self) -> PyObject"""
152 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
154 def GetListCtrl(*args
, **kwargs
):
155 """GetListCtrl(self) -> ListCtrl"""
156 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
158 def GetDelButton(*args
, **kwargs
):
159 """GetDelButton(self) -> BitmapButton"""
160 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
162 def GetNewButton(*args
, **kwargs
):
163 """GetNewButton(self) -> BitmapButton"""
164 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
166 def GetUpButton(*args
, **kwargs
):
167 """GetUpButton(self) -> BitmapButton"""
168 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
170 def GetDownButton(*args
, **kwargs
):
171 """GetDownButton(self) -> BitmapButton"""
172 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
174 def GetEditButton(*args
, **kwargs
):
175 """GetEditButton(self) -> BitmapButton"""
176 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
178 DelButton
= property(GetDelButton
,doc
="See `GetDelButton`")
179 DownButton
= property(GetDownButton
,doc
="See `GetDownButton`")
180 EditButton
= property(GetEditButton
,doc
="See `GetEditButton`")
181 ListCtrl
= property(GetListCtrl
,doc
="See `GetListCtrl`")
182 NewButton
= property(GetNewButton
,doc
="See `GetNewButton`")
183 Strings
= property(GetStrings
,SetStrings
,doc
="See `GetStrings` and `SetStrings`")
184 UpButton
= property(GetUpButton
,doc
="See `GetUpButton`")
185 _gizmos
.EditableListBox_swigregister(EditableListBox
)
187 class RemotelyScrolledTreeCtrl(_controls
.TreeCtrl
):
188 """Proxy of C++ RemotelyScrolledTreeCtrl class"""
189 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
190 __repr__
= _swig_repr
191 def __init__(self
, *args
, **kwargs
):
193 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
194 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
196 _gizmos
.RemotelyScrolledTreeCtrl_swiginit(self
,_gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
))
197 self
._setOORInfo
(self
)
199 def HideVScrollbar(*args
, **kwargs
):
200 """HideVScrollbar(self)"""
201 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
203 def AdjustRemoteScrollbars(*args
, **kwargs
):
204 """AdjustRemoteScrollbars(self)"""
205 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
207 def GetScrolledWindow(*args
, **kwargs
):
208 """GetScrolledWindow(self) -> ScrolledWindow"""
209 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
211 def ScrollToLine(*args
, **kwargs
):
212 """ScrollToLine(self, int posHoriz, int posVert)"""
213 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
215 def SetCompanionWindow(*args
, **kwargs
):
216 """SetCompanionWindow(self, Window companion)"""
217 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
219 def GetCompanionWindow(*args
, **kwargs
):
220 """GetCompanionWindow(self) -> Window"""
221 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
223 CompanionWindow
= property(GetCompanionWindow
,SetCompanionWindow
,doc
="See `GetCompanionWindow` and `SetCompanionWindow`")
224 ScrolledWindow
= property(GetScrolledWindow
,doc
="See `GetScrolledWindow`")
225 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl
)
227 class TreeCompanionWindow(_core
.Window
):
228 """Proxy of C++ TreeCompanionWindow class"""
229 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
230 __repr__
= _swig_repr
231 def __init__(self
, *args
, **kwargs
):
233 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
234 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
236 _gizmos
.TreeCompanionWindow_swiginit(self
,_gizmos
.new_TreeCompanionWindow(*args
, **kwargs
))
237 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
239 def _setCallbackInfo(*args
, **kwargs
):
240 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
241 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
243 def GetTreeCtrl(*args
, **kwargs
):
244 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
245 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
247 def SetTreeCtrl(*args
, **kwargs
):
248 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
249 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
251 TreeCtrl
= property(GetTreeCtrl
,SetTreeCtrl
,doc
="See `GetTreeCtrl` and `SetTreeCtrl`")
252 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindow
)
254 class ThinSplitterWindow(_windows
.SplitterWindow
):
255 """Proxy of C++ ThinSplitterWindow class"""
256 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
257 __repr__
= _swig_repr
258 def __init__(self
, *args
, **kwargs
):
260 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
261 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
263 _gizmos
.ThinSplitterWindow_swiginit(self
,_gizmos
.new_ThinSplitterWindow(*args
, **kwargs
))
264 self
._setOORInfo
(self
)
266 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindow
)
268 class SplitterScrolledWindow(_windows
.ScrolledWindow
):
269 """Proxy of C++ SplitterScrolledWindow class"""
270 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
271 __repr__
= _swig_repr
272 def __init__(self
, *args
, **kwargs
):
274 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
275 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
277 _gizmos
.SplitterScrolledWindow_swiginit(self
,_gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
))
278 self
._setOORInfo
(self
)
280 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindow
)
282 LED_ALIGN_LEFT
= _gizmos
.LED_ALIGN_LEFT
283 LED_ALIGN_RIGHT
= _gizmos
.LED_ALIGN_RIGHT
284 LED_ALIGN_CENTER
= _gizmos
.LED_ALIGN_CENTER
285 LED_ALIGN_MASK
= _gizmos
.LED_ALIGN_MASK
286 LED_DRAW_FADED
= _gizmos
.LED_DRAW_FADED
287 class LEDNumberCtrl(_core
.Control
):
288 """Proxy of C++ LEDNumberCtrl class"""
289 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
290 __repr__
= _swig_repr
291 def __init__(self
, *args
, **kwargs
):
293 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
294 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
296 _gizmos
.LEDNumberCtrl_swiginit(self
,_gizmos
.new_LEDNumberCtrl(*args
, **kwargs
))
297 self
._setOORInfo
(self
)
299 def Create(*args
, **kwargs
):
301 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
302 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
304 Do the 2nd phase and create the GUI control.
306 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
308 def GetAlignment(*args
, **kwargs
):
310 GetAlignment(self) -> int
312 Get the control alignment (left/right/centre, top/bottom/centre)
314 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
316 def GetDrawFaded(*args
, **kwargs
):
317 """GetDrawFaded(self) -> bool"""
318 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
320 def GetValue(*args
, **kwargs
):
321 """GetValue(self) -> String"""
322 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
324 def SetAlignment(*args
, **kwargs
):
325 """SetAlignment(self, int Alignment, bool Redraw=True)"""
326 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
328 def SetDrawFaded(*args
, **kwargs
):
329 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
330 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
332 def SetValue(*args
, **kwargs
):
333 """SetValue(self, String Value, bool Redraw=True)"""
334 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
336 Alignment
= property(GetAlignment
,SetAlignment
,doc
="See `GetAlignment` and `SetAlignment`")
337 DrawFaded
= property(GetDrawFaded
,SetDrawFaded
,doc
="See `GetDrawFaded` and `SetDrawFaded`")
338 Value
= property(GetValue
,SetValue
,doc
="See `GetValue` and `SetValue`")
339 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrl
)
341 def PreLEDNumberCtrl(*args
, **kwargs
):
342 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
343 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
346 #---------------------------------------------------------------------------
348 DEFAULT_COL_WIDTH
= _gizmos
.DEFAULT_COL_WIDTH
349 TL_MODE_NAV_FULLTREE
= _gizmos
.TL_MODE_NAV_FULLTREE
350 TL_MODE_NAV_EXPANDED
= _gizmos
.TL_MODE_NAV_EXPANDED
351 TL_MODE_NAV_VISIBLE
= _gizmos
.TL_MODE_NAV_VISIBLE
352 TL_MODE_NAV_LEVEL
= _gizmos
.TL_MODE_NAV_LEVEL
353 TL_MODE_FIND_EXACT
= _gizmos
.TL_MODE_FIND_EXACT
354 TL_MODE_FIND_PARTIAL
= _gizmos
.TL_MODE_FIND_PARTIAL
355 TL_MODE_FIND_NOCASE
= _gizmos
.TL_MODE_FIND_NOCASE
356 TREE_HITTEST_ONITEMCOLUMN
= _gizmos
.TREE_HITTEST_ONITEMCOLUMN
357 wx
.TREE_HITTEST_ONITEMCOLUMN
= TREE_HITTEST_ONITEMCOLUMN
358 TR_COLUMN_LINES
= _gizmos
.TR_COLUMN_LINES
359 TR_VIRTUAL
= _gizmos
.TR_VIRTUAL
360 wx
.TR_COLUMN_LINES
= TR_COLUMN_LINES
361 wxTR_VIRTUAL
= TR_VIRTUAL
363 #// Compatibility aliases for old names/values
364 TL_ALIGN_LEFT
= wx
.ALIGN_LEFT
365 TL_ALIGN_RIGHT
= wx
.ALIGN_RIGHT
366 TL_ALIGN_CENTER
= wx
.ALIGN_CENTER
368 TL_SEARCH_VISIBLE
= TL_MODE_NAV_VISIBLE
369 TL_SEARCH_LEVEL
= TL_MODE_NAV_LEVEL
370 TL_SEARCH_FULL
= TL_MODE_FIND_EXACT
371 TL_SEARCH_PARTIAL
= TL_MODE_FIND_PARTIAL
372 TL_SEARCH_NOCASE
= TL_MODE_FIND_NOCASE
374 TR_DONT_ADJUST_MAC
= 0
375 wx
.TR_DONT_ADJUST_MAC
= TR_DONT_ADJUST_MAC
377 class TreeListColumnInfo(_core
.Object
):
378 """Proxy of C++ TreeListColumnInfo class"""
379 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
380 __repr__
= _swig_repr
381 def __init__(self
, *args
, **kwargs
):
383 __init__(self, String text=EmptyString, int width=DEFAULT_COL_WIDTH,
384 int flag=ALIGN_LEFT, int image=-1, bool shown=True,
385 bool edit=False) -> TreeListColumnInfo
387 _gizmos
.TreeListColumnInfo_swiginit(self
,_gizmos
.new_TreeListColumnInfo(*args
, **kwargs
))
388 __swig_destroy__
= _gizmos
.delete_TreeListColumnInfo
389 __del__
= lambda self
: None;
390 def GetAlignment(*args
, **kwargs
):
391 """GetAlignment(self) -> int"""
392 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
394 def GetText(*args
, **kwargs
):
395 """GetText(self) -> String"""
396 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
398 def GetImage(*args
, **kwargs
):
399 """GetImage(self) -> int"""
400 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
402 def GetSelectedImage(*args
, **kwargs
):
403 """GetSelectedImage(self) -> int"""
404 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
406 def GetWidth(*args
, **kwargs
):
407 """GetWidth(self) -> size_t"""
408 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
410 def IsEditable(*args
, **kwargs
):
411 """IsEditable(self) -> bool"""
412 return _gizmos
.TreeListColumnInfo_IsEditable(*args
, **kwargs
)
414 def IsShown(*args
, **kwargs
):
415 """IsShown(self) -> bool"""
416 return _gizmos
.TreeListColumnInfo_IsShown(*args
, **kwargs
)
418 def SetAlignment(*args
, **kwargs
):
419 """SetAlignment(self, int alignment)"""
420 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
422 def SetText(*args
, **kwargs
):
423 """SetText(self, String text)"""
424 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
426 def SetImage(*args
, **kwargs
):
427 """SetImage(self, int image)"""
428 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
430 def SetSelectedImage(*args
, **kwargs
):
431 """SetSelectedImage(self, int image)"""
432 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
434 def SetWidth(*args
, **kwargs
):
435 """SetWidth(self, size_t with)"""
436 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
438 def SetEditable(*args
, **kwargs
):
439 """SetEditable(self, bool edit)"""
440 return _gizmos
.TreeListColumnInfo_SetEditable(*args
, **kwargs
)
442 def SetShown(*args
, **kwargs
):
443 """SetShown(self, bool shown)"""
444 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
446 Alignment
= property(GetAlignment
,SetAlignment
,doc
="See `GetAlignment` and `SetAlignment`")
447 Image
= property(GetImage
,SetImage
,doc
="See `GetImage` and `SetImage`")
448 SelectedImage
= property(GetSelectedImage
,SetSelectedImage
,doc
="See `GetSelectedImage` and `SetSelectedImage`")
449 Text
= property(GetText
,SetText
,doc
="See `GetText` and `SetText`")
450 Width
= property(GetWidth
,SetWidth
,doc
="See `GetWidth` and `SetWidth`")
451 Editable
= property(IsEditable
,SetEditable
)
452 Shown
= property(IsShown
,SetShown
)
453 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfo
)
454 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
456 class TreeListCtrl(_core
.Control
):
457 """Proxy of C++ TreeListCtrl class"""
458 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
459 __repr__
= _swig_repr
460 def __init__(self
, *args
, **kwargs
):
462 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
463 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
464 Validator validator=DefaultValidator,
465 String name=TreeListCtrlNameStr) -> TreeListCtrl
467 _gizmos
.TreeListCtrl_swiginit(self
,_gizmos
.new_TreeListCtrl(*args
, **kwargs
))
468 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
470 def Create(*args
, **kwargs
):
472 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
473 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
474 Validator validator=DefaultValidator,
475 String name=TreeListCtrlNameStr) -> bool
477 Do the 2nd phase and create the GUI control.
479 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
481 def _setCallbackInfo(*args
, **kwargs
):
482 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
483 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
485 def GetCount(*args
, **kwargs
):
486 """GetCount(self) -> size_t"""
487 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
489 def GetIndent(*args
, **kwargs
):
490 """GetIndent(self) -> unsigned int"""
491 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
493 def SetIndent(*args
, **kwargs
):
494 """SetIndent(self, unsigned int indent)"""
495 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
497 def GetLineSpacing(*args
, **kwargs
):
498 """GetLineSpacing(self) -> unsigned int"""
499 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
501 def SetLineSpacing(*args
, **kwargs
):
502 """SetLineSpacing(self, unsigned int spacing)"""
503 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
505 def GetImageList(*args
, **kwargs
):
506 """GetImageList(self) -> ImageList"""
507 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
509 def GetStateImageList(*args
, **kwargs
):
510 """GetStateImageList(self) -> ImageList"""
511 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
513 def GetButtonsImageList(*args
, **kwargs
):
514 """GetButtonsImageList(self) -> ImageList"""
515 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
517 def SetImageList(*args
, **kwargs
):
518 """SetImageList(self, ImageList imageList)"""
519 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
521 def SetStateImageList(*args
, **kwargs
):
522 """SetStateImageList(self, ImageList imageList)"""
523 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
525 def SetButtonsImageList(*args
, **kwargs
):
526 """SetButtonsImageList(self, ImageList imageList)"""
527 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
529 def AssignImageList(*args
, **kwargs
):
530 """AssignImageList(self, ImageList imageList)"""
531 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
533 def AssignStateImageList(*args
, **kwargs
):
534 """AssignStateImageList(self, ImageList imageList)"""
535 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
537 def AssignButtonsImageList(*args
, **kwargs
):
538 """AssignButtonsImageList(self, ImageList imageList)"""
539 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
541 def AddColumn(*args
, **kwargs
):
543 AddColumn(self, String text, int width=DEFAULT_COL_WIDTH, int flag=ALIGN_LEFT,
544 int image=-1, bool shown=True, bool edit=False)
546 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
548 def AddColumnInfo(*args
, **kwargs
):
549 """AddColumnInfo(self, TreeListColumnInfo col)"""
550 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
552 def InsertColumn(*args
, **kwargs
):
554 InsertColumn(self, int before, String text, int width=DEFAULT_COL_WIDTH,
555 int flag=ALIGN_LEFT, int image=-1, bool shown=True,
558 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
560 def InsertColumnInfo(*args
, **kwargs
):
561 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
562 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
564 def RemoveColumn(*args
, **kwargs
):
565 """RemoveColumn(self, size_t column)"""
566 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
568 def GetColumnCount(*args
, **kwargs
):
569 """GetColumnCount(self) -> size_t"""
570 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
572 def SetMainColumn(*args
, **kwargs
):
573 """SetMainColumn(self, size_t column)"""
574 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
576 def GetMainColumn(*args
, **kwargs
):
577 """GetMainColumn(self) -> size_t"""
578 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
580 def SetColumn(*args
, **kwargs
):
581 """SetColumn(self, int column, TreeListColumnInfo colInfo)"""
582 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
584 def GetColumn(*args
, **kwargs
):
585 """GetColumn(self, int column) -> TreeListColumnInfo"""
586 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
588 def SetColumnText(*args
, **kwargs
):
589 """SetColumnText(self, int column, String text)"""
590 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
592 def GetColumnText(*args
, **kwargs
):
593 """GetColumnText(self, int column) -> String"""
594 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
596 def SetColumnWidth(*args
, **kwargs
):
597 """SetColumnWidth(self, int column, int width)"""
598 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
600 def GetColumnWidth(*args
, **kwargs
):
601 """GetColumnWidth(self, int column) -> int"""
602 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
604 def SetColumnAlignment(*args
, **kwargs
):
605 """SetColumnAlignment(self, int column, int flag)"""
606 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
608 def GetColumnAlignment(*args
, **kwargs
):
609 """GetColumnAlignment(self, int column) -> int"""
610 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
612 def SetColumnImage(*args
, **kwargs
):
613 """SetColumnImage(self, int column, int image)"""
614 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
616 def GetColumnImage(*args
, **kwargs
):
617 """GetColumnImage(self, int column) -> int"""
618 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
620 def SetColumnShown(*args
, **kwargs
):
621 """SetColumnShown(self, int column, bool shown=True)"""
622 return _gizmos
.TreeListCtrl_SetColumnShown(*args
, **kwargs
)
624 def IsColumnShown(*args
, **kwargs
):
625 """IsColumnShown(self, int column) -> bool"""
626 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
628 ShowColumn
= SetColumnShown
629 def SetColumnEditable(*args
, **kwargs
):
630 """SetColumnEditable(self, int column, bool edit=True)"""
631 return _gizmos
.TreeListCtrl_SetColumnEditable(*args
, **kwargs
)
633 def IsColumnEditable(*args
, **kwargs
):
634 """IsColumnEditable(self, int column) -> bool"""
635 return _gizmos
.TreeListCtrl_IsColumnEditable(*args
, **kwargs
)
637 def GetItemText(*args
, **kwargs
):
638 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
639 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
641 def GetItemImage(*args
, **kwargs
):
642 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
643 return _gizmos
.TreeListCtrl_GetItemImage(*args
, **kwargs
)
645 def SetItemText(*args
, **kwargs
):
646 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
647 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
649 def SetItemImage(*args
, **kwargs
):
650 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
651 return _gizmos
.TreeListCtrl_SetItemImage(*args
, **kwargs
)
653 def GetItemData(*args
, **kwargs
):
654 """GetItemData(self, TreeItemId item) -> TreeItemData"""
655 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
657 def SetItemData(*args
, **kwargs
):
658 """SetItemData(self, TreeItemId item, TreeItemData data)"""
659 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
661 def GetItemPyData(*args
, **kwargs
):
662 """GetItemPyData(self, TreeItemId item) -> PyObject"""
663 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
665 def SetItemPyData(*args
, **kwargs
):
666 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
667 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
669 GetPyData
= GetItemPyData
670 SetPyData
= SetItemPyData
671 def GetItemBold(*args
, **kwargs
):
672 """GetItemBold(self, TreeItemId item) -> bool"""
673 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
675 def GetItemTextColour(*args
, **kwargs
):
676 """GetItemTextColour(self, TreeItemId item) -> Colour"""
677 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
679 def GetItemBackgroundColour(*args
, **kwargs
):
680 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
681 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
683 def GetItemFont(*args
, **kwargs
):
684 """GetItemFont(self, TreeItemId item) -> Font"""
685 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
687 def SetItemHasChildren(*args
, **kwargs
):
688 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
689 return _gizmos
.TreeListCtrl_SetItemHasChildren(*args
, **kwargs
)
691 def SetItemBold(*args
, **kwargs
):
692 """SetItemBold(self, TreeItemId item, bool bold=True)"""
693 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
695 def SetItemTextColour(*args
, **kwargs
):
696 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
697 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
699 def SetItemBackgroundColour(*args
, **kwargs
):
700 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
701 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
703 def SetItemFont(*args
, **kwargs
):
704 """SetItemFont(self, TreeItemId item, Font font)"""
705 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
707 def IsVisible(*args
, **kwargs
):
708 """IsVisible(self, TreeItemId item) -> bool"""
709 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
711 def HasChildren(*args
, **kwargs
):
712 """HasChildren(self, TreeItemId item) -> bool"""
713 return _gizmos
.TreeListCtrl_HasChildren(*args
, **kwargs
)
715 ItemHasChildren
= HasChildren
716 def IsExpanded(*args
, **kwargs
):
717 """IsExpanded(self, TreeItemId item) -> bool"""
718 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
720 def IsSelected(*args
, **kwargs
):
721 """IsSelected(self, TreeItemId item) -> bool"""
722 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
724 def IsBold(*args
, **kwargs
):
725 """IsBold(self, TreeItemId item) -> bool"""
726 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
728 def GetChildrenCount(*args
, **kwargs
):
729 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
730 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
732 def GetRootItem(*args
, **kwargs
):
733 """GetRootItem(self) -> TreeItemId"""
734 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
736 def GetSelection(*args
, **kwargs
):
737 """GetSelection(self) -> TreeItemId"""
738 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
740 def GetSelections(*args
, **kwargs
):
741 """GetSelections(self) -> PyObject"""
742 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
744 def GetItemParent(*args
, **kwargs
):
745 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
746 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
748 def GetFirstChild(*args
, **kwargs
):
749 """GetFirstChild(self, TreeItemId item) -> PyObject"""
750 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
752 def GetNextChild(*args
, **kwargs
):
753 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
754 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
756 def GetLastChild(*args
, **kwargs
):
757 """GetLastChild(self, TreeItemId item) -> PyObject"""
758 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
760 def GetPrevChild(*args
, **kwargs
):
761 """GetPrevChild(self, TreeItemId item, void cookie) -> PyObject"""
762 return _gizmos
.TreeListCtrl_GetPrevChild(*args
, **kwargs
)
764 def GetNextSibling(*args
, **kwargs
):
765 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
766 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
768 def GetPrevSibling(*args
, **kwargs
):
769 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
770 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
772 def GetNext(*args
, **kwargs
):
773 """GetNext(self, TreeItemId item) -> TreeItemId"""
774 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
776 def GetPrev(*args
, **kwargs
):
777 """GetPrev(self, TreeItemId item) -> TreeItemId"""
778 return _gizmos
.TreeListCtrl_GetPrev(*args
, **kwargs
)
780 def GetFirstExpandedItem(*args
, **kwargs
):
781 """GetFirstExpandedItem(self) -> TreeItemId"""
782 return _gizmos
.TreeListCtrl_GetFirstExpandedItem(*args
, **kwargs
)
784 def GetNextExpanded(*args
, **kwargs
):
785 """GetNextExpanded(self, TreeItemId item) -> TreeItemId"""
786 return _gizmos
.TreeListCtrl_GetNextExpanded(*args
, **kwargs
)
788 def GetPrevExpanded(*args
, **kwargs
):
789 """GetPrevExpanded(self, TreeItemId item) -> TreeItemId"""
790 return _gizmos
.TreeListCtrl_GetPrevExpanded(*args
, **kwargs
)
792 def GetFirstVisibleItem(*args
, **kwargs
):
793 """GetFirstVisibleItem(self, bool fullRow=False) -> TreeItemId"""
794 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
796 def GetNextVisible(*args
, **kwargs
):
797 """GetNextVisible(self, TreeItemId item, bool fullRow=False) -> TreeItemId"""
798 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
800 def GetPrevVisible(*args
, **kwargs
):
801 """GetPrevVisible(self, TreeItemId item, bool fullRow=False) -> TreeItemId"""
802 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
804 def AddRoot(*args
, **kwargs
):
805 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
806 return _gizmos
.TreeListCtrl_AddRoot(*args
, **kwargs
)
808 def PrependItem(*args
, **kwargs
):
810 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
811 TreeItemData data=None) -> TreeItemId
813 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
815 def InsertItem(*args
, **kwargs
):
817 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
818 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
820 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
822 def InsertItemBefore(*args
, **kwargs
):
824 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
825 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
827 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
829 def AppendItem(*args
, **kwargs
):
831 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
832 TreeItemData data=None) -> TreeItemId
834 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
836 def Delete(*args
, **kwargs
):
837 """Delete(self, TreeItemId item)"""
838 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
840 def DeleteChildren(*args
, **kwargs
):
841 """DeleteChildren(self, TreeItemId item)"""
842 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
844 def DeleteRoot(*args
, **kwargs
):
845 """DeleteRoot(self)"""
846 return _gizmos
.TreeListCtrl_DeleteRoot(*args
, **kwargs
)
848 DeleteAllItems
= DeleteRoot
849 def Expand(*args
, **kwargs
):
850 """Expand(self, TreeItemId item)"""
851 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
853 def ExpandAll(*args
, **kwargs
):
854 """ExpandAll(self, TreeItemId item)"""
855 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
857 def Collapse(*args
, **kwargs
):
858 """Collapse(self, TreeItemId item)"""
859 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
861 def CollapseAndReset(*args
, **kwargs
):
862 """CollapseAndReset(self, TreeItemId item)"""
863 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
865 def Toggle(*args
, **kwargs
):
866 """Toggle(self, TreeItemId item)"""
867 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
869 def Unselect(*args
, **kwargs
):
871 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
873 def UnselectAll(*args
, **kwargs
):
874 """UnselectAll(self)"""
875 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
877 def SelectItem(*args
, **kwargs
):
879 SelectItem(self, TreeItemId item, TreeItemId last=(wxTreeItemId *) NULL,
880 bool unselect_others=True)
882 return _gizmos
.TreeListCtrl_SelectItem(*args
, **kwargs
)
884 def SelectAll(*args
, **kwargs
):
885 """SelectAll(self)"""
886 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
888 def EnsureVisible(*args
, **kwargs
):
889 """EnsureVisible(self, TreeItemId item)"""
890 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
892 def ScrollTo(*args
, **kwargs
):
893 """ScrollTo(self, TreeItemId item)"""
894 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
896 def HitTest(*args
, **kwargs
):
897 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
898 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
900 def GetBoundingRect(*args
, **kwargs
):
901 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
902 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
904 def EditLabel(*args
, **kwargs
):
905 """EditLabel(self, TreeItemId item, int column=-1)"""
906 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
909 def SortChildren(*args
, **kwargs
):
910 """SortChildren(self, TreeItemId item)"""
911 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
913 def FindItem(*args
, **kwargs
):
914 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
915 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
917 def SetDragItem(*args
, **kwargs
):
918 """SetDragItem(self, TreeItemId item=(wxTreeItemId *) NULL)"""
919 return _gizmos
.TreeListCtrl_SetDragItem(*args
, **kwargs
)
921 def GetHeaderWindow(*args
, **kwargs
):
922 """GetHeaderWindow(self) -> Window"""
923 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
925 def GetMainWindow(*args
, **kwargs
):
926 """GetMainWindow(self) -> ScrolledWindow"""
927 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
929 ButtonsImageList
= property(GetButtonsImageList
,SetButtonsImageList
,doc
="See `GetButtonsImageList` and `SetButtonsImageList`")
930 ColumnCount
= property(GetColumnCount
,doc
="See `GetColumnCount`")
931 Count
= property(GetCount
,doc
="See `GetCount`")
932 HeaderWindow
= property(GetHeaderWindow
,doc
="See `GetHeaderWindow`")
933 ImageList
= property(GetImageList
,SetImageList
,doc
="See `GetImageList` and `SetImageList`")
934 Indent
= property(GetIndent
,SetIndent
,doc
="See `GetIndent` and `SetIndent`")
935 LineSpacing
= property(GetLineSpacing
,SetLineSpacing
,doc
="See `GetLineSpacing` and `SetLineSpacing`")
936 MainColumn
= property(GetMainColumn
,SetMainColumn
,doc
="See `GetMainColumn` and `SetMainColumn`")
937 MainWindow
= property(GetMainWindow
,doc
="See `GetMainWindow`")
938 Next
= property(GetNext
,doc
="See `GetNext`")
939 RootItem
= property(GetRootItem
,doc
="See `GetRootItem`")
940 Selection
= property(GetSelection
,doc
="See `GetSelection`")
941 Selections
= property(GetSelections
,doc
="See `GetSelections`")
942 StateImageList
= property(GetStateImageList
,SetStateImageList
,doc
="See `GetStateImageList` and `SetStateImageList`")
943 _gizmos
.TreeListCtrl_swigregister(TreeListCtrl
)
945 def PreTreeListCtrl(*args
, **kwargs
):
946 """PreTreeListCtrl() -> TreeListCtrl"""
947 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)
950 SCALE_HORIZONTAL
= _gizmos
.SCALE_HORIZONTAL
951 SCALE_VERTICAL
= _gizmos
.SCALE_VERTICAL
952 SCALE_UNIFORM
= _gizmos
.SCALE_UNIFORM
953 SCALE_CUSTOM
= _gizmos
.SCALE_CUSTOM
954 class StaticPicture(_core
.Control
):
955 """Proxy of C++ StaticPicture class"""
956 thisown
= property(lambda x
: x
.this
.own(), lambda x
, v
: x
.this
.own(v
), doc
='The membership flag')
957 __repr__
= _swig_repr
958 def __init__(self
, *args
, **kwargs
):
960 __init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
961 Point pos=DefaultPosition, Size size=DefaultSize,
962 long style=0, String name=StaticPictureNameStr) -> StaticPicture
964 _gizmos
.StaticPicture_swiginit(self
,_gizmos
.new_StaticPicture(*args
, **kwargs
))
965 self
._setOORInfo
(self
)
967 def Create(*args
, **kwargs
):
969 Create(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
970 Point pos=DefaultPosition, Size size=DefaultSize,
971 long style=0, String name=StaticPictureNameStr) -> bool
973 return _gizmos
.StaticPicture_Create(*args
, **kwargs
)
975 def SetBitmap(*args
, **kwargs
):
976 """SetBitmap(self, Bitmap bmp)"""
977 return _gizmos
.StaticPicture_SetBitmap(*args
, **kwargs
)
979 def GetBitmap(*args
, **kwargs
):
980 """GetBitmap(self) -> Bitmap"""
981 return _gizmos
.StaticPicture_GetBitmap(*args
, **kwargs
)
983 def SetIcon(*args
, **kwargs
):
984 """SetIcon(self, Icon icon)"""
985 return _gizmos
.StaticPicture_SetIcon(*args
, **kwargs
)
987 def GetIcon(*args
, **kwargs
):
988 """GetIcon(self) -> Icon"""
989 return _gizmos
.StaticPicture_GetIcon(*args
, **kwargs
)
991 def SetAlignment(*args
, **kwargs
):
992 """SetAlignment(self, int align)"""
993 return _gizmos
.StaticPicture_SetAlignment(*args
, **kwargs
)
995 def GetAlignment(*args
, **kwargs
):
997 GetAlignment(self) -> int
999 Get the control alignment (left/right/centre, top/bottom/centre)
1001 return _gizmos
.StaticPicture_GetAlignment(*args
, **kwargs
)
1003 def SetScale(*args
, **kwargs
):
1004 """SetScale(self, int scale)"""
1005 return _gizmos
.StaticPicture_SetScale(*args
, **kwargs
)
1007 def GetScale(*args
, **kwargs
):
1008 """GetScale(self) -> int"""
1009 return _gizmos
.StaticPicture_GetScale(*args
, **kwargs
)
1011 def SetCustomScale(*args
, **kwargs
):
1012 """SetCustomScale(self, float sx, float sy)"""
1013 return _gizmos
.StaticPicture_SetCustomScale(*args
, **kwargs
)
1015 def GetCustomScale(*args
, **kwargs
):
1016 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
1017 return _gizmos
.StaticPicture_GetCustomScale(*args
, **kwargs
)
1019 Alignment
= property(GetAlignment
,SetAlignment
,doc
="See `GetAlignment` and `SetAlignment`")
1020 Bitmap
= property(GetBitmap
,SetBitmap
,doc
="See `GetBitmap` and `SetBitmap`")
1021 Icon
= property(GetIcon
,SetIcon
,doc
="See `GetIcon` and `SetIcon`")
1022 Scale
= property(GetScale
,SetScale
,doc
="See `GetScale` and `SetScale`")
1023 _gizmos
.StaticPicture_swigregister(StaticPicture
)
1025 def PreStaticPicture(*args
, **kwargs
):
1026 """PreStaticPicture() -> StaticPicture"""
1027 val
= _gizmos
.new_PreStaticPicture(*args
, **kwargs
)