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