]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gtk/gizmos.py
Fixes so bg colors in a notebook on XP are visible again
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / 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 GetPyData = GetItemPyData
610 SetPyData = SetItemPyData
611 def SetItemHasChildren(*args, **kwargs):
612 """SetItemHasChildren(TreeItemId item, bool has=True)"""
613 return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
614
615 def SetItemBold(*args, **kwargs):
616 """SetItemBold(TreeItemId item, bool bold=True)"""
617 return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
618
619 def SetItemTextColour(*args, **kwargs):
620 """SetItemTextColour(TreeItemId item, Colour col)"""
621 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
622
623 def SetItemBackgroundColour(*args, **kwargs):
624 """SetItemBackgroundColour(TreeItemId item, Colour col)"""
625 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
626
627 def SetItemFont(*args, **kwargs):
628 """SetItemFont(TreeItemId item, Font font)"""
629 return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
630
631 def GetItemBold(*args, **kwargs):
632 """GetItemBold(TreeItemId item) -> bool"""
633 return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
634
635 def GetItemTextColour(*args, **kwargs):
636 """GetItemTextColour(TreeItemId item) -> Colour"""
637 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
638
639 def GetItemBackgroundColour(*args, **kwargs):
640 """GetItemBackgroundColour(TreeItemId item) -> Colour"""
641 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
642
643 def GetItemFont(*args, **kwargs):
644 """GetItemFont(TreeItemId item) -> Font"""
645 return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
646
647 def IsVisible(*args, **kwargs):
648 """IsVisible(TreeItemId item) -> bool"""
649 return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
650
651 def ItemHasChildren(*args, **kwargs):
652 """ItemHasChildren(TreeItemId item) -> bool"""
653 return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
654
655 def IsExpanded(*args, **kwargs):
656 """IsExpanded(TreeItemId item) -> bool"""
657 return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
658
659 def IsSelected(*args, **kwargs):
660 """IsSelected(TreeItemId item) -> bool"""
661 return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
662
663 def IsBold(*args, **kwargs):
664 """IsBold(TreeItemId item) -> bool"""
665 return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
666
667 def GetChildrenCount(*args, **kwargs):
668 """GetChildrenCount(TreeItemId item, bool recursively=True) -> size_t"""
669 return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
670
671 def GetRootItem(*args, **kwargs):
672 """GetRootItem() -> TreeItemId"""
673 return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
674
675 def GetSelection(*args, **kwargs):
676 """GetSelection() -> TreeItemId"""
677 return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
678
679 def GetSelections(*args, **kwargs):
680 """GetSelections() -> PyObject"""
681 return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
682
683 def GetItemParent(*args, **kwargs):
684 """GetItemParent(TreeItemId item) -> TreeItemId"""
685 return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
686
687 def GetFirstChild(*args, **kwargs):
688 """GetFirstChild(TreeItemId item) -> PyObject"""
689 return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
690
691 def GetNextChild(*args, **kwargs):
692 """GetNextChild(TreeItemId item, long cookie) -> PyObject"""
693 return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
694
695 def GetLastChild(*args, **kwargs):
696 """GetLastChild(TreeItemId item) -> TreeItemId"""
697 return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
698
699 def GetNextSibling(*args, **kwargs):
700 """GetNextSibling(TreeItemId item) -> TreeItemId"""
701 return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
702
703 def GetPrevSibling(*args, **kwargs):
704 """GetPrevSibling(TreeItemId item) -> TreeItemId"""
705 return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
706
707 def GetFirstVisibleItem(*args, **kwargs):
708 """GetFirstVisibleItem() -> TreeItemId"""
709 return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
710
711 def GetNextVisible(*args, **kwargs):
712 """GetNextVisible(TreeItemId item) -> TreeItemId"""
713 return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
714
715 def GetPrevVisible(*args, **kwargs):
716 """GetPrevVisible(TreeItemId item) -> TreeItemId"""
717 return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
718
719 def GetNext(*args, **kwargs):
720 """GetNext(TreeItemId item) -> TreeItemId"""
721 return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
722
723 def AddRoot(*args, **kwargs):
724 """AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
725 return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
726
727 def PrependItem(*args, **kwargs):
728 """
729 PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
730 TreeItemData data=None) -> TreeItemId
731 """
732 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
733
734 def InsertItem(*args, **kwargs):
735 """
736 InsertItem(TreeItemId parent, TreeItemId idPrevious, String text,
737 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
738 """
739 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
740
741 def InsertItemBefore(*args, **kwargs):
742 """
743 InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1,
744 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
745 """
746 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
747
748 def AppendItem(*args, **kwargs):
749 """
750 AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1,
751 TreeItemData data=None) -> TreeItemId
752 """
753 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
754
755 def Delete(*args, **kwargs):
756 """Delete(TreeItemId item)"""
757 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
758
759 def DeleteChildren(*args, **kwargs):
760 """DeleteChildren(TreeItemId item)"""
761 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
762
763 def DeleteAllItems(*args, **kwargs):
764 """DeleteAllItems()"""
765 return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
766
767 def Expand(*args, **kwargs):
768 """Expand(TreeItemId item)"""
769 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
770
771 def ExpandAll(*args, **kwargs):
772 """ExpandAll(TreeItemId item)"""
773 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
774
775 def Collapse(*args, **kwargs):
776 """Collapse(TreeItemId item)"""
777 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
778
779 def CollapseAndReset(*args, **kwargs):
780 """CollapseAndReset(TreeItemId item)"""
781 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
782
783 def Toggle(*args, **kwargs):
784 """Toggle(TreeItemId item)"""
785 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
786
787 def Unselect(*args, **kwargs):
788 """Unselect()"""
789 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
790
791 def UnselectAll(*args, **kwargs):
792 """UnselectAll()"""
793 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
794
795 def SelectItem(*args, **kwargs):
796 """SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
797 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
798
799 def EnsureVisible(*args, **kwargs):
800 """EnsureVisible(TreeItemId item)"""
801 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
802
803 def ScrollTo(*args, **kwargs):
804 """ScrollTo(TreeItemId item)"""
805 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
806
807 def HitTest(*args, **kwargs):
808 """HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
809 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
810
811 def GetBoundingRect(*args, **kwargs):
812 """GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
813 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
814
815 def EditLabel(*args, **kwargs):
816 """EditLabel(TreeItemId item)"""
817 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
818
819 def Edit(*args, **kwargs):
820 """Edit(TreeItemId item)"""
821 return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
822
823 def SortChildren(*args, **kwargs):
824 """SortChildren(TreeItemId item)"""
825 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
826
827 def GetItemSelectedImage(*args, **kwargs):
828 """GetItemSelectedImage(TreeItemId item) -> int"""
829 return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
830
831 def SetItemSelectedImage(*args, **kwargs):
832 """SetItemSelectedImage(TreeItemId item, int image)"""
833 return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
834
835 def GetHeaderWindow(*args, **kwargs):
836 """GetHeaderWindow() -> Window"""
837 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
838
839 def GetMainWindow(*args, **kwargs):
840 """GetMainWindow() -> Window"""
841 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
842
843
844 class TreeListCtrlPtr(TreeListCtrl):
845 def __init__(self, this):
846 self.this = this
847 if not hasattr(self,"thisown"): self.thisown = 0
848 self.__class__ = TreeListCtrl
849 _gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
850
851 def PreTreeListCtrl(*args, **kwargs):
852 """PreTreeListCtrl() -> TreeListCtrl"""
853 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
854 val.thisown = 1
855 return val
856
857