]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos.py
Add GetMaxTotalWidth
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 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 Do the 2nd phase and create the GUI control.
434 """
435 return _gizmos.TreeListCtrl_Create(*args, **kwargs)
436
437 def _setCallbackInfo(*args, **kwargs):
438 """_setCallbackInfo(PyObject self, PyObject _class)"""
439 return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
440
441 def GetCount(*args, **kwargs):
442 """GetCount() -> size_t"""
443 return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
444
445 def GetIndent(*args, **kwargs):
446 """GetIndent() -> unsigned int"""
447 return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
448
449 def SetIndent(*args, **kwargs):
450 """SetIndent(unsigned int indent)"""
451 return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
452
453 def GetSpacing(*args, **kwargs):
454 """GetSpacing() -> unsigned int"""
455 return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
456
457 def SetSpacing(*args, **kwargs):
458 """SetSpacing(unsigned int spacing)"""
459 return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
460
461 def GetLineSpacing(*args, **kwargs):
462 """GetLineSpacing() -> unsigned int"""
463 return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
464
465 def SetLineSpacing(*args, **kwargs):
466 """SetLineSpacing(unsigned int spacing)"""
467 return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
468
469 def GetImageList(*args, **kwargs):
470 """GetImageList() -> ImageList"""
471 return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
472
473 def GetStateImageList(*args, **kwargs):
474 """GetStateImageList() -> ImageList"""
475 return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
476
477 def GetButtonsImageList(*args, **kwargs):
478 """GetButtonsImageList() -> ImageList"""
479 return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
480
481 def SetImageList(*args, **kwargs):
482 """SetImageList(ImageList imageList)"""
483 return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
484
485 def SetStateImageList(*args, **kwargs):
486 """SetStateImageList(ImageList imageList)"""
487 return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
488
489 def SetButtonsImageList(*args, **kwargs):
490 """SetButtonsImageList(ImageList imageList)"""
491 return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
492
493 def AssignImageList(*args, **kwargs):
494 """AssignImageList(ImageList imageList)"""
495 return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
496
497 def AssignStateImageList(*args, **kwargs):
498 """AssignStateImageList(ImageList imageList)"""
499 return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
500
501 def AssignButtonsImageList(*args, **kwargs):
502 """AssignButtonsImageList(ImageList imageList)"""
503 return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
504
505 def AddColumn(*args, **kwargs):
506 """AddColumn(String text)"""
507 return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
508
509 def AddColumnInfo(*args, **kwargs):
510 """AddColumnInfo(TreeListColumnInfo col)"""
511 return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
512
513 def InsertColumn(*args, **kwargs):
514 """InsertColumn(size_t before, String text)"""
515 return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
516
517 def InsertColumnInfo(*args, **kwargs):
518 """InsertColumnInfo(size_t before, TreeListColumnInfo col)"""
519 return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
520
521 def RemoveColumn(*args, **kwargs):
522 """RemoveColumn(size_t column)"""
523 return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
524
525 def GetColumnCount(*args, **kwargs):
526 """GetColumnCount() -> size_t"""
527 return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
528
529 def SetColumnWidth(*args, **kwargs):
530 """SetColumnWidth(size_t column, size_t width)"""
531 return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
532
533 def GetColumnWidth(*args, **kwargs):
534 """GetColumnWidth(size_t column) -> int"""
535 return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
536
537 def SetMainColumn(*args, **kwargs):
538 """SetMainColumn(size_t column)"""
539 return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
540
541 def GetMainColumn(*args, **kwargs):
542 """GetMainColumn() -> size_t"""
543 return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
544
545 def SetColumnText(*args, **kwargs):
546 """SetColumnText(size_t column, String text)"""
547 return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
548
549 def GetColumnText(*args, **kwargs):
550 """GetColumnText(size_t column) -> String"""
551 return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
552
553 def SetColumn(*args, **kwargs):
554 """SetColumn(size_t column, TreeListColumnInfo info)"""
555 return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
556
557 def GetColumn(*args, **kwargs):
558 """GetColumn(size_t column) -> TreeListColumnInfo"""
559 return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
560
561 def SetColumnAlignment(*args, **kwargs):
562 """SetColumnAlignment(size_t column, int align)"""
563 return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
564
565 def GetColumnAlignment(*args, **kwargs):
566 """GetColumnAlignment(size_t column) -> int"""
567 return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
568
569 def SetColumnImage(*args, **kwargs):
570 """SetColumnImage(size_t column, int image)"""
571 return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
572
573 def GetColumnImage(*args, **kwargs):
574 """GetColumnImage(size_t column) -> int"""
575 return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
576
577 def GetItemText(*args, **kwargs):
578 """GetItemText(TreeItemId item, int column=-1) -> String"""
579 return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
580
581 def GetItemImage(*args, **kwargs):
582 """GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
583 return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
584
585 def SetItemText(*args, **kwargs):
586 """SetItemText(TreeItemId item, String text, int column=-1)"""
587 return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
588
589 def SetItemImage(*args, **kwargs):
590 """SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
591 return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
592
593 def GetItemData(*args, **kwargs):
594 """GetItemData(TreeItemId item) -> TreeItemData"""
595 return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
596
597 def SetItemData(*args, **kwargs):
598 """SetItemData(TreeItemId item, TreeItemData data)"""
599 return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
600
601 def GetItemPyData(*args, **kwargs):
602 """GetItemPyData(TreeItemId item) -> PyObject"""
603 return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
604
605 def SetItemPyData(*args, **kwargs):
606 """SetItemPyData(TreeItemId item, PyObject obj)"""
607 return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
608
609 def SetItemHasChildren(*args, **kwargs):
610 """SetItemHasChildren(TreeItemId item, bool has=True)"""
611 return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
612
613 def SetItemBold(*args, **kwargs):
614 """SetItemBold(TreeItemId item, bool bold=True)"""
615 return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
616
617 def SetItemTextColour(*args, **kwargs):
618 """SetItemTextColour(TreeItemId item, Colour col)"""
619 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
620
621 def SetItemBackgroundColour(*args, **kwargs):
622 """SetItemBackgroundColour(TreeItemId item, Colour col)"""
623 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
624
625 def SetItemFont(*args, **kwargs):
626 """SetItemFont(TreeItemId item, Font font)"""
627 return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
628
629 def GetItemBold(*args, **kwargs):
630 """GetItemBold(TreeItemId item) -> bool"""
631 return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
632
633 def GetItemTextColour(*args, **kwargs):
634 """GetItemTextColour(TreeItemId item) -> Colour"""
635 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
636
637 def GetItemBackgroundColour(*args, **kwargs):
638 """GetItemBackgroundColour(TreeItemId item) -> Colour"""
639 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
640
641 def GetItemFont(*args, **kwargs):
642 """GetItemFont(TreeItemId item) -> Font"""
643 return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
644
645 def IsVisible(*args, **kwargs):
646 """IsVisible(TreeItemId item) -> bool"""
647 return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
648
649 def ItemHasChildren(*args, **kwargs):
650 """ItemHasChildren(TreeItemId item) -> bool"""
651 return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
652
653 def IsExpanded(*args, **kwargs):
654 """IsExpanded(TreeItemId item) -> bool"""
655 return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
656
657 def IsSelected(*args, **kwargs):
658 """IsSelected(TreeItemId item) -> bool"""
659 return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
660
661 def IsBold(*args, **kwargs):
662 """IsBold(TreeItemId item) -> bool"""
663 return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
664
665 def GetChildrenCount(*args, **kwargs):
666 """GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t"""
667 return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
668
669 def GetRootItem(*args, **kwargs):
670 """GetRootItem() -> TreeItemId"""
671 return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
672
673 def GetSelection(*args, **kwargs):
674 """GetSelection() -> TreeItemId"""
675 return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
676
677 def GetSelections(*args, **kwargs):
678 """GetSelections() -> PyObject"""
679 return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
680
681 def GetItemParent(*args, **kwargs):
682 """GetItemParent(TreeItemId item) -> TreeItemId"""
683 return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
684
685 def GetFirstChild(*args, **kwargs):
686 """GetFirstChild(TreeItemId item) -> PyObject"""
687 return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
688
689 def GetNextChild(*args, **kwargs):
690 """GetNextChild(TreeItemId item, long cookie) -> PyObject"""
691 return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
692
693 def GetLastChild(*args, **kwargs):
694 """GetLastChild(TreeItemId item) -> TreeItemId"""
695 return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
696
697 def GetNextSibling(*args, **kwargs):
698 """GetNextSibling(TreeItemId item) -> TreeItemId"""
699 return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
700
701 def GetPrevSibling(*args, **kwargs):
702 """GetPrevSibling(TreeItemId item) -> TreeItemId"""
703 return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
704
705 def GetFirstVisibleItem(*args, **kwargs):
706 """GetFirstVisibleItem() -> TreeItemId"""
707 return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
708
709 def GetNextVisible(*args, **kwargs):
710 """GetNextVisible(TreeItemId item) -> TreeItemId"""
711 return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
712
713 def GetPrevVisible(*args, **kwargs):
714 """GetPrevVisible(TreeItemId item) -> TreeItemId"""
715 return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
716
717 def GetNext(*args, **kwargs):
718 """GetNext(TreeItemId item) -> TreeItemId"""
719 return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
720
721 def AddRoot(*args, **kwargs):
722 """AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
723 return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
724
725 def PrependItem(*args, **kwargs):
726 """
727 PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
728 TreeItemData data=None) -> TreeItemId
729 """
730 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
731
732 def InsertItem(*args, **kwargs):
733 """
734 InsertItem(TreeItemId parent, TreeItemId idPrevious, String text,
735 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
736 """
737 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
738
739 def InsertItemBefore(*args, **kwargs):
740 """
741 InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1,
742 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
743 """
744 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
745
746 def AppendItem(*args, **kwargs):
747 """
748 AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
749 TreeItemData data=None) -> TreeItemId
750 """
751 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
752
753 def Delete(*args, **kwargs):
754 """Delete(TreeItemId item)"""
755 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
756
757 def DeleteChildren(*args, **kwargs):
758 """DeleteChildren(TreeItemId item)"""
759 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
760
761 def DeleteAllItems(*args, **kwargs):
762 """DeleteAllItems()"""
763 return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
764
765 def Expand(*args, **kwargs):
766 """Expand(TreeItemId item)"""
767 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
768
769 def ExpandAll(*args, **kwargs):
770 """ExpandAll(TreeItemId item)"""
771 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
772
773 def Collapse(*args, **kwargs):
774 """Collapse(TreeItemId item)"""
775 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
776
777 def CollapseAndReset(*args, **kwargs):
778 """CollapseAndReset(TreeItemId item)"""
779 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
780
781 def Toggle(*args, **kwargs):
782 """Toggle(TreeItemId item)"""
783 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
784
785 def Unselect(*args, **kwargs):
786 """Unselect()"""
787 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
788
789 def UnselectAll(*args, **kwargs):
790 """UnselectAll()"""
791 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
792
793 def SelectItem(*args, **kwargs):
794 """SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
795 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
796
797 def EnsureVisible(*args, **kwargs):
798 """EnsureVisible(TreeItemId item)"""
799 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
800
801 def ScrollTo(*args, **kwargs):
802 """ScrollTo(TreeItemId item)"""
803 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
804
805 def HitTest(*args, **kwargs):
806 """HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
807 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
808
809 def GetBoundingRect(*args, **kwargs):
810 """GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
811 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
812
813 def EditLabel(*args, **kwargs):
814 """EditLabel(TreeItemId item)"""
815 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
816
817 def Edit(*args, **kwargs):
818 """Edit(TreeItemId item)"""
819 return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
820
821 def SortChildren(*args, **kwargs):
822 """SortChildren(TreeItemId item)"""
823 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
824
825 def GetItemSelectedImage(*args, **kwargs):
826 """GetItemSelectedImage(TreeItemId item) -> int"""
827 return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
828
829 def SetItemSelectedImage(*args, **kwargs):
830 """SetItemSelectedImage(TreeItemId item, int image)"""
831 return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
832
833 def GetHeaderWindow(*args, **kwargs):
834 """GetHeaderWindow() -> Window"""
835 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
836
837 def GetMainWindow(*args, **kwargs):
838 """GetMainWindow() -> Window"""
839 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
840
841
842 class TreeListCtrlPtr(TreeListCtrl):
843 def __init__(self, this):
844 self.this = this
845 if not hasattr(self,"thisown"): self.thisown = 0
846 self.__class__ = TreeListCtrl
847 _gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
848
849 def PreTreeListCtrl(*args, **kwargs):
850 """PreTreeListCtrl() -> TreeListCtrl"""
851 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
852 val.thisown = 1
853 return val
854
855