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