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