]> 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
31 class DynamicSashUnifyEvent(core.CommandEvent):
32 def __repr__(self):
33 return "<%s.%s; proxy of C++ wxDynamicSashUnifyEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
34 def __init__(self, *args, **kwargs):
35 """__init__(Object target) -> DynamicSashUnifyEvent"""
36 newobj = _gizmos.new_DynamicSashUnifyEvent(*args, **kwargs)
37 self.this = newobj.this
38 self.thisown = 1
39 del newobj.thisown
40
41 class DynamicSashUnifyEventPtr(DynamicSashUnifyEvent):
42 def __init__(self, this):
43 self.this = this
44 if not hasattr(self,"thisown"): self.thisown = 0
45 self.__class__ = DynamicSashUnifyEvent
46 _gizmos.DynamicSashUnifyEvent_swigregister(DynamicSashUnifyEventPtr)
47
48 class DynamicSashWindow(core.Window):
49 def __repr__(self):
50 return "<%s.%s; proxy of C++ wxDynamicSashWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
51 def __init__(self, *args, **kwargs):
52 """
53 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
54 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
55 wxString name=wxPyDynamicSashNameStr) -> DynamicSashWindow
56 """
57 newobj = _gizmos.new_DynamicSashWindow(*args, **kwargs)
58 self.this = newobj.this
59 self.thisown = 1
60 del newobj.thisown
61 self._setOORInfo(self)
62
63 def Create(*args, **kwargs):
64 """
65 Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
66 long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER,
67 wxString name=wxPyDynamicSashNameStr) -> bool
68 """
69 return _gizmos.DynamicSashWindow_Create(*args, **kwargs)
70
71 def GetHScrollBar(*args, **kwargs):
72 """GetHScrollBar(Window child) -> ScrollBar"""
73 return _gizmos.DynamicSashWindow_GetHScrollBar(*args, **kwargs)
74
75 def GetVScrollBar(*args, **kwargs):
76 """GetVScrollBar(Window child) -> ScrollBar"""
77 return _gizmos.DynamicSashWindow_GetVScrollBar(*args, **kwargs)
78
79
80 class DynamicSashWindowPtr(DynamicSashWindow):
81 def __init__(self, this):
82 self.this = this
83 if not hasattr(self,"thisown"): self.thisown = 0
84 self.__class__ = DynamicSashWindow
85 _gizmos.DynamicSashWindow_swigregister(DynamicSashWindowPtr)
86
87 def PreDynamicSashWindow(*args, **kwargs):
88 """PreDynamicSashWindow() -> DynamicSashWindow"""
89 val = _gizmos.new_PreDynamicSashWindow(*args, **kwargs)
90 val.thisown = 1
91 return val
92
93 EVT_DYNAMIC_SASH_SPLIT = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT, 1 )
94 EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
95
96 EL_ALLOW_NEW = _gizmos.EL_ALLOW_NEW
97 EL_ALLOW_EDIT = _gizmos.EL_ALLOW_EDIT
98 EL_ALLOW_DELETE = _gizmos.EL_ALLOW_DELETE
99 class EditableListBox(windows.Panel):
100 def __repr__(self):
101 return "<%s.%s; proxy of C++ wxEditableListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
102 def __init__(self, *args, **kwargs):
103 """
104 __init__(Window parent, int id, wxString label, Point pos=DefaultPosition,
105 Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE,
106 wxString name=wxPyEditableListBoxNameStr) -> EditableListBox
107 """
108 newobj = _gizmos.new_EditableListBox(*args, **kwargs)
109 self.this = newobj.this
110 self.thisown = 1
111 del newobj.thisown
112 self._setOORInfo(self)
113
114 def SetStrings(*args, **kwargs):
115 """SetStrings(wxArrayString strings)"""
116 return _gizmos.EditableListBox_SetStrings(*args, **kwargs)
117
118 def GetStrings(*args, **kwargs):
119 """GetStrings() -> PyObject"""
120 return _gizmos.EditableListBox_GetStrings(*args, **kwargs)
121
122 def GetListCtrl(*args, **kwargs):
123 """GetListCtrl() -> wxListCtrl"""
124 return _gizmos.EditableListBox_GetListCtrl(*args, **kwargs)
125
126 def GetDelButton(*args, **kwargs):
127 """GetDelButton() -> BitmapButton"""
128 return _gizmos.EditableListBox_GetDelButton(*args, **kwargs)
129
130 def GetNewButton(*args, **kwargs):
131 """GetNewButton() -> BitmapButton"""
132 return _gizmos.EditableListBox_GetNewButton(*args, **kwargs)
133
134 def GetUpButton(*args, **kwargs):
135 """GetUpButton() -> BitmapButton"""
136 return _gizmos.EditableListBox_GetUpButton(*args, **kwargs)
137
138 def GetDownButton(*args, **kwargs):
139 """GetDownButton() -> BitmapButton"""
140 return _gizmos.EditableListBox_GetDownButton(*args, **kwargs)
141
142 def GetEditButton(*args, **kwargs):
143 """GetEditButton() -> BitmapButton"""
144 return _gizmos.EditableListBox_GetEditButton(*args, **kwargs)
145
146
147 class EditableListBoxPtr(EditableListBox):
148 def __init__(self, this):
149 self.this = this
150 if not hasattr(self,"thisown"): self.thisown = 0
151 self.__class__ = EditableListBox
152 _gizmos.EditableListBox_swigregister(EditableListBoxPtr)
153
154 class RemotelyScrolledTreeCtrl(controls.TreeCtrl):
155 def __repr__(self):
156 return "<%s.%s; proxy of C++ wxRemotelyScrolledTreeCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
157 def __init__(self, *args, **kwargs):
158 """
159 __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
160 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
161 """
162 newobj = _gizmos.new_RemotelyScrolledTreeCtrl(*args, **kwargs)
163 self.this = newobj.this
164 self.thisown = 1
165 del newobj.thisown
166 self._setOORInfo(self)
167
168 def HideVScrollbar(*args, **kwargs):
169 """HideVScrollbar()"""
170 return _gizmos.RemotelyScrolledTreeCtrl_HideVScrollbar(*args, **kwargs)
171
172 def AdjustRemoteScrollbars(*args, **kwargs):
173 """AdjustRemoteScrollbars()"""
174 return _gizmos.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args, **kwargs)
175
176 def GetScrolledWindow(*args, **kwargs):
177 """GetScrolledWindow() -> ScrolledWindow"""
178 return _gizmos.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args, **kwargs)
179
180 def ScrollToLine(*args, **kwargs):
181 """ScrollToLine(int posHoriz, int posVert)"""
182 return _gizmos.RemotelyScrolledTreeCtrl_ScrollToLine(*args, **kwargs)
183
184 def SetCompanionWindow(*args, **kwargs):
185 """SetCompanionWindow(Window companion)"""
186 return _gizmos.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args, **kwargs)
187
188 def GetCompanionWindow(*args, **kwargs):
189 """GetCompanionWindow() -> Window"""
190 return _gizmos.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args, **kwargs)
191
192
193 class RemotelyScrolledTreeCtrlPtr(RemotelyScrolledTreeCtrl):
194 def __init__(self, this):
195 self.this = this
196 if not hasattr(self,"thisown"): self.thisown = 0
197 self.__class__ = RemotelyScrolledTreeCtrl
198 _gizmos.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrlPtr)
199
200 class TreeCompanionWindow(core.Window):
201 def __repr__(self):
202 return "<%s.%s; proxy of C++ wxPyTreeCompanionWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
203 def __init__(self, *args, **kwargs):
204 """
205 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
206 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
207 """
208 newobj = _gizmos.new_TreeCompanionWindow(*args, **kwargs)
209 self.this = newobj.this
210 self.thisown = 1
211 del newobj.thisown
212 self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)
213
214 def _setCallbackInfo(*args, **kwargs):
215 """_setCallbackInfo(PyObject self, PyObject _class)"""
216 return _gizmos.TreeCompanionWindow__setCallbackInfo(*args, **kwargs)
217
218 def GetTreeCtrl(*args, **kwargs):
219 """GetTreeCtrl() -> RemotelyScrolledTreeCtrl"""
220 return _gizmos.TreeCompanionWindow_GetTreeCtrl(*args, **kwargs)
221
222 def SetTreeCtrl(*args, **kwargs):
223 """SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)"""
224 return _gizmos.TreeCompanionWindow_SetTreeCtrl(*args, **kwargs)
225
226
227 class TreeCompanionWindowPtr(TreeCompanionWindow):
228 def __init__(self, this):
229 self.this = this
230 if not hasattr(self,"thisown"): self.thisown = 0
231 self.__class__ = TreeCompanionWindow
232 _gizmos.TreeCompanionWindow_swigregister(TreeCompanionWindowPtr)
233
234 class ThinSplitterWindow(windows.SplitterWindow):
235 def __repr__(self):
236 return "<%s.%s; proxy of C++ wxThinSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
237 def __init__(self, *args, **kwargs):
238 """
239 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
240 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
241 """
242 newobj = _gizmos.new_ThinSplitterWindow(*args, **kwargs)
243 self.this = newobj.this
244 self.thisown = 1
245 del newobj.thisown
246 self._setOORInfo(self)
247
248
249 class ThinSplitterWindowPtr(ThinSplitterWindow):
250 def __init__(self, this):
251 self.this = this
252 if not hasattr(self,"thisown"): self.thisown = 0
253 self.__class__ = ThinSplitterWindow
254 _gizmos.ThinSplitterWindow_swigregister(ThinSplitterWindowPtr)
255
256 class SplitterScrolledWindow(windows.ScrolledWindow):
257 def __repr__(self):
258 return "<%s.%s; proxy of C++ wxSplitterScrolledWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
259 def __init__(self, *args, **kwargs):
260 """
261 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
262 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
263 """
264 newobj = _gizmos.new_SplitterScrolledWindow(*args, **kwargs)
265 self.this = newobj.this
266 self.thisown = 1
267 del newobj.thisown
268 self._setOORInfo(self)
269
270
271 class SplitterScrolledWindowPtr(SplitterScrolledWindow):
272 def __init__(self, this):
273 self.this = this
274 if not hasattr(self,"thisown"): self.thisown = 0
275 self.__class__ = SplitterScrolledWindow
276 _gizmos.SplitterScrolledWindow_swigregister(SplitterScrolledWindowPtr)
277
278 LED_ALIGN_LEFT = _gizmos.LED_ALIGN_LEFT
279 LED_ALIGN_RIGHT = _gizmos.LED_ALIGN_RIGHT
280 LED_ALIGN_CENTER = _gizmos.LED_ALIGN_CENTER
281 LED_ALIGN_MASK = _gizmos.LED_ALIGN_MASK
282 LED_DRAW_FADED = _gizmos.LED_DRAW_FADED
283 class LEDNumberCtrl(core.Control):
284 def __repr__(self):
285 return "<%s.%s; proxy of C++ wxLEDNumberCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
286 def __init__(self, *args, **kwargs):
287 """
288 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
289 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
290 """
291 newobj = _gizmos.new_LEDNumberCtrl(*args, **kwargs)
292 self.this = newobj.this
293 self.thisown = 1
294 del newobj.thisown
295 self._setOORInfo(self)
296
297 def Create(*args, **kwargs):
298 """
299 Create(Window parent, int id=-1, Point pos=DefaultPosition,
300 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
301 """
302 return _gizmos.LEDNumberCtrl_Create(*args, **kwargs)
303
304 def GetAlignment(*args, **kwargs):
305 """GetAlignment() -> wxLEDValueAlign"""
306 return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
307
308 def GetDrawFaded(*args, **kwargs):
309 """GetDrawFaded() -> bool"""
310 return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
311
312 def GetValue(*args, **kwargs):
313 """GetValue() -> wxString"""
314 return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
315
316 def SetAlignment(*args, **kwargs):
317 """SetAlignment(wxLEDValueAlign Alignment, bool Redraw=true)"""
318 return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
319
320 def SetDrawFaded(*args, **kwargs):
321 """SetDrawFaded(bool DrawFaded, bool Redraw=true)"""
322 return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
323
324 def SetValue(*args, **kwargs):
325 """SetValue(wxString Value, bool Redraw=true)"""
326 return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
327
328
329 class LEDNumberCtrlPtr(LEDNumberCtrl):
330 def __init__(self, this):
331 self.this = this
332 if not hasattr(self,"thisown"): self.thisown = 0
333 self.__class__ = LEDNumberCtrl
334 _gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrlPtr)
335
336 def PreLEDNumberCtrl(*args, **kwargs):
337 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
338 val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
339 val.thisown = 1
340 return val
341
342 TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT
343 TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT
344 TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER
345 TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN
346 class TreeListColumnInfo(core.Object):
347 def __repr__(self):
348 return "<%s.%s; proxy of C++ wxTreeListColumnInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
349 def __init__(self, *args, **kwargs):
350 """
351 __init__(wxString text=wxPyEmptyString, int image=-1, size_t width=100,
352 wxTreeListColumnAlign alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
353 """
354 newobj = _gizmos.new_TreeListColumnInfo(*args, **kwargs)
355 self.this = newobj.this
356 self.thisown = 1
357 del newobj.thisown
358 def GetAlignment(*args, **kwargs):
359 """GetAlignment() -> wxTreeListColumnAlign"""
360 return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
361
362 def GetText(*args, **kwargs):
363 """GetText() -> wxString"""
364 return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
365
366 def GetImage(*args, **kwargs):
367 """GetImage() -> int"""
368 return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
369
370 def GetSelectedImage(*args, **kwargs):
371 """GetSelectedImage() -> int"""
372 return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
373
374 def GetWidth(*args, **kwargs):
375 """GetWidth() -> size_t"""
376 return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
377
378 def SetAlignment(*args, **kwargs):
379 """SetAlignment(wxTreeListColumnAlign alignment)"""
380 return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
381
382 def SetText(*args, **kwargs):
383 """SetText(wxString text)"""
384 return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
385
386 def SetImage(*args, **kwargs):
387 """SetImage(int image)"""
388 return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
389
390 def SetSelectedImage(*args, **kwargs):
391 """SetSelectedImage(int image)"""
392 return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
393
394 def SetWidth(*args, **kwargs):
395 """SetWidth(size_t with)"""
396 return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
397
398
399 class TreeListColumnInfoPtr(TreeListColumnInfo):
400 def __init__(self, this):
401 self.this = this
402 if not hasattr(self,"thisown"): self.thisown = 0
403 self.__class__ = TreeListColumnInfo
404 _gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfoPtr)
405
406 class TreeListCtrl(core.Control):
407 def __repr__(self):
408 return "<%s.%s; proxy of C++ wxPyTreeListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
409 def __init__(self, *args, **kwargs):
410 """
411 __init__(Window parent, int id=-1, Point pos=DefaultPosition,
412 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
413 Validator validator=DefaultValidator,
414 wxString name=wxPyTreeListCtrlNameStr) -> TreeListCtrl
415 """
416 newobj = _gizmos.new_TreeListCtrl(*args, **kwargs)
417 self.this = newobj.this
418 self.thisown = 1
419 del newobj.thisown
420 self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
421
422 def Create(*args, **kwargs):
423 """
424 Create(Window parent, int id=-1, Point pos=DefaultPosition,
425 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
426 Validator validator=DefaultValidator,
427 wxString name=wxPyTreeListCtrlNameStr) -> bool
428 """
429 return _gizmos.TreeListCtrl_Create(*args, **kwargs)
430
431 def _setCallbackInfo(*args, **kwargs):
432 """_setCallbackInfo(PyObject self, PyObject _class)"""
433 return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
434
435 def GetCount(*args, **kwargs):
436 """GetCount() -> size_t"""
437 return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
438
439 def GetIndent(*args, **kwargs):
440 """GetIndent() -> unsigned int"""
441 return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
442
443 def SetIndent(*args, **kwargs):
444 """SetIndent(unsigned int indent)"""
445 return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
446
447 def GetSpacing(*args, **kwargs):
448 """GetSpacing() -> unsigned int"""
449 return _gizmos.TreeListCtrl_GetSpacing(*args, **kwargs)
450
451 def SetSpacing(*args, **kwargs):
452 """SetSpacing(unsigned int spacing)"""
453 return _gizmos.TreeListCtrl_SetSpacing(*args, **kwargs)
454
455 def GetLineSpacing(*args, **kwargs):
456 """GetLineSpacing() -> unsigned int"""
457 return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
458
459 def SetLineSpacing(*args, **kwargs):
460 """SetLineSpacing(unsigned int spacing)"""
461 return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
462
463 def GetImageList(*args, **kwargs):
464 """GetImageList() -> wxImageList"""
465 return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
466
467 def GetStateImageList(*args, **kwargs):
468 """GetStateImageList() -> wxImageList"""
469 return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
470
471 def GetButtonsImageList(*args, **kwargs):
472 """GetButtonsImageList() -> wxImageList"""
473 return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
474
475 def SetImageList(*args, **kwargs):
476 """SetImageList(wxImageList imageList)"""
477 return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
478
479 def SetStateImageList(*args, **kwargs):
480 """SetStateImageList(wxImageList imageList)"""
481 return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
482
483 def SetButtonsImageList(*args, **kwargs):
484 """SetButtonsImageList(wxImageList imageList)"""
485 return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
486
487 def AssignImageList(*args, **kwargs):
488 """AssignImageList(wxImageList imageList)"""
489 val = _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
490 args[1].thisown = 0
491 return val
492
493 def AssignStateImageList(*args, **kwargs):
494 """AssignStateImageList(wxImageList imageList)"""
495 val = _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
496 args[1].thisown = 0
497 return val
498
499 def AssignButtonsImageList(*args, **kwargs):
500 """AssignButtonsImageList(wxImageList imageList)"""
501 val = _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
502 args[1].thisown = 0
503 return val
504
505 def AddColumn(*args, **kwargs):
506 """AddColumn(wxString 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, wxString 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, wxString text)"""
547 return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
548
549 def GetColumnText(*args, **kwargs):
550 """GetColumnText(size_t column) -> wxString"""
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, wxTreeListColumnAlign align)"""
563 return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
564
565 def GetColumnAlignment(*args, **kwargs):
566 """GetColumnAlignment(size_t column) -> wxTreeListColumnAlign"""
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) -> wxString"""
579 return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
580
581 def GetItemImage(*args, **kwargs):
582 """GetItemImage(TreeItemId item, int column=-1, wxTreeItemIcon which=TreeItemIcon_Normal) -> int"""
583 return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
584
585 def SetItemText(*args, **kwargs):
586 """SetItemText(TreeItemId item, wxString 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, wxTreeItemIcon 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, wxColour col)"""
619 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
620
621 def SetItemBackgroundColour(*args, **kwargs):
622 """SetItemBackgroundColour(TreeItemId item, wxColour col)"""
623 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
624
625 def SetItemFont(*args, **kwargs):
626 """SetItemFont(TreeItemId item, wxFont 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) -> wxColour"""
635 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
636
637 def GetItemBackgroundColour(*args, **kwargs):
638 """GetItemBackgroundColour(TreeItemId item) -> wxColour"""
639 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
640
641 def GetItemFont(*args, **kwargs):
642 """GetItemFont(TreeItemId item) -> wxFont"""
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 """
723 AddRoot(wxString text, int image=-1, int selectedImage=-1,
724 TreeItemData data=None) -> TreeItemId
725 """
726 return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
727
728 def PrependItem(*args, **kwargs):
729 """
730 PrependItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
731 TreeItemData data=None) -> TreeItemId
732 """
733 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
734
735 def InsertItem(*args, **kwargs):
736 """
737 InsertItem(TreeItemId parent, TreeItemId idPrevious, wxString text,
738 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
739 """
740 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
741
742 def InsertItemBefore(*args, **kwargs):
743 """
744 InsertItemBefore(TreeItemId parent, size_t index, wxString text, int image=-1,
745 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
746 """
747 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
748
749 def AppendItem(*args, **kwargs):
750 """
751 AppendItem(TreeItemId parent, wxString text, int image=-1, int selectedImage=-1,
752 TreeItemData data=None) -> TreeItemId
753 """
754 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
755
756 def Delete(*args, **kwargs):
757 """Delete(TreeItemId item)"""
758 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
759
760 def DeleteChildren(*args, **kwargs):
761 """DeleteChildren(TreeItemId item)"""
762 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
763
764 def DeleteAllItems(*args, **kwargs):
765 """DeleteAllItems()"""
766 return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
767
768 def Expand(*args, **kwargs):
769 """Expand(TreeItemId item)"""
770 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
771
772 def ExpandAll(*args, **kwargs):
773 """ExpandAll(TreeItemId item)"""
774 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
775
776 def Collapse(*args, **kwargs):
777 """Collapse(TreeItemId item)"""
778 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
779
780 def CollapseAndReset(*args, **kwargs):
781 """CollapseAndReset(TreeItemId item)"""
782 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
783
784 def Toggle(*args, **kwargs):
785 """Toggle(TreeItemId item)"""
786 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
787
788 def Unselect(*args, **kwargs):
789 """Unselect()"""
790 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
791
792 def UnselectAll(*args, **kwargs):
793 """UnselectAll()"""
794 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
795
796 def SelectItem(*args, **kwargs):
797 """SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
798 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
799
800 def EnsureVisible(*args, **kwargs):
801 """EnsureVisible(TreeItemId item)"""
802 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
803
804 def ScrollTo(*args, **kwargs):
805 """ScrollTo(TreeItemId item)"""
806 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
807
808 def HitTest(*args, **kwargs):
809 """HitTest(Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
810 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
811
812 def GetBoundingRect(*args, **kwargs):
813 """GetBoundingRect(TreeItemId item, bool textOnly=False) -> PyObject"""
814 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
815
816 def EditLabel(*args, **kwargs):
817 """EditLabel(TreeItemId item)"""
818 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
819
820 def Edit(*args, **kwargs):
821 """Edit(TreeItemId item)"""
822 return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
823
824 def SortChildren(*args, **kwargs):
825 """SortChildren(TreeItemId item)"""
826 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
827
828 def GetItemSelectedImage(*args, **kwargs):
829 """GetItemSelectedImage(TreeItemId item) -> int"""
830 return _gizmos.TreeListCtrl_GetItemSelectedImage(*args, **kwargs)
831
832 def SetItemSelectedImage(*args, **kwargs):
833 """SetItemSelectedImage(TreeItemId item, int image)"""
834 return _gizmos.TreeListCtrl_SetItemSelectedImage(*args, **kwargs)
835
836 def GetHeaderWindow(*args, **kwargs):
837 """GetHeaderWindow() -> Window"""
838 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
839
840 def GetMainWindow(*args, **kwargs):
841 """GetMainWindow() -> Window"""
842 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
843
844
845 class TreeListCtrlPtr(TreeListCtrl):
846 def __init__(self, this):
847 self.this = this
848 if not hasattr(self,"thisown"): self.thisown = 0
849 self.__class__ = TreeListCtrl
850 _gizmos.TreeListCtrl_swigregister(TreeListCtrlPtr)
851
852 def PreTreeListCtrl(*args, **kwargs):
853 """PreTreeListCtrl() -> TreeListCtrl"""
854 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
855 val.thisown = 1
856 return val
857
858