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