]> 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 import _gizmos
5
6 import windows
7 import core
8 import controls
9 wx = core
10 wxEVT_DYNAMIC_SASH_SPLIT = _gizmos.wxEVT_DYNAMIC_SASH_SPLIT
11 wxEVT_DYNAMIC_SASH_UNIFY = _gizmos.wxEVT_DYNAMIC_SASH_UNIFY
12 DS_MANAGE_SCROLLBARS = _gizmos.DS_MANAGE_SCROLLBARS
13 DS_DRAG_CORNER = _gizmos.DS_DRAG_CORNER
14 class DynamicSashSplitEvent(core.CommandEvent):
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
24 class 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)
30 cvar = _gizmos.cvar
31 DynamicSashNameStr = cvar.DynamicSashNameStr
32 EditableListBoxNameStr = cvar.EditableListBoxNameStr
33 TreeListCtrlNameStr = cvar.TreeListCtrlNameStr
34
35 class DynamicSashUnifyEvent(core.CommandEvent):
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
45 class 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
52 class DynamicSashWindow(core.Window):
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):
56 """
57 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
58 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
59 String name=DynamicSashNameStr) -> DynamicSashWindow
60 """
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):
68 """
69 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
70 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
71 String name=DynamicSashNameStr) -> bool
72 """
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
84 class 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
91 def PreDynamicSashWindow(*args, **kwargs):
92 """PreDynamicSashWindow() -> DynamicSashWindow"""
93 val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
94 val.thisown = 1
95 return val
96
97 EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
98 EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
99
100 EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
101 EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
102 EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
103 class EditableListBox(windows.Panel):
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):
107 """
108 __init__(Window parent, int id, String label, Point pos=DefaultPosition,
109 Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
110 String name=EditableListBoxNameStr) -> EditableListBox
111 """
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
151 class 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
158 class RemotelyScrolledTreeCtrl(controls.TreeCtrl):
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):
162 """
163 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
164 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
165 """
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
197 class 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
204 class TreeCompanionWindow(core.Window):
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):
208 """
209 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
210 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
211 """
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
231 class 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
238 class ThinSplitterWindow(windows.SplitterWindow):
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):
242 """
243 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
244 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
245 """
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
253 class 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
260 class SplitterScrolledWindow(windows.ScrolledWindow):
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):
264 """
265 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
266 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
267 """
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
275 class 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
282 LED_ALIGN_LEFT = _gizmos.LED_ALIGN_LEFT
283 LED_ALIGN_RIGHT = _gizmos.LED_ALIGN_RIGHT
284 LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
285 LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
286 LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
287 class LEDNumberCtrl(core.Control):
288 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):
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 """
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):
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 """
306 return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
307
308 def GetAlignment(*args, **kwargs):
309 """GetAlignment() -> int"""
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):
317 """GetValue() -> String"""
318 return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
319
320 def SetAlignment(*args, **kwargs):
321 """SetAlignment(int Alignment, bool Redraw=true)"""
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):
329 """SetValue(String Value, bool Redraw=true)"""
330 return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
331
332
333 class 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
340 def PreLEDNumberCtrl(*args, **kwargs):
341 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
342 val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
343 val.thisown = 1
344 return val
345
346 TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT
347 TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT
348 TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER
349 TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN
350 class TreeListColumnInfo(core.Object):
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):
354 """
355 __init__(String text=EmptyString, int image=-1, size_t width=100,
356 int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
357 """
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):
363 """GetAlignment() -> int"""
364 return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
365
366 def GetText(*args, **kwargs):
367 """GetText() -> String"""
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):
383 """SetAlignment(int alignment)"""
384 return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
385
386 def SetText(*args, **kwargs):
387 """SetText(String text)"""
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
403 class 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
410 class TreeListCtrl(core.Control):
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):
414 """
415 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
416 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
417 Validator validator=DefaultValidator,
418 String name=TreeListCtrlNameStr) -> TreeListCtrl
419 """
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):
427 """
428 Create(Window parent, int id=-1, Point pos=DefaultPosition,
429 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
430 Validator validator=DefaultValidator,
431 String name=TreeListCtrlNameStr) -> bool
432 """
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):
468 """GetImageList() -> ImageList"""
469 return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
470
471 def GetStateImageList(*args, **kwargs):
472 """GetStateImageList() -> ImageList"""
473 return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
474
475 def GetButtonsImageList(*args, **kwargs):
476 """GetButtonsImageList() -> ImageList"""
477 return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
478
479 def SetImageList(*args, **kwargs):
480 """SetImageList(ImageList imageList)"""
481 return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
482
483 def SetStateImageList(*args, **kwargs):
484 """SetStateImageList(ImageList imageList)"""
485 return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
486
487 def SetButtonsImageList(*args, **kwargs):
488 """SetButtonsImageList(ImageList imageList)"""
489 return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
490
491 def AssignImageList(*args, **kwargs):
492 """AssignImageList(ImageList imageList)"""
493 return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
494
495 def AssignStateImageList(*args, **kwargs):
496 """AssignStateImageList(ImageList imageList)"""
497 return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
498
499 def AssignButtonsImageList(*args, **kwargs):
500 """AssignButtonsImageList(ImageList imageList)"""
501 return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
502
503 def AddColumn(*args, **kwargs):
504 """AddColumn(String text)"""
505 return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
506
507 def AddColumnInfo(*args, **kwargs):
508 """AddColumnInfo(TreeListColumnInfo col)"""
509 return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
510
511 def InsertColumn(*args, **kwargs):
512 """InsertColumn(size_t before, String text)"""
513 return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
514
515 def InsertColumnInfo(*args, **kwargs):
516 """InsertColumnInfo(size_t before, TreeListColumnInfo col)"""
517 return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
518
519 def RemoveColumn(*args, **kwargs):
520 """RemoveColumn(size_t column)"""
521 return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
522
523 def GetColumnCount(*args, **kwargs):
524 """GetColumnCount() -> size_t"""
525 return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
526
527 def SetColumnWidth(*args, **kwargs):
528 """SetColumnWidth(size_t column, size_t width)"""
529 return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
530
531 def GetColumnWidth(*args, **kwargs):
532 """GetColumnWidth(size_t column) -> int"""
533 return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
534
535 def SetMainColumn(*args, **kwargs):
536 """SetMainColumn(size_t column)"""
537 return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
538
539 def GetMainColumn(*args, **kwargs):
540 """GetMainColumn() -> size_t"""
541 return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
542
543 def SetColumnText(*args, **kwargs):
544 """SetColumnText(size_t column, String text)"""
545 return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
546
547 def GetColumnText(*args, **kwargs):
548 """GetColumnText(size_t column) -> String"""
549 return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
550
551 def SetColumn(*args, **kwargs):
552 """SetColumn(size_t column, TreeListColumnInfo info)"""
553 return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
554
555 def GetColumn(*args, **kwargs):
556 """GetColumn(size_t column) -> TreeListColumnInfo"""
557 return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
558
559 def SetColumnAlignment(*args, **kwargs):
560 """SetColumnAlignment(size_t column, int align)"""
561 return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
562
563 def GetColumnAlignment(*args, **kwargs):
564 """GetColumnAlignment(size_t column) -> int"""
565 return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
566
567 def SetColumnImage(*args, **kwargs):
568 """SetColumnImage(size_t column, int image)"""
569 return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
570
571 def GetColumnImage(*args, **kwargs):
572 """GetColumnImage(size_t column) -> int"""
573 return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
574
575 def GetItemText(*args, **kwargs):
576 """GetItemText(TreeItemId item, int column=-1) -> String"""
577 return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
578
579 def GetItemImage(*args, **kwargs):
580 """GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
581 return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
582
583 def SetItemText(*args, **kwargs):
584 """SetItemText(TreeItemId item, String text, int column=-1)"""
585 return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
586
587 def SetItemImage(*args, **kwargs):
588 """SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
589 return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
590
591 def GetItemData(*args, **kwargs):
592 """GetItemData(TreeItemId item) -> TreeItemData"""
593 return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
594
595 def SetItemData(*args, **kwargs):
596 """SetItemData(TreeItemId item, TreeItemData data)"""
597 return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
598
599 def GetItemPyData(*args, **kwargs):
600 """GetItemPyData(TreeItemId item) -> PyObject"""
601 return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
602
603 def SetItemPyData(*args, **kwargs):
604 """SetItemPyData(TreeItemId item, PyObject obj)"""
605 return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
606
607 def SetItemHasChildren(*args, **kwargs):
608 """SetItemHasChildren(TreeItemId item, bool has=True)"""
609 return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
610
611 def SetItemBold(*args, **kwargs):
612 """SetItemBold(TreeItemId item, bool bold=True)"""
613 return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
614
615 def SetItemTextColour(*args, **kwargs):
616 """SetItemTextColour(TreeItemId item, Colour col)"""
617 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
618
619 def SetItemBackgroundColour(*args, **kwargs):
620 """SetItemBackgroundColour(TreeItemId item, Colour col)"""
621 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
622
623 def SetItemFont(*args, **kwargs):
624 """SetItemFont(TreeItemId item, Font font)"""
625 return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
626
627 def GetItemBold(*args, **kwargs):
628 """GetItemBold(TreeItemId item) -> bool"""
629 return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
630
631 def GetItemTextColour(*args, **kwargs):
632 """GetItemTextColour(TreeItemId item) -> Colour"""
633 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
634
635 def GetItemBackgroundColour(*args, **kwargs):
636 """GetItemBackgroundColour(TreeItemId item) -> Colour"""
637 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
638
639 def GetItemFont(*args, **kwargs):
640 """GetItemFont(TreeItemId item) -> Font"""
641 return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
642
643 def IsVisible(*args, **kwargs):
644 """IsVisible(TreeItemId item) -> bool"""
645 return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
646
647 def ItemHasChildren(*args, **kwargs):
648 """ItemHasChildren(TreeItemId item) -> bool"""
649 return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
650
651 def IsExpanded(*args, **kwargs):
652 """IsExpanded(TreeItemId item) -> bool"""
653 return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
654
655 def IsSelected(*args, **kwargs):
656 """IsSelected(TreeItemId item) -> bool"""
657 return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
658
659 def IsBold(*args, **kwargs):
660 """IsBold(TreeItemId item) -> bool"""
661 return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
662
663 def GetChildrenCount(*args, **kwargs):
664 """GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t"""
665 return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
666
667 def GetRootItem(*args, **kwargs):
668 """GetRootItem() -> TreeItemId"""
669 return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
670
671 def GetSelection(*args, **kwargs):
672 """GetSelection() -> TreeItemId"""
673 return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
674
675 def GetSelections(*args, **kwargs):
676 """GetSelections() -> PyObject"""
677 return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
678
679 def GetItemParent(*args, **kwargs):
680 """GetItemParent(TreeItemId item) -> TreeItemId"""
681 return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
682
683 def GetFirstChild(*args, **kwargs):
684 """GetFirstChild(TreeItemId item) -> PyObject"""
685 return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
686
687 def GetNextChild(*args, **kwargs):
688 """GetNextChild(TreeItemId item, long cookie) -> PyObject"""
689 return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
690
691 def GetLastChild(*args, **kwargs):
692 """GetLastChild(TreeItemId item) -> TreeItemId"""
693 return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
694
695 def GetNextSibling(*args, **kwargs):
696 """GetNextSibling(TreeItemId item) -> TreeItemId"""
697 return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
698
699 def GetPrevSibling(*args, **kwargs):
700 """GetPrevSibling(TreeItemId item) -> TreeItemId"""
701 return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
702
703 def GetFirstVisibleItem(*args, **kwargs):
704 """GetFirstVisibleItem() -> TreeItemId"""
705 return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
706
707 def GetNextVisible(*args, **kwargs):
708 """GetNextVisible(TreeItemId item) -> TreeItemId"""
709 return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
710
711 def GetPrevVisible(*args, **kwargs):
712 """GetPrevVisible(TreeItemId item) -> TreeItemId"""
713 return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
714
715 def GetNext(*args, **kwargs):
716 """GetNext(TreeItemId item) -> TreeItemId"""
717 return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
718
719 def AddRoot(*args, **kwargs):
720 """AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
721 return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
722
723 def PrependItem(*args, **kwargs):
724 """
725 PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
726 TreeItemData data=None) -> TreeItemId
727 """
728 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
729
730 def InsertItem(*args, **kwargs):
731 """
732 InsertItem(TreeItemId parent, TreeItemId idPrevious, String text,
733 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
734 """
735 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
736
737 def InsertItemBefore(*args, **kwargs):
738 """
739 InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1,
740 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
741 """
742 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
743
744 def AppendItem(*args, **kwargs):
745 """
746 AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
747 TreeItemData data=None) -> TreeItemId
748 """
749 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
750
751 def Delete(*args, **kwargs):
752 """Delete(TreeItemId item)"""
753 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
754
755 def DeleteChildren(*args, **kwargs):
756 """DeleteChildren(TreeItemId item)"""
757 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
758
759 def DeleteAllItems(*args, **kwargs):
760 """DeleteAllItems()"""
761 return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
762
763 def Expand(*args, **kwargs):
764 """Expand(TreeItemId item)"""
765 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
766
767 def ExpandAll(*args, **kwargs):
768 """ExpandAll(TreeItemId item)"""
769 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
770
771 def Collapse(*args, **kwargs):
772 """Collapse(TreeItemId item)"""
773 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
774
775 def CollapseAndReset(*args, **kwargs):
776 """CollapseAndReset(TreeItemId item)"""
777 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
778
779 def Toggle(*args, **kwargs):
780 """Toggle(TreeItemId item)"""
781 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
782
783 def Unselect(*args, **kwargs):
784 """Unselect()"""
785 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
786
787 def UnselectAll(*args, **kwargs):
788 """UnselectAll()"""
789 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
790
791 def SelectItem(*args, **kwargs):
792 """SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
793 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
794
795 def EnsureVisible(*args, **kwargs):
796 """EnsureVisible(TreeItemId item)"""
797 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
798
799 def ScrollTo(*args, **kwargs):
800 """ScrollTo(TreeItemId item)"""
801 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
802
803 def HitTest(*args, **kwargs):
804 """HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
805 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
806
807 def GetBoundingRect(*args, **kwargs):
808 """GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
809 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
810
811 def EditLabel(*args, **kwargs):
812 """EditLabel(TreeItemId item)"""
813 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
814
815 def Edit(*args, **kwargs):
816 """Edit(TreeItemId item)"""
817 return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
818
819 def SortChildren(*args, **kwargs):
820 """SortChildren(TreeItemId item)"""
821 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
822
823 def GetItemSelectedImage(*args, **kwargs):
824 """GetItemSelectedImage(TreeItemId item) -> int"""
825 return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
826
827 def SetItemSelectedImage(*args, **kwargs):
828 """SetItemSelectedImage(TreeItemId item, int image)"""
829 return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
830
831 def GetHeaderWindow(*args, **kwargs):
832 """GetHeaderWindow() -> Window"""
833 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
834
835 def GetMainWindow(*args, **kwargs):
836 """GetMainWindow() -> Window"""
837 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
838
839
840 class TreeListCtrlPtr(TreeListCtrl):
841 def __init__(self, this):
842 self.this = this
843 if not hasattr(self,"thisown"): self.thisown = 0
844 self.__class__ = TreeListCtrl
845 _gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
846
847 def PreTreeListCtrl(*args, **kwargs):
848 """PreTreeListCtrl() -> TreeListCtrl"""
849 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
850 val.thisown = 1
851 return val
852
853