]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos.py
1 # This file was created automatically by SWIG.
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
11 import _windows
12 import _core
13 import _controls
14 wx = _core
15 __docfilter__ = wx.__DocFilter(globals())
16 wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT
17 wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
18 DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
19 DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
20 class DynamicSashSplitEvent(_core.CommandEvent):
21 def __repr__(self):
22 return "<%s.%s; proxy of C++ wxDynamicSashSplitEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
23 def __init__(self, *args, **kwargs):
24 """__init__(self, Object target) -> DynamicSashSplitEvent"""
25 newobj = _gizmos.new_DynamicSashSplitEvent(*args, **kwargs)
26 self.this = newobj.this
27 self.thisown = 1
28 del newobj.thisown
29
30 class DynamicSashSplitEventPtr(DynamicSashSplitEvent):
31 def __init__(self, this):
32 self.this = this
33 if not hasattr(self,"thisown"): self.thisown = 0
34 self.__class__ = DynamicSashSplitEvent
35 _gizmos.DynamicSashSplitEvent_swigregister(DynamicSashSplitEventPtr)
36 cvar = _gizmos.cvar
37 DynamicSashNameStr = cvar.DynamicSashNameStr
38 EditableListBoxNameStr = cvar.EditableListBoxNameStr
39 TreeListCtrlNameStr = cvar.TreeListCtrlNameStr
40
41 class DynamicSashUnifyEvent(_core.CommandEvent):
42 def __repr__(self):
43 return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
44 def __init__(self, *args, **kwargs):
45 """__init__(self, Object target) -> DynamicSashUnifyEvent"""
46 newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs)
47 self.this = newobj.this
48 self.thisown = 1
49 del newobj.thisown
50
51 class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
52 def __init__(self, this):
53 self.this = this
54 if not hasattr(self,"thisown"): self.thisown = 0
55 self.__class__ = DynamicSashUnifyEvent
56 _gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
57
58 class DynamicSashWindow(_core.Window):
59 def __repr__(self):
60 return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
61 def __init__(self, *args, **kwargs):
62 """
63 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
64 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
65 String name=DynamicSashNameStr) -> DynamicSashWindow
66 """
67 newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
68 self.this = newobj.this
69 self.thisown = 1
70 del newobj.thisown
71 self._setOORInfo(self)
72
73 def Create(*args, **kwargs):
74 """
75 Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
76 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
77 String name=DynamicSashNameStr) -> bool
78 """
79 return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
80
81 def GetHScrollBar(*args, **kwargs):
82 """GetHScrollBar(self, Window child) -> ScrollBar"""
83 return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
84
85 def GetVScrollBar(*args, **kwargs):
86 """GetVScrollBar(self, Window child) -> ScrollBar"""
87 return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
88
89
90 class DynamicSashWindowPtr(DynamicSashWindow):
91 def __init__(self, this):
92 self.this = this
93 if not hasattr(self,"thisown"): self.thisown = 0
94 self.__class__ = DynamicSashWindow
95 _gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr)
96
97 def PreDynamicSashWindow(*args, **kwargs):
98 """PreDynamicSashWindow() -> DynamicSashWindow"""
99 val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
100 val.thisown = 1
101 return val
102
103 EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
104 EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
105
106 EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
107 EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
108 EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
109 class EditableListBox(_windows.Panel):
110 def __repr__(self):
111 return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
112 def __init__(self, *args, **kwargs):
113 """
114 __init__(self, Window parent, int id, String label, Point pos=DefaultPosition,
115 Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
116 String name=EditableListBoxNameStr) -> EditableListBox
117 """
118 newobj = _gizmos.new_EditableListBox(*args, **kwargs)
119 self.this = newobj.this
120 self.thisown = 1
121 del newobj.thisown
122 self._setOORInfo(self)
123
124 def SetStrings(*args, **kwargs):
125 """SetStrings(self, wxArrayString strings)"""
126 return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
127
128 def GetStrings(*args, **kwargs):
129 """GetStrings(self) -> PyObject"""
130 return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
131
132 def GetListCtrl(*args, **kwargs):
133 """GetListCtrl(self) -> wxListCtrl"""
134 return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
135
136 def GetDelButton(*args, **kwargs):
137 """GetDelButton(self) -> BitmapButton"""
138 return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
139
140 def GetNewButton(*args, **kwargs):
141 """GetNewButton(self) -> BitmapButton"""
142 return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
143
144 def GetUpButton(*args, **kwargs):
145 """GetUpButton(self) -> BitmapButton"""
146 return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
147
148 def GetDownButton(*args, **kwargs):
149 """GetDownButton(self) -> BitmapButton"""
150 return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
151
152 def GetEditButton(*args, **kwargs):
153 """GetEditButton(self) -> BitmapButton"""
154 return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
155
156
157 class EditableListBoxPtr(EditableListBox):
158 def __init__(self, this):
159 self.this = this
160 if not hasattr(self,"thisown"): self.thisown = 0
161 self.__class__ = EditableListBox
162 _gizmos.EditableListBox_swigregister(EditableListBoxPtr)
163
164 class RemotelyScrolledTreeCtrl(_controls.TreeCtrl):
165 def __repr__(self):
166 return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
167 def __init__(self, *args, **kwargs):
168 """
169 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
170 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
171 """
172 newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs)
173 self.this = newobj.this
174 self.thisown = 1
175 del newobj.thisown
176 self._setOORInfo(self)
177
178 def HideVScrollbar(*args, **kwargs):
179 """HideVScrollbar(self)"""
180 return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
181
182 def AdjustRemoteScrollbars(*args, **kwargs):
183 """AdjustRemoteScrollbars(self)"""
184 return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
185
186 def GetScrolledWindow(*args, **kwargs):
187 """GetScrolledWindow(self) -> ScrolledWindow"""
188 return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
189
190 def ScrollToLine(*args, **kwargs):
191 """ScrollToLine(self, int posHoriz, int posVert)"""
192 return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
193
194 def SetCompanionWindow(*args, **kwargs):
195 """SetCompanionWindow(self, Window companion)"""
196 return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
197
198 def GetCompanionWindow(*args, **kwargs):
199 """GetCompanionWindow(self) -> Window"""
200 return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
201
202
203 class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
204 def __init__(self, this):
205 self.this = this
206 if not hasattr(self,"thisown"): self.thisown = 0
207 self.__class__ = RemotelyScrolledTreeCtrl
208 _gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
209
210 class TreeCompanionWindow(_core.Window):
211 def __repr__(self):
212 return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
213 def __init__(self, *args, **kwargs):
214 """
215 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
216 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
217 """
218 newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs)
219 self.this = newobj.this
220 self.thisown = 1
221 del newobj.thisown
222 self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)
223
224 def _setCallbackInfo(*args, **kwargs):
225 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
226 return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
227
228 def GetTreeCtrl(*args, **kwargs):
229 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
230 return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
231
232 def SetTreeCtrl(*args, **kwargs):
233 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
234 return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
235
236
237 class TreeCompanionWindowPtr(TreeCompanionWindow):
238 def __init__(self, this):
239 self.this = this
240 if not hasattr(self,"thisown"): self.thisown = 0
241 self.__class__ = TreeCompanionWindow
242 _gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
243
244 class ThinSplitterWindow(_windows.SplitterWindow):
245 def __repr__(self):
246 return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
247 def __init__(self, *args, **kwargs):
248 """
249 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
250 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
251 """
252 newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs)
253 self.this = newobj.this
254 self.thisown = 1
255 del newobj.thisown
256 self._setOORInfo(self)
257
258
259 class ThinSplitterWindowPtr(ThinSplitterWindow):
260 def __init__(self, this):
261 self.this = this
262 if not hasattr(self,"thisown"): self.thisown = 0
263 self.__class__ = ThinSplitterWindow
264 _gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
265
266 class SplitterScrolledWindow(_windows.ScrolledWindow):
267 def __repr__(self):
268 return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
269 def __init__(self, *args, **kwargs):
270 """
271 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
272 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
273 """
274 newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs)
275 self.this = newobj.this
276 self.thisown = 1
277 del newobj.thisown
278 self._setOORInfo(self)
279
280
281 class SplitterScrolledWindowPtr(SplitterScrolledWindow):
282 def __init__(self, this):
283 self.this = this
284 if not hasattr(self,"thisown"): self.thisown = 0
285 self.__class__ = SplitterScrolledWindow
286 _gizmos.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr)
287
288 LED_ALIGN_LEFT = _gizmos.LED_ALIGN_LEFT
289 LED_ALIGN_RIGHT = _gizmos.LED_ALIGN_RIGHT
290 LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
291 LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
292 LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
293 class LEDNumberCtrl(_core.Control):
294 def __repr__(self):
295 return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
296 def __init__(self, *args, **kwargs):
297 """
298 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
299 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
300 """
301 newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs)
302 self.this = newobj.this
303 self.thisown = 1
304 del newobj.thisown
305 self._setOORInfo(self)
306
307 def Create(*args, **kwargs):
308 """
309 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
310 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
311 """
312 return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
313
314 def GetAlignment(*args, **kwargs):
315 """GetAlignment(self) -> int"""
316 return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
317
318 def GetDrawFaded(*args, **kwargs):
319 """GetDrawFaded(self) -> bool"""
320 return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
321
322 def GetValue(*args, **kwargs):
323 """GetValue(self) -> String"""
324 return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
325
326 def SetAlignment(*args, **kwargs):
327 """SetAlignment(self, int Alignment, bool Redraw=true)"""
328 return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
329
330 def SetDrawFaded(*args, **kwargs):
331 """SetDrawFaded(self, bool DrawFaded, bool Redraw=true)"""
332 return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
333
334 def SetValue(*args, **kwargs):
335 """SetValue(self, String Value, bool Redraw=true)"""
336 return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
337
338
339 class LEDNumberCtrlPtr(LEDNumberCtrl):
340 def __init__(self, this):
341 self.this = this
342 if not hasattr(self,"thisown"): self.thisown = 0
343 self.__class__ = LEDNumberCtrl
344 _gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr)
345
346 def PreLEDNumberCtrl(*args, **kwargs):
347 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
348 val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
349 val.thisown = 1
350 return val
351
352 TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT
353 TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT
354 TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER
355 TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN
356 class TreeListColumnInfo(_core.Object):
357 def __repr__(self):
358 return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
359 def __init__(self, *args, **kwargs):
360 """
361 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
362 int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
363 """
364 newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
365 self.this = newobj.this
366 self.thisown = 1
367 del newobj.thisown
368 def GetAlignment(*args, **kwargs):
369 """GetAlignment(self) -> int"""
370 return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
371
372 def GetText(*args, **kwargs):
373 """GetText(self) -> String"""
374 return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
375
376 def GetImage(*args, **kwargs):
377 """GetImage(self) -> int"""
378 return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
379
380 def GetSelectedImage(*args, **kwargs):
381 """GetSelectedImage(self) -> int"""
382 return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
383
384 def GetWidth(*args, **kwargs):
385 """GetWidth(self) -> size_t"""
386 return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
387
388 def SetAlignment(*args, **kwargs):
389 """SetAlignment(self, int alignment)"""
390 return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
391
392 def SetText(*args, **kwargs):
393 """SetText(self, String text)"""
394 return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
395
396 def SetImage(*args, **kwargs):
397 """SetImage(self, int image)"""
398 return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
399
400 def SetSelectedImage(*args, **kwargs):
401 """SetSelectedImage(self, int image)"""
402 return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
403
404 def SetWidth(*args, **kwargs):
405 """SetWidth(self, size_t with)"""
406 return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
407
408
409 class TreeListColumnInfoPtr(TreeListColumnInfo):
410 def __init__(self, this):
411 self.this = this
412 if not hasattr(self,"thisown"): self.thisown = 0
413 self.__class__ = TreeListColumnInfo
414 _gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
415
416 class TreeListCtrl(_core.Control):
417 def __repr__(self):
418 return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
419 def __init__(self, *args, **kwargs):
420 """
421 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
422 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
423 Validator validator=DefaultValidator,
424 String name=TreeListCtrlNameStr) -> TreeListCtrl
425 """
426 newobj = _gizmos.new_TreeListCtrl(*args, **kwargs)
427 self.this = newobj.this
428 self.thisown = 1
429 del newobj.thisown
430 self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
431
432 def Create(*args, **kwargs):
433 """
434 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
435 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
436 Validator validator=DefaultValidator,
437 String name=TreeListCtrlNameStr) -> bool
438
439 Do the 2nd phase and create the GUI control.
440 """
441 return _gizmos.TreeListCtrl_Create(*args, **kwargs)
442
443 def _setCallbackInfo(*args, **kwargs):
444 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
445 return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
446
447 def GetCount(*args, **kwargs):
448 """GetCount(self) -> size_t"""
449 return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
450
451 def GetIndent(*args, **kwargs):
452 """GetIndent(self) -> unsigned int"""
453 return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
454
455 def SetIndent(*args, **kwargs):
456 """SetIndent(self, unsigned int indent)"""
457 return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
458
459 def GetSpacing(*args, **kwargs):
460 """GetSpacing(self) -> unsigned int"""
461 return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
462
463 def SetSpacing(*args, **kwargs):
464 """SetSpacing(self, unsigned int spacing)"""
465 return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
466
467 def GetLineSpacing(*args, **kwargs):
468 """GetLineSpacing(self) -> unsigned int"""
469 return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
470
471 def SetLineSpacing(*args, **kwargs):
472 """SetLineSpacing(self, unsigned int spacing)"""
473 return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
474
475 def GetImageList(*args, **kwargs):
476 """GetImageList(self) -> ImageList"""
477 return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
478
479 def GetStateImageList(*args, **kwargs):
480 """GetStateImageList(self) -> ImageList"""
481 return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
482
483 def GetButtonsImageList(*args, **kwargs):
484 """GetButtonsImageList(self) -> ImageList"""
485 return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
486
487 def SetImageList(*args, **kwargs):
488 """SetImageList(self, ImageList imageList)"""
489 return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
490
491 def SetStateImageList(*args, **kwargs):
492 """SetStateImageList(self, ImageList imageList)"""
493 return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
494
495 def SetButtonsImageList(*args, **kwargs):
496 """SetButtonsImageList(self, ImageList imageList)"""
497 return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
498
499 def AssignImageList(*args, **kwargs):
500 """AssignImageList(self, ImageList imageList)"""
501 return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
502
503 def AssignStateImageList(*args, **kwargs):
504 """AssignStateImageList(self, ImageList imageList)"""
505 return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
506
507 def AssignButtonsImageList(*args, **kwargs):
508 """AssignButtonsImageList(self, ImageList imageList)"""
509 return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
510
511 def AddColumn(*args, **kwargs):
512 """AddColumn(self, String text)"""
513 return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
514
515 def AddColumnInfo(*args, **kwargs):
516 """AddColumnInfo(self, TreeListColumnInfo col)"""
517 return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
518
519 def InsertColumn(*args, **kwargs):
520 """InsertColumn(self, size_t before, String text)"""
521 return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
522
523 def InsertColumnInfo(*args, **kwargs):
524 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
525 return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
526
527 def RemoveColumn(*args, **kwargs):
528 """RemoveColumn(self, size_t column)"""
529 return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
530
531 def GetColumnCount(*args, **kwargs):
532 """GetColumnCount(self) -> size_t"""
533 return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
534
535 def SetColumnWidth(*args, **kwargs):
536 """SetColumnWidth(self, size_t column, size_t width)"""
537 return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
538
539 def GetColumnWidth(*args, **kwargs):
540 """GetColumnWidth(self, size_t column) -> int"""
541 return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
542
543 def SetMainColumn(*args, **kwargs):
544 """SetMainColumn(self, size_t column)"""
545 return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
546
547 def GetMainColumn(*args, **kwargs):
548 """GetMainColumn(self) -> size_t"""
549 return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
550
551 def SetColumnText(*args, **kwargs):
552 """SetColumnText(self, size_t column, String text)"""
553 return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
554
555 def GetColumnText(*args, **kwargs):
556 """GetColumnText(self, size_t column) -> String"""
557 return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
558
559 def SetColumn(*args, **kwargs):
560 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
561 return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
562
563 def GetColumn(*args, **kwargs):
564 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
565 return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
566
567 def SetColumnAlignment(*args, **kwargs):
568 """SetColumnAlignment(self, size_t column, int align)"""
569 return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
570
571 def GetColumnAlignment(*args, **kwargs):
572 """GetColumnAlignment(self, size_t column) -> int"""
573 return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
574
575 def SetColumnImage(*args, **kwargs):
576 """SetColumnImage(self, size_t column, int image)"""
577 return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
578
579 def GetColumnImage(*args, **kwargs):
580 """GetColumnImage(self, size_t column) -> int"""
581 return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
582
583 def GetItemText(*args, **kwargs):
584 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
585 return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
586
587 def GetItemImage(*args, **kwargs):
588 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
589 return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
590
591 def SetItemText(*args, **kwargs):
592 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
593 return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
594
595 def SetItemImage(*args, **kwargs):
596 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
597 return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
598
599 def GetItemData(*args, **kwargs):
600 """GetItemData(self, TreeItemId item) -> TreeItemData"""
601 return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
602
603 def SetItemData(*args, **kwargs):
604 """SetItemData(self, TreeItemId item, TreeItemData data)"""
605 return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
606
607 def GetItemPyData(*args, **kwargs):
608 """GetItemPyData(self, TreeItemId item) -> PyObject"""
609 return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
610
611 def SetItemPyData(*args, **kwargs):
612 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
613 return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
614
615 GetPyData = GetItemPyData
616 SetPyData = SetItemPyData
617 def SetItemHasChildren(*args, **kwargs):
618 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
619 return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
620
621 def SetItemBold(*args, **kwargs):
622 """SetItemBold(self, TreeItemId item, bool bold=True)"""
623 return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
624
625 def SetItemTextColour(*args, **kwargs):
626 """SetItemTextColour(self, TreeItemId item, Colour col)"""
627 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
628
629 def SetItemBackgroundColour(*args, **kwargs):
630 """SetItemBackgroundColour(self, TreeItemId item, Colour col)"""
631 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
632
633 def SetItemFont(*args, **kwargs):
634 """SetItemFont(self, TreeItemId item, Font font)"""
635 return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
636
637 def GetItemBold(*args, **kwargs):
638 """GetItemBold(self, TreeItemId item) -> bool"""
639 return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
640
641 def GetItemTextColour(*args, **kwargs):
642 """GetItemTextColour(self, TreeItemId item) -> Colour"""
643 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
644
645 def GetItemBackgroundColour(*args, **kwargs):
646 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
647 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
648
649 def GetItemFont(*args, **kwargs):
650 """GetItemFont(self, TreeItemId item) -> Font"""
651 return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
652
653 def IsVisible(*args, **kwargs):
654 """IsVisible(self, TreeItemId item) -> bool"""
655 return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
656
657 def ItemHasChildren(*args, **kwargs):
658 """ItemHasChildren(self, TreeItemId item) -> bool"""
659 return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
660
661 def IsExpanded(*args, **kwargs):
662 """IsExpanded(self, TreeItemId item) -> bool"""
663 return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
664
665 def IsSelected(*args, **kwargs):
666 """IsSelected(self, TreeItemId item) -> bool"""
667 return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
668
669 def IsBold(*args, **kwargs):
670 """IsBold(self, TreeItemId item) -> bool"""
671 return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
672
673 def GetChildrenCount(*args, **kwargs):
674 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
675 return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
676
677 def GetRootItem(*args, **kwargs):
678 """GetRootItem(self) -> TreeItemId"""
679 return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
680
681 def GetSelection(*args, **kwargs):
682 """GetSelection(self) -> TreeItemId"""
683 return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
684
685 def GetSelections(*args, **kwargs):
686 """GetSelections(self) -> PyObject"""
687 return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
688
689 def GetItemParent(*args, **kwargs):
690 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
691 return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
692
693 def GetFirstChild(*args, **kwargs):
694 """GetFirstChild(self, TreeItemId item) -> PyObject"""
695 return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
696
697 def GetNextChild(*args, **kwargs):
698 """GetNextChild(self, TreeItemId item, long cookie) -> PyObject"""
699 return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
700
701 def GetLastChild(*args, **kwargs):
702 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
703 return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
704
705 def GetNextSibling(*args, **kwargs):
706 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
707 return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
708
709 def GetPrevSibling(*args, **kwargs):
710 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
711 return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
712
713 def GetFirstVisibleItem(*args, **kwargs):
714 """GetFirstVisibleItem(self) -> TreeItemId"""
715 return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
716
717 def GetNextVisible(*args, **kwargs):
718 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
719 return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
720
721 def GetPrevVisible(*args, **kwargs):
722 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
723 return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
724
725 def GetNext(*args, **kwargs):
726 """GetNext(self, TreeItemId item) -> TreeItemId"""
727 return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
728
729 def AddRoot(*args, **kwargs):
730 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
731 return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
732
733 def PrependItem(*args, **kwargs):
734 """
735 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
736 TreeItemData data=None) -> TreeItemId
737 """
738 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
739
740 def InsertItem(*args, **kwargs):
741 """
742 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
743 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
744 """
745 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
746
747 def InsertItemBefore(*args, **kwargs):
748 """
749 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
750 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
751 """
752 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
753
754 def AppendItem(*args, **kwargs):
755 """
756 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
757 TreeItemData data=None) -> TreeItemId
758 """
759 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
760
761 def Delete(*args, **kwargs):
762 """Delete(self, TreeItemId item)"""
763 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
764
765 def DeleteChildren(*args, **kwargs):
766 """DeleteChildren(self, TreeItemId item)"""
767 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
768
769 def DeleteAllItems(*args, **kwargs):
770 """DeleteAllItems(self)"""
771 return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
772
773 def Expand(*args, **kwargs):
774 """Expand(self, TreeItemId item)"""
775 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
776
777 def ExpandAll(*args, **kwargs):
778 """ExpandAll(self, TreeItemId item)"""
779 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
780
781 def Collapse(*args, **kwargs):
782 """Collapse(self, TreeItemId item)"""
783 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
784
785 def CollapseAndReset(*args, **kwargs):
786 """CollapseAndReset(self, TreeItemId item)"""
787 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
788
789 def Toggle(*args, **kwargs):
790 """Toggle(self, TreeItemId item)"""
791 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
792
793 def Unselect(*args, **kwargs):
794 """Unselect(self)"""
795 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
796
797 def UnselectAll(*args, **kwargs):
798 """UnselectAll(self)"""
799 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
800
801 def SelectItem(*args, **kwargs):
802 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
803 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
804
805 def EnsureVisible(*args, **kwargs):
806 """EnsureVisible(self, TreeItemId item)"""
807 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
808
809 def ScrollTo(*args, **kwargs):
810 """ScrollTo(self, TreeItemId item)"""
811 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
812
813 def HitTest(*args, **kwargs):
814 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
815 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
816
817 def GetBoundingRect(*args, **kwargs):
818 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
819 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
820
821 def EditLabel(*args, **kwargs):
822 """EditLabel(self, TreeItemId item)"""
823 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
824
825 def Edit(*args, **kwargs):
826 """Edit(self, TreeItemId item)"""
827 return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
828
829 def SortChildren(*args, **kwargs):
830 """SortChildren(self, TreeItemId item)"""
831 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
832
833 def GetItemSelectedImage(*args, **kwargs):
834 """GetItemSelectedImage(self, TreeItemId item) -> int"""
835 return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
836
837 def SetItemSelectedImage(*args, **kwargs):
838 """SetItemSelectedImage(self, TreeItemId item, int image)"""
839 return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
840
841 def GetHeaderWindow(*args, **kwargs):
842 """GetHeaderWindow(self) -> Window"""
843 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
844
845 def GetMainWindow(*args, **kwargs):
846 """GetMainWindow(self) -> Window"""
847 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
848
849
850 class TreeListCtrlPtr(TreeListCtrl):
851 def __init__(self, this):
852 self.this = this
853 if not hasattr(self,"thisown"): self.thisown = 0
854 self.__class__ = TreeListCtrl
855 _gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
856
857 def PreTreeListCtrl(*args, **kwargs):
858 """PreTreeListCtrl() -> TreeListCtrl"""
859 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
860 val.thisown = 1
861 return val
862
863