]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos.py
Add properties
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos.py
1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 """
5 Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
6 `LEDNumberCtrl`, `TreeListCtrl`, etc.
7 """
8
9 import _gizmos
10 import new
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)
14 if (name == "this"):
15 if type(value).__name__ == 'PySwigObject':
16 self.__dict__[name] = value
17 return
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
22 else:
23 raise AttributeError("You cannot add attributes to %s" % self)
24
25 def _swig_setattr(self,class_type,name,value):
26 return _swig_setattr_nondynamic(self,class_type,name,value,0)
27
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
33
34 def _swig_repr(self):
35 try: strthis = "proxy of " + self.this.__repr__()
36 except: strthis = ""
37 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
38
39 import types
40 try:
41 _object = types.ObjectType
42 _newclass = 1
43 except AttributeError:
44 class _object : pass
45 _newclass = 0
46 del types
47
48
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"):
53 set(self,name,value)
54 else:
55 raise AttributeError("You cannot add attributes to %s" % self)
56 return set_attr
57
58
59 import _windows
60 import _core
61 import _controls
62 import wx
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')
71 __repr__ = _swig_repr
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)
76 cvar = _gizmos.cvar
77 DynamicSashNameStr = cvar.DynamicSashNameStr
78 EditableListBoxNameStr = cvar.EditableListBoxNameStr
79 StaticPictureNameStr = cvar.StaticPictureNameStr
80
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')
84 __repr__ = _swig_repr
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)
89
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')
93 __repr__ = _swig_repr
94 def __init__(self, *args, **kwargs):
95 """
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
99 """
100 _gizmos.DynamicSashWindow_swiginit(self,_gizmos.new_DynamicSashWindow(*args, **kwargs))
101 self._setOORInfo(self)
102
103 def Create(*args, **kwargs):
104 """
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
108 """
109 return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
110
111 def GetHScrollBar(*args, **kwargs):
112 """GetHScrollBar(self, Window child) -> ScrollBar"""
113 return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
114
115 def GetVScrollBar(*args, **kwargs):
116 """GetVScrollBar(self, Window child) -> ScrollBar"""
117 return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
118
119 _gizmos.DynamicSashWindow_swigregister(DynamicSashWindow)
120
121 def PreDynamicSashWindow(*args, **kwargs):
122 """PreDynamicSashWindow() -> DynamicSashWindow"""
123 val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
124 return val
125
126 EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
127 EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
128
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):
137 """
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
142 """
143 _gizmos.EditableListBox_swiginit(self,_gizmos.new_EditableListBox(*args, **kwargs))
144 self._setOORInfo(self)
145
146 def SetStrings(*args, **kwargs):
147 """SetStrings(self, wxArrayString strings)"""
148 return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
149
150 def GetStrings(*args, **kwargs):
151 """GetStrings(self) -> PyObject"""
152 return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
153
154 def GetListCtrl(*args, **kwargs):
155 """GetListCtrl(self) -> ListCtrl"""
156 return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
157
158 def GetDelButton(*args, **kwargs):
159 """GetDelButton(self) -> BitmapButton"""
160 return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
161
162 def GetNewButton(*args, **kwargs):
163 """GetNewButton(self) -> BitmapButton"""
164 return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
165
166 def GetUpButton(*args, **kwargs):
167 """GetUpButton(self) -> BitmapButton"""
168 return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
169
170 def GetDownButton(*args, **kwargs):
171 """GetDownButton(self) -> BitmapButton"""
172 return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
173
174 def GetEditButton(*args, **kwargs):
175 """GetEditButton(self) -> BitmapButton"""
176 return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
177
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)
186
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):
192 """
193 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
194 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
195 """
196 _gizmos.RemotelyScrolledTreeCtrl_swiginit(self,_gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs))
197 self._setOORInfo(self)
198
199 def HideVScrollbar(*args, **kwargs):
200 """HideVScrollbar(self)"""
201 return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
202
203 def AdjustRemoteScrollbars(*args, **kwargs):
204 """AdjustRemoteScrollbars(self)"""
205 return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
206
207 def GetScrolledWindow(*args, **kwargs):
208 """GetScrolledWindow(self) -> ScrolledWindow"""
209 return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
210
211 def ScrollToLine(*args, **kwargs):
212 """ScrollToLine(self, int posHoriz, int posVert)"""
213 return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
214
215 def SetCompanionWindow(*args, **kwargs):
216 """SetCompanionWindow(self, Window companion)"""
217 return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
218
219 def GetCompanionWindow(*args, **kwargs):
220 """GetCompanionWindow(self) -> Window"""
221 return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
222
223 CompanionWindow = property(GetCompanionWindow,SetCompanionWindow,doc="See `GetCompanionWindow` and `SetCompanionWindow`")
224 ScrolledWindow = property(GetScrolledWindow,doc="See `GetScrolledWindow`")
225 _gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl)
226
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):
232 """
233 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
234 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
235 """
236 _gizmos.TreeCompanionWindow_swiginit(self,_gizmos.new_TreeCompanionWindow(*args, **kwargs))
237 self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)
238
239 def _setCallbackInfo(*args, **kwargs):
240 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
241 return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
242
243 def GetTreeCtrl(*args, **kwargs):
244 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
245 return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
246
247 def SetTreeCtrl(*args, **kwargs):
248 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
249 return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
250
251 TreeCtrl = property(GetTreeCtrl,SetTreeCtrl,doc="See `GetTreeCtrl` and `SetTreeCtrl`")
252 _gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindow)
253
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):
259 """
260 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
261 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
262 """
263 _gizmos.ThinSplitterWindow_swiginit(self,_gizmos.new_ThinSplitterWindow(*args, **kwargs))
264 self._setOORInfo(self)
265
266 _gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindow)
267
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):
273 """
274 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
275 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
276 """
277 _gizmos.SplitterScrolledWindow_swiginit(self,_gizmos.new_SplitterScrolledWindow(*args, **kwargs))
278 self._setOORInfo(self)
279
280 _gizmos.SplitterScrolledWindow_swigregister(SplitterScrolledWindow)
281
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):
292 """
293 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
294 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
295 """
296 _gizmos.LEDNumberCtrl_swiginit(self,_gizmos.new_LEDNumberCtrl(*args, **kwargs))
297 self._setOORInfo(self)
298
299 def Create(*args, **kwargs):
300 """
301 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
302 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
303
304 Do the 2nd phase and create the GUI control.
305 """
306 return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
307
308 def GetAlignment(*args, **kwargs):
309 """
310 GetAlignment(self) -> int
311
312 Get the control alignment (left/right/centre, top/bottom/centre)
313 """
314 return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
315
316 def GetDrawFaded(*args, **kwargs):
317 """GetDrawFaded(self) -> bool"""
318 return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
319
320 def GetValue(*args, **kwargs):
321 """GetValue(self) -> String"""
322 return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
323
324 def SetAlignment(*args, **kwargs):
325 """SetAlignment(self, int Alignment, bool Redraw=True)"""
326 return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
327
328 def SetDrawFaded(*args, **kwargs):
329 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
330 return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
331
332 def SetValue(*args, **kwargs):
333 """SetValue(self, String Value, bool Redraw=True)"""
334 return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
335
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)
340
341 def PreLEDNumberCtrl(*args, **kwargs):
342 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
343 val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
344 return val
345
346 #---------------------------------------------------------------------------
347
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
362
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
367
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
373
374 TR_DONT_ADJUST_MAC = 0
375 wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC
376
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):
382 """
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
386 """
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)
393
394 def GetText(*args, **kwargs):
395 """GetText(self) -> String"""
396 return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
397
398 def GetImage(*args, **kwargs):
399 """GetImage(self) -> int"""
400 return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
401
402 def GetSelectedImage(*args, **kwargs):
403 """GetSelectedImage(self) -> int"""
404 return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
405
406 def GetWidth(*args, **kwargs):
407 """GetWidth(self) -> size_t"""
408 return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
409
410 def IsEditable(*args, **kwargs):
411 """IsEditable(self) -> bool"""
412 return _gizmos.TreeListColumnInfo_IsEditable(*args, **kwargs)
413
414 def IsShown(*args, **kwargs):
415 """IsShown(self) -> bool"""
416 return _gizmos.TreeListColumnInfo_IsShown(*args, **kwargs)
417
418 def SetAlignment(*args, **kwargs):
419 """SetAlignment(self, int alignment)"""
420 return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
421
422 def SetText(*args, **kwargs):
423 """SetText(self, String text)"""
424 return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
425
426 def SetImage(*args, **kwargs):
427 """SetImage(self, int image)"""
428 return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
429
430 def SetSelectedImage(*args, **kwargs):
431 """SetSelectedImage(self, int image)"""
432 return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
433
434 def SetWidth(*args, **kwargs):
435 """SetWidth(self, size_t with)"""
436 return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
437
438 def SetEditable(*args, **kwargs):
439 """SetEditable(self, bool edit)"""
440 return _gizmos.TreeListColumnInfo_SetEditable(*args, **kwargs)
441
442 def SetShown(*args, **kwargs):
443 """SetShown(self, bool shown)"""
444 return _gizmos.TreeListColumnInfo_SetShown(*args, **kwargs)
445
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
455
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):
461 """
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
466 """
467 _gizmos.TreeListCtrl_swiginit(self,_gizmos.new_TreeListCtrl(*args, **kwargs))
468 self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
469
470 def Create(*args, **kwargs):
471 """
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
476
477 Do the 2nd phase and create the GUI control.
478 """
479 return _gizmos.TreeListCtrl_Create(*args, **kwargs)
480
481 def _setCallbackInfo(*args, **kwargs):
482 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
483 return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
484
485 def GetCount(*args, **kwargs):
486 """GetCount(self) -> size_t"""
487 return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
488
489 def GetIndent(*args, **kwargs):
490 """GetIndent(self) -> unsigned int"""
491 return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
492
493 def SetIndent(*args, **kwargs):
494 """SetIndent(self, unsigned int indent)"""
495 return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
496
497 def GetLineSpacing(*args, **kwargs):
498 """GetLineSpacing(self) -> unsigned int"""
499 return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
500
501 def SetLineSpacing(*args, **kwargs):
502 """SetLineSpacing(self, unsigned int spacing)"""
503 return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
504
505 def GetImageList(*args, **kwargs):
506 """GetImageList(self) -> ImageList"""
507 return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
508
509 def GetStateImageList(*args, **kwargs):
510 """GetStateImageList(self) -> ImageList"""
511 return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
512
513 def GetButtonsImageList(*args, **kwargs):
514 """GetButtonsImageList(self) -> ImageList"""
515 return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
516
517 def SetImageList(*args, **kwargs):
518 """SetImageList(self, ImageList imageList)"""
519 return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
520
521 def SetStateImageList(*args, **kwargs):
522 """SetStateImageList(self, ImageList imageList)"""
523 return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
524
525 def SetButtonsImageList(*args, **kwargs):
526 """SetButtonsImageList(self, ImageList imageList)"""
527 return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
528
529 def AssignImageList(*args, **kwargs):
530 """AssignImageList(self, ImageList imageList)"""
531 return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
532
533 def AssignStateImageList(*args, **kwargs):
534 """AssignStateImageList(self, ImageList imageList)"""
535 return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
536
537 def AssignButtonsImageList(*args, **kwargs):
538 """AssignButtonsImageList(self, ImageList imageList)"""
539 return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
540
541 def AddColumn(*args, **kwargs):
542 """
543 AddColumn(self, String text, int width=DEFAULT_COL_WIDTH, int flag=ALIGN_LEFT,
544 int image=-1, bool shown=True, bool edit=False)
545 """
546 return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
547
548 def AddColumnInfo(*args, **kwargs):
549 """AddColumnInfo(self, TreeListColumnInfo col)"""
550 return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
551
552 def InsertColumn(*args, **kwargs):
553 """
554 InsertColumn(self, int before, String text, int width=DEFAULT_COL_WIDTH,
555 int flag=ALIGN_LEFT, int image=-1, bool shown=True,
556 bool edit=False)
557 """
558 return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
559
560 def InsertColumnInfo(*args, **kwargs):
561 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
562 return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
563
564 def RemoveColumn(*args, **kwargs):
565 """RemoveColumn(self, size_t column)"""
566 return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
567
568 def GetColumnCount(*args, **kwargs):
569 """GetColumnCount(self) -> size_t"""
570 return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
571
572 def SetMainColumn(*args, **kwargs):
573 """SetMainColumn(self, size_t column)"""
574 return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
575
576 def GetMainColumn(*args, **kwargs):
577 """GetMainColumn(self) -> size_t"""
578 return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
579
580 def SetColumn(*args, **kwargs):
581 """SetColumn(self, int column, TreeListColumnInfo colInfo)"""
582 return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
583
584 def GetColumn(*args, **kwargs):
585 """GetColumn(self, int column) -> TreeListColumnInfo"""
586 return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
587
588 def SetColumnText(*args, **kwargs):
589 """SetColumnText(self, int column, String text)"""
590 return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
591
592 def GetColumnText(*args, **kwargs):
593 """GetColumnText(self, int column) -> String"""
594 return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
595
596 def SetColumnWidth(*args, **kwargs):
597 """SetColumnWidth(self, int column, int width)"""
598 return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
599
600 def GetColumnWidth(*args, **kwargs):
601 """GetColumnWidth(self, int column) -> int"""
602 return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
603
604 def SetColumnAlignment(*args, **kwargs):
605 """SetColumnAlignment(self, int column, int flag)"""
606 return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
607
608 def GetColumnAlignment(*args, **kwargs):
609 """GetColumnAlignment(self, int column) -> int"""
610 return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
611
612 def SetColumnImage(*args, **kwargs):
613 """SetColumnImage(self, int column, int image)"""
614 return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
615
616 def GetColumnImage(*args, **kwargs):
617 """GetColumnImage(self, int column) -> int"""
618 return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
619
620 def SetColumnShown(*args, **kwargs):
621 """SetColumnShown(self, int column, bool shown=True)"""
622 return _gizmos.TreeListCtrl_SetColumnShown(*args, **kwargs)
623
624 def IsColumnShown(*args, **kwargs):
625 """IsColumnShown(self, int column) -> bool"""
626 return _gizmos.TreeListCtrl_IsColumnShown(*args, **kwargs)
627
628 ShowColumn = SetColumnShown
629 def SetColumnEditable(*args, **kwargs):
630 """SetColumnEditable(self, int column, bool edit=True)"""
631 return _gizmos.TreeListCtrl_SetColumnEditable(*args, **kwargs)
632
633 def IsColumnEditable(*args, **kwargs):
634 """IsColumnEditable(self, int column) -> bool"""
635 return _gizmos.TreeListCtrl_IsColumnEditable(*args, **kwargs)
636
637 def GetItemText(*args, **kwargs):
638 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
639 return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
640
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)
644
645 def SetItemText(*args, **kwargs):
646 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
647 return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
648
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)
652
653 def GetItemData(*args, **kwargs):
654 """GetItemData(self, TreeItemId item) -> TreeItemData"""
655 return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
656
657 def SetItemData(*args, **kwargs):
658 """SetItemData(self, TreeItemId item, TreeItemData data)"""
659 return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
660
661 def GetItemPyData(*args, **kwargs):
662 """GetItemPyData(self, TreeItemId item) -> PyObject"""
663 return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
664
665 def SetItemPyData(*args, **kwargs):
666 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
667 return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
668
669 GetPyData = GetItemPyData
670 SetPyData = SetItemPyData
671 def GetItemBold(*args, **kwargs):
672 """GetItemBold(self, TreeItemId item) -> bool"""
673 return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
674
675 def GetItemTextColour(*args, **kwargs):
676 """GetItemTextColour(self, TreeItemId item) -> Colour"""
677 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
678
679 def GetItemBackgroundColour(*args, **kwargs):
680 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
681 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
682
683 def GetItemFont(*args, **kwargs):
684 """GetItemFont(self, TreeItemId item) -> Font"""
685 return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
686
687 def SetItemHasChildren(*args, **kwargs):
688 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
689 return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
690
691 def SetItemBold(*args, **kwargs):
692 """SetItemBold(self, TreeItemId item, bool bold=True)"""
693 return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
694
695 def SetItemTextColour(*args, **kwargs):
696 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
697 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
698
699 def SetItemBackgroundColour(*args, **kwargs):
700 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
701 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
702
703 def SetItemFont(*args, **kwargs):
704 """SetItemFont(self, TreeItemId item, Font font)"""
705 return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
706
707 def IsVisible(*args, **kwargs):
708 """IsVisible(self, TreeItemId item) -> bool"""
709 return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
710
711 def HasChildren(*args, **kwargs):
712 """HasChildren(self, TreeItemId item) -> bool"""
713 return _gizmos.TreeListCtrl_HasChildren(*args, **kwargs)
714
715 ItemHasChildren = HasChildren
716 def IsExpanded(*args, **kwargs):
717 """IsExpanded(self, TreeItemId item) -> bool"""
718 return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
719
720 def IsSelected(*args, **kwargs):
721 """IsSelected(self, TreeItemId item) -> bool"""
722 return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
723
724 def IsBold(*args, **kwargs):
725 """IsBold(self, TreeItemId item) -> bool"""
726 return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
727
728 def GetChildrenCount(*args, **kwargs):
729 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
730 return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
731
732 def GetRootItem(*args, **kwargs):
733 """GetRootItem(self) -> TreeItemId"""
734 return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
735
736 def GetSelection(*args, **kwargs):
737 """GetSelection(self) -> TreeItemId"""
738 return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
739
740 def GetSelections(*args, **kwargs):
741 """GetSelections(self) -> PyObject"""
742 return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
743
744 def GetItemParent(*args, **kwargs):
745 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
746 return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
747
748 def GetFirstChild(*args, **kwargs):
749 """GetFirstChild(self, TreeItemId item) -> PyObject"""
750 return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
751
752 def GetNextChild(*args, **kwargs):
753 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
754 return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
755
756 def GetLastChild(*args, **kwargs):
757 """GetLastChild(self, TreeItemId item) -> PyObject"""
758 return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
759
760 def GetPrevChild(*args, **kwargs):
761 """GetPrevChild(self, TreeItemId item, void cookie) -> PyObject"""
762 return _gizmos.TreeListCtrl_GetPrevChild(*args, **kwargs)
763
764 def GetNextSibling(*args, **kwargs):
765 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
766 return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
767
768 def GetPrevSibling(*args, **kwargs):
769 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
770 return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
771
772 def GetNext(*args, **kwargs):
773 """GetNext(self, TreeItemId item) -> TreeItemId"""
774 return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
775
776 def GetPrev(*args, **kwargs):
777 """GetPrev(self, TreeItemId item) -> TreeItemId"""
778 return _gizmos.TreeListCtrl_GetPrev(*args, **kwargs)
779
780 def GetFirstExpandedItem(*args, **kwargs):
781 """GetFirstExpandedItem(self) -> TreeItemId"""
782 return _gizmos.TreeListCtrl_GetFirstExpandedItem(*args, **kwargs)
783
784 def GetNextExpanded(*args, **kwargs):
785 """GetNextExpanded(self, TreeItemId item) -> TreeItemId"""
786 return _gizmos.TreeListCtrl_GetNextExpanded(*args, **kwargs)
787
788 def GetPrevExpanded(*args, **kwargs):
789 """GetPrevExpanded(self, TreeItemId item) -> TreeItemId"""
790 return _gizmos.TreeListCtrl_GetPrevExpanded(*args, **kwargs)
791
792 def GetFirstVisibleItem(*args, **kwargs):
793 """GetFirstVisibleItem(self, bool fullRow=False) -> TreeItemId"""
794 return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
795
796 def GetNextVisible(*args, **kwargs):
797 """GetNextVisible(self, TreeItemId item, bool fullRow=False) -> TreeItemId"""
798 return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
799
800 def GetPrevVisible(*args, **kwargs):
801 """GetPrevVisible(self, TreeItemId item, bool fullRow=False) -> TreeItemId"""
802 return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
803
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)
807
808 def PrependItem(*args, **kwargs):
809 """
810 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
811 TreeItemData data=None) -> TreeItemId
812 """
813 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
814
815 def InsertItem(*args, **kwargs):
816 """
817 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
818 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
819 """
820 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
821
822 def InsertItemBefore(*args, **kwargs):
823 """
824 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
825 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
826 """
827 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
828
829 def AppendItem(*args, **kwargs):
830 """
831 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
832 TreeItemData data=None) -> TreeItemId
833 """
834 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
835
836 def Delete(*args, **kwargs):
837 """Delete(self, TreeItemId item)"""
838 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
839
840 def DeleteChildren(*args, **kwargs):
841 """DeleteChildren(self, TreeItemId item)"""
842 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
843
844 def DeleteRoot(*args, **kwargs):
845 """DeleteRoot(self)"""
846 return _gizmos.TreeListCtrl_DeleteRoot(*args, **kwargs)
847
848 DeleteAllItems = DeleteRoot
849 def Expand(*args, **kwargs):
850 """Expand(self, TreeItemId item)"""
851 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
852
853 def ExpandAll(*args, **kwargs):
854 """ExpandAll(self, TreeItemId item)"""
855 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
856
857 def Collapse(*args, **kwargs):
858 """Collapse(self, TreeItemId item)"""
859 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
860
861 def CollapseAndReset(*args, **kwargs):
862 """CollapseAndReset(self, TreeItemId item)"""
863 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
864
865 def Toggle(*args, **kwargs):
866 """Toggle(self, TreeItemId item)"""
867 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
868
869 def Unselect(*args, **kwargs):
870 """Unselect(self)"""
871 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
872
873 def UnselectAll(*args, **kwargs):
874 """UnselectAll(self)"""
875 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
876
877 def SelectItem(*args, **kwargs):
878 """
879 SelectItem(self, TreeItemId item, TreeItemId last=(wxTreeItemId *) NULL,
880 bool unselect_others=True)
881 """
882 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
883
884 def SelectAll(*args, **kwargs):
885 """SelectAll(self)"""
886 return _gizmos.TreeListCtrl_SelectAll(*args, **kwargs)
887
888 def EnsureVisible(*args, **kwargs):
889 """EnsureVisible(self, TreeItemId item)"""
890 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
891
892 def ScrollTo(*args, **kwargs):
893 """ScrollTo(self, TreeItemId item)"""
894 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
895
896 def HitTest(*args, **kwargs):
897 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
898 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
899
900 def GetBoundingRect(*args, **kwargs):
901 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
902 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
903
904 def EditLabel(*args, **kwargs):
905 """EditLabel(self, TreeItemId item, int column=-1)"""
906 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
907
908 Edit = EditLabel
909 def SortChildren(*args, **kwargs):
910 """SortChildren(self, TreeItemId item)"""
911 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
912
913 def FindItem(*args, **kwargs):
914 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
915 return _gizmos.TreeListCtrl_FindItem(*args, **kwargs)
916
917 def SetDragItem(*args, **kwargs):
918 """SetDragItem(self, TreeItemId item=(wxTreeItemId *) NULL)"""
919 return _gizmos.TreeListCtrl_SetDragItem(*args, **kwargs)
920
921 def GetHeaderWindow(*args, **kwargs):
922 """GetHeaderWindow(self) -> Window"""
923 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
924
925 def GetMainWindow(*args, **kwargs):
926 """GetMainWindow(self) -> ScrolledWindow"""
927 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
928
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)
944
945 def PreTreeListCtrl(*args, **kwargs):
946 """PreTreeListCtrl() -> TreeListCtrl"""
947 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
948 return val
949
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):
959 """
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
963 """
964 _gizmos.StaticPicture_swiginit(self,_gizmos.new_StaticPicture(*args, **kwargs))
965 self._setOORInfo(self)
966
967 def Create(*args, **kwargs):
968 """
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
972 """
973 return _gizmos.StaticPicture_Create(*args, **kwargs)
974
975 def SetBitmap(*args, **kwargs):
976 """SetBitmap(self, Bitmap bmp)"""
977 return _gizmos.StaticPicture_SetBitmap(*args, **kwargs)
978
979 def GetBitmap(*args, **kwargs):
980 """GetBitmap(self) -> Bitmap"""
981 return _gizmos.StaticPicture_GetBitmap(*args, **kwargs)
982
983 def SetIcon(*args, **kwargs):
984 """SetIcon(self, Icon icon)"""
985 return _gizmos.StaticPicture_SetIcon(*args, **kwargs)
986
987 def GetIcon(*args, **kwargs):
988 """GetIcon(self) -> Icon"""
989 return _gizmos.StaticPicture_GetIcon(*args, **kwargs)
990
991 def SetAlignment(*args, **kwargs):
992 """SetAlignment(self, int align)"""
993 return _gizmos.StaticPicture_SetAlignment(*args, **kwargs)
994
995 def GetAlignment(*args, **kwargs):
996 """
997 GetAlignment(self) -> int
998
999 Get the control alignment (left/right/centre, top/bottom/centre)
1000 """
1001 return _gizmos.StaticPicture_GetAlignment(*args, **kwargs)
1002
1003 def SetScale(*args, **kwargs):
1004 """SetScale(self, int scale)"""
1005 return _gizmos.StaticPicture_SetScale(*args, **kwargs)
1006
1007 def GetScale(*args, **kwargs):
1008 """GetScale(self) -> int"""
1009 return _gizmos.StaticPicture_GetScale(*args, **kwargs)
1010
1011 def SetCustomScale(*args, **kwargs):
1012 """SetCustomScale(self, float sx, float sy)"""
1013 return _gizmos.StaticPicture_SetCustomScale(*args, **kwargs)
1014
1015 def GetCustomScale(*args, **kwargs):
1016 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
1017 return _gizmos.StaticPicture_GetCustomScale(*args, **kwargs)
1018
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)
1024
1025 def PreStaticPicture(*args, **kwargs):
1026 """PreStaticPicture() -> StaticPicture"""
1027 val = _gizmos.new_PreStaticPicture(*args, **kwargs)
1028 return val
1029
1030
1031