]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos.py
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / 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 """
301 GetAlignment(self) -> int
302
303 Get the control alignment (left/right/centre, top/bottom/centre)
304 """
305 return _gizmos.LEDNumberCtrl_GetAlignment(*args, **kwargs)
306
307 def GetDrawFaded(*args, **kwargs):
308 """GetDrawFaded(self) -> bool"""
309 return _gizmos.LEDNumberCtrl_GetDrawFaded(*args, **kwargs)
310
311 def GetValue(*args, **kwargs):
312 """GetValue(self) -> String"""
313 return _gizmos.LEDNumberCtrl_GetValue(*args, **kwargs)
314
315 def SetAlignment(*args, **kwargs):
316 """SetAlignment(self, int Alignment, bool Redraw=True)"""
317 return _gizmos.LEDNumberCtrl_SetAlignment(*args, **kwargs)
318
319 def SetDrawFaded(*args, **kwargs):
320 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
321 return _gizmos.LEDNumberCtrl_SetDrawFaded(*args, **kwargs)
322
323 def SetValue(*args, **kwargs):
324 """SetValue(self, String Value, bool Redraw=True)"""
325 return _gizmos.LEDNumberCtrl_SetValue(*args, **kwargs)
326
327 _gizmos.LEDNumberCtrl_swigregister(LEDNumberCtrl)
328
329 def PreLEDNumberCtrl(*args, **kwargs):
330 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
331 val = _gizmos.new_PreLEDNumberCtrl(*args, **kwargs)
332 return val
333
334 TL_ALIGN_LEFT = _gizmos.TL_ALIGN_LEFT
335 TL_ALIGN_RIGHT = _gizmos.TL_ALIGN_RIGHT
336 TL_ALIGN_CENTER = _gizmos.TL_ALIGN_CENTER
337 TREE_HITTEST_ONITEMCOLUMN = _gizmos.TREE_HITTEST_ONITEMCOLUMN
338 TL_SEARCH_VISIBLE = _gizmos.TL_SEARCH_VISIBLE
339 TL_SEARCH_LEVEL = _gizmos.TL_SEARCH_LEVEL
340 TL_SEARCH_FULL = _gizmos.TL_SEARCH_FULL
341 TL_SEARCH_PARTIAL = _gizmos.TL_SEARCH_PARTIAL
342 TL_SEARCH_NOCASE = _gizmos.TL_SEARCH_NOCASE
343 TR_DONT_ADJUST_MAC = _gizmos.TR_DONT_ADJUST_MAC
344 wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC
345 class TreeListColumnInfo(_core.Object):
346 """Proxy of C++ TreeListColumnInfo class"""
347 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
348 __repr__ = _swig_repr
349 def __init__(self, *args, **kwargs):
350 """
351 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
352 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
353 """
354 _gizmos.TreeListColumnInfo_swiginit(self,_gizmos.new_TreeListColumnInfo(*args, **kwargs))
355 __swig_destroy__ = _gizmos.delete_TreeListColumnInfo
356 __del__ = lambda self : None;
357 def GetShown(*args, **kwargs):
358 """GetShown(self) -> bool"""
359 return _gizmos.TreeListColumnInfo_GetShown(*args, **kwargs)
360
361 def GetAlignment(*args, **kwargs):
362 """GetAlignment(self) -> int"""
363 return _gizmos.TreeListColumnInfo_GetAlignment(*args, **kwargs)
364
365 def GetText(*args, **kwargs):
366 """GetText(self) -> String"""
367 return _gizmos.TreeListColumnInfo_GetText(*args, **kwargs)
368
369 def GetImage(*args, **kwargs):
370 """GetImage(self) -> int"""
371 return _gizmos.TreeListColumnInfo_GetImage(*args, **kwargs)
372
373 def GetSelectedImage(*args, **kwargs):
374 """GetSelectedImage(self) -> int"""
375 return _gizmos.TreeListColumnInfo_GetSelectedImage(*args, **kwargs)
376
377 def GetWidth(*args, **kwargs):
378 """GetWidth(self) -> size_t"""
379 return _gizmos.TreeListColumnInfo_GetWidth(*args, **kwargs)
380
381 def SetShown(*args, **kwargs):
382 """SetShown(self, bool shown)"""
383 return _gizmos.TreeListColumnInfo_SetShown(*args, **kwargs)
384
385 def SetAlignment(*args, **kwargs):
386 """SetAlignment(self, int alignment)"""
387 return _gizmos.TreeListColumnInfo_SetAlignment(*args, **kwargs)
388
389 def SetText(*args, **kwargs):
390 """SetText(self, String text)"""
391 return _gizmos.TreeListColumnInfo_SetText(*args, **kwargs)
392
393 def SetImage(*args, **kwargs):
394 """SetImage(self, int image)"""
395 return _gizmos.TreeListColumnInfo_SetImage(*args, **kwargs)
396
397 def SetSelectedImage(*args, **kwargs):
398 """SetSelectedImage(self, int image)"""
399 return _gizmos.TreeListColumnInfo_SetSelectedImage(*args, **kwargs)
400
401 def SetWidth(*args, **kwargs):
402 """SetWidth(self, size_t with)"""
403 return _gizmos.TreeListColumnInfo_SetWidth(*args, **kwargs)
404
405 _gizmos.TreeListColumnInfo_swigregister(TreeListColumnInfo)
406
407 class TreeListCtrl(_core.Control):
408 """Proxy of C++ TreeListCtrl class"""
409 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
410 __repr__ = _swig_repr
411 def __init__(self, *args, **kwargs):
412 """
413 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
414 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
415 Validator validator=DefaultValidator,
416 String name=TreeListCtrlNameStr) -> TreeListCtrl
417 """
418 _gizmos.TreeListCtrl_swiginit(self,_gizmos.new_TreeListCtrl(*args, **kwargs))
419 self._setOORInfo(self);self._setCallbackInfo(self, TreeListCtrl)
420
421 def Create(*args, **kwargs):
422 """
423 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
424 Size size=DefaultSize, long style=TR_DEFAULT_STYLE,
425 Validator validator=DefaultValidator,
426 String name=TreeListCtrlNameStr) -> bool
427
428 Do the 2nd phase and create the GUI control.
429 """
430 return _gizmos.TreeListCtrl_Create(*args, **kwargs)
431
432 def _setCallbackInfo(*args, **kwargs):
433 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
434 return _gizmos.TreeListCtrl__setCallbackInfo(*args, **kwargs)
435
436 def GetCount(*args, **kwargs):
437 """GetCount(self) -> size_t"""
438 return _gizmos.TreeListCtrl_GetCount(*args, **kwargs)
439
440 def GetIndent(*args, **kwargs):
441 """GetIndent(self) -> unsigned int"""
442 return _gizmos.TreeListCtrl_GetIndent(*args, **kwargs)
443
444 def SetIndent(*args, **kwargs):
445 """SetIndent(self, unsigned int indent)"""
446 return _gizmos.TreeListCtrl_SetIndent(*args, **kwargs)
447
448 def GetLineSpacing(*args, **kwargs):
449 """GetLineSpacing(self) -> unsigned int"""
450 return _gizmos.TreeListCtrl_GetLineSpacing(*args, **kwargs)
451
452 def SetLineSpacing(*args, **kwargs):
453 """SetLineSpacing(self, unsigned int spacing)"""
454 return _gizmos.TreeListCtrl_SetLineSpacing(*args, **kwargs)
455
456 def GetImageList(*args, **kwargs):
457 """GetImageList(self) -> ImageList"""
458 return _gizmos.TreeListCtrl_GetImageList(*args, **kwargs)
459
460 def GetStateImageList(*args, **kwargs):
461 """GetStateImageList(self) -> ImageList"""
462 return _gizmos.TreeListCtrl_GetStateImageList(*args, **kwargs)
463
464 def GetButtonsImageList(*args, **kwargs):
465 """GetButtonsImageList(self) -> ImageList"""
466 return _gizmos.TreeListCtrl_GetButtonsImageList(*args, **kwargs)
467
468 def SetImageList(*args, **kwargs):
469 """SetImageList(self, ImageList imageList)"""
470 return _gizmos.TreeListCtrl_SetImageList(*args, **kwargs)
471
472 def SetStateImageList(*args, **kwargs):
473 """SetStateImageList(self, ImageList imageList)"""
474 return _gizmos.TreeListCtrl_SetStateImageList(*args, **kwargs)
475
476 def SetButtonsImageList(*args, **kwargs):
477 """SetButtonsImageList(self, ImageList imageList)"""
478 return _gizmos.TreeListCtrl_SetButtonsImageList(*args, **kwargs)
479
480 def AssignImageList(*args, **kwargs):
481 """AssignImageList(self, ImageList imageList)"""
482 return _gizmos.TreeListCtrl_AssignImageList(*args, **kwargs)
483
484 def AssignStateImageList(*args, **kwargs):
485 """AssignStateImageList(self, ImageList imageList)"""
486 return _gizmos.TreeListCtrl_AssignStateImageList(*args, **kwargs)
487
488 def AssignButtonsImageList(*args, **kwargs):
489 """AssignButtonsImageList(self, ImageList imageList)"""
490 return _gizmos.TreeListCtrl_AssignButtonsImageList(*args, **kwargs)
491
492 def AddColumn(*args, **kwargs):
493 """AddColumn(self, String text)"""
494 return _gizmos.TreeListCtrl_AddColumn(*args, **kwargs)
495
496 def AddColumnInfo(*args, **kwargs):
497 """AddColumnInfo(self, TreeListColumnInfo col)"""
498 return _gizmos.TreeListCtrl_AddColumnInfo(*args, **kwargs)
499
500 def InsertColumn(*args, **kwargs):
501 """InsertColumn(self, size_t before, String text)"""
502 return _gizmos.TreeListCtrl_InsertColumn(*args, **kwargs)
503
504 def InsertColumnInfo(*args, **kwargs):
505 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
506 return _gizmos.TreeListCtrl_InsertColumnInfo(*args, **kwargs)
507
508 def RemoveColumn(*args, **kwargs):
509 """RemoveColumn(self, size_t column)"""
510 return _gizmos.TreeListCtrl_RemoveColumn(*args, **kwargs)
511
512 def GetColumnCount(*args, **kwargs):
513 """GetColumnCount(self) -> size_t"""
514 return _gizmos.TreeListCtrl_GetColumnCount(*args, **kwargs)
515
516 def SetColumnWidth(*args, **kwargs):
517 """SetColumnWidth(self, size_t column, size_t width)"""
518 return _gizmos.TreeListCtrl_SetColumnWidth(*args, **kwargs)
519
520 def GetColumnWidth(*args, **kwargs):
521 """GetColumnWidth(self, size_t column) -> int"""
522 return _gizmos.TreeListCtrl_GetColumnWidth(*args, **kwargs)
523
524 def SetMainColumn(*args, **kwargs):
525 """SetMainColumn(self, size_t column)"""
526 return _gizmos.TreeListCtrl_SetMainColumn(*args, **kwargs)
527
528 def GetMainColumn(*args, **kwargs):
529 """GetMainColumn(self) -> size_t"""
530 return _gizmos.TreeListCtrl_GetMainColumn(*args, **kwargs)
531
532 def SetColumnText(*args, **kwargs):
533 """SetColumnText(self, size_t column, String text)"""
534 return _gizmos.TreeListCtrl_SetColumnText(*args, **kwargs)
535
536 def GetColumnText(*args, **kwargs):
537 """GetColumnText(self, size_t column) -> String"""
538 return _gizmos.TreeListCtrl_GetColumnText(*args, **kwargs)
539
540 def SetColumn(*args, **kwargs):
541 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
542 return _gizmos.TreeListCtrl_SetColumn(*args, **kwargs)
543
544 def GetColumn(*args, **kwargs):
545 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
546 return _gizmos.TreeListCtrl_GetColumn(*args, **kwargs)
547
548 def SetColumnAlignment(*args, **kwargs):
549 """SetColumnAlignment(self, size_t column, int align)"""
550 return _gizmos.TreeListCtrl_SetColumnAlignment(*args, **kwargs)
551
552 def GetColumnAlignment(*args, **kwargs):
553 """GetColumnAlignment(self, size_t column) -> int"""
554 return _gizmos.TreeListCtrl_GetColumnAlignment(*args, **kwargs)
555
556 def SetColumnImage(*args, **kwargs):
557 """SetColumnImage(self, size_t column, int image)"""
558 return _gizmos.TreeListCtrl_SetColumnImage(*args, **kwargs)
559
560 def GetColumnImage(*args, **kwargs):
561 """GetColumnImage(self, size_t column) -> int"""
562 return _gizmos.TreeListCtrl_GetColumnImage(*args, **kwargs)
563
564 def ShowColumn(*args, **kwargs):
565 """ShowColumn(self, size_t column, bool shown)"""
566 return _gizmos.TreeListCtrl_ShowColumn(*args, **kwargs)
567
568 def IsColumnShown(*args, **kwargs):
569 """IsColumnShown(self, size_t column) -> bool"""
570 return _gizmos.TreeListCtrl_IsColumnShown(*args, **kwargs)
571
572 def GetItemText(*args, **kwargs):
573 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
574 return _gizmos.TreeListCtrl_GetItemText(*args, **kwargs)
575
576 def GetItemImage(*args, **kwargs):
577 """GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -> int"""
578 return _gizmos.TreeListCtrl_GetItemImage(*args, **kwargs)
579
580 def SetItemText(*args, **kwargs):
581 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
582 return _gizmos.TreeListCtrl_SetItemText(*args, **kwargs)
583
584 def SetItemImage(*args, **kwargs):
585 """SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)"""
586 return _gizmos.TreeListCtrl_SetItemImage(*args, **kwargs)
587
588 def GetItemData(*args, **kwargs):
589 """GetItemData(self, TreeItemId item) -> TreeItemData"""
590 return _gizmos.TreeListCtrl_GetItemData(*args, **kwargs)
591
592 def SetItemData(*args, **kwargs):
593 """SetItemData(self, TreeItemId item, TreeItemData data)"""
594 return _gizmos.TreeListCtrl_SetItemData(*args, **kwargs)
595
596 def GetItemPyData(*args, **kwargs):
597 """GetItemPyData(self, TreeItemId item) -> PyObject"""
598 return _gizmos.TreeListCtrl_GetItemPyData(*args, **kwargs)
599
600 def SetItemPyData(*args, **kwargs):
601 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
602 return _gizmos.TreeListCtrl_SetItemPyData(*args, **kwargs)
603
604 GetPyData = GetItemPyData
605 SetPyData = SetItemPyData
606 def SetItemHasChildren(*args, **kwargs):
607 """SetItemHasChildren(self, TreeItemId item, bool has=True)"""
608 return _gizmos.TreeListCtrl_SetItemHasChildren(*args, **kwargs)
609
610 def SetItemBold(*args, **kwargs):
611 """SetItemBold(self, TreeItemId item, bool bold=True)"""
612 return _gizmos.TreeListCtrl_SetItemBold(*args, **kwargs)
613
614 def SetItemTextColour(*args, **kwargs):
615 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
616 return _gizmos.TreeListCtrl_SetItemTextColour(*args, **kwargs)
617
618 def SetItemBackgroundColour(*args, **kwargs):
619 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
620 return _gizmos.TreeListCtrl_SetItemBackgroundColour(*args, **kwargs)
621
622 def SetItemFont(*args, **kwargs):
623 """SetItemFont(self, TreeItemId item, Font font)"""
624 return _gizmos.TreeListCtrl_SetItemFont(*args, **kwargs)
625
626 def GetItemBold(*args, **kwargs):
627 """GetItemBold(self, TreeItemId item) -> bool"""
628 return _gizmos.TreeListCtrl_GetItemBold(*args, **kwargs)
629
630 def GetItemTextColour(*args, **kwargs):
631 """GetItemTextColour(self, TreeItemId item) -> Colour"""
632 return _gizmos.TreeListCtrl_GetItemTextColour(*args, **kwargs)
633
634 def GetItemBackgroundColour(*args, **kwargs):
635 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
636 return _gizmos.TreeListCtrl_GetItemBackgroundColour(*args, **kwargs)
637
638 def GetItemFont(*args, **kwargs):
639 """GetItemFont(self, TreeItemId item) -> Font"""
640 return _gizmos.TreeListCtrl_GetItemFont(*args, **kwargs)
641
642 def IsVisible(*args, **kwargs):
643 """IsVisible(self, TreeItemId item) -> bool"""
644 return _gizmos.TreeListCtrl_IsVisible(*args, **kwargs)
645
646 def ItemHasChildren(*args, **kwargs):
647 """ItemHasChildren(self, TreeItemId item) -> bool"""
648 return _gizmos.TreeListCtrl_ItemHasChildren(*args, **kwargs)
649
650 def IsExpanded(*args, **kwargs):
651 """IsExpanded(self, TreeItemId item) -> bool"""
652 return _gizmos.TreeListCtrl_IsExpanded(*args, **kwargs)
653
654 def IsSelected(*args, **kwargs):
655 """IsSelected(self, TreeItemId item) -> bool"""
656 return _gizmos.TreeListCtrl_IsSelected(*args, **kwargs)
657
658 def IsBold(*args, **kwargs):
659 """IsBold(self, TreeItemId item) -> bool"""
660 return _gizmos.TreeListCtrl_IsBold(*args, **kwargs)
661
662 def GetChildrenCount(*args, **kwargs):
663 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
664 return _gizmos.TreeListCtrl_GetChildrenCount(*args, **kwargs)
665
666 def GetRootItem(*args, **kwargs):
667 """GetRootItem(self) -> TreeItemId"""
668 return _gizmos.TreeListCtrl_GetRootItem(*args, **kwargs)
669
670 def GetSelection(*args, **kwargs):
671 """GetSelection(self) -> TreeItemId"""
672 return _gizmos.TreeListCtrl_GetSelection(*args, **kwargs)
673
674 def GetSelections(*args, **kwargs):
675 """GetSelections(self) -> PyObject"""
676 return _gizmos.TreeListCtrl_GetSelections(*args, **kwargs)
677
678 def GetItemParent(*args, **kwargs):
679 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
680 return _gizmos.TreeListCtrl_GetItemParent(*args, **kwargs)
681
682 def GetFirstChild(*args, **kwargs):
683 """GetFirstChild(self, TreeItemId item) -> PyObject"""
684 return _gizmos.TreeListCtrl_GetFirstChild(*args, **kwargs)
685
686 def GetNextChild(*args, **kwargs):
687 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
688 return _gizmos.TreeListCtrl_GetNextChild(*args, **kwargs)
689
690 def GetLastChild(*args, **kwargs):
691 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
692 return _gizmos.TreeListCtrl_GetLastChild(*args, **kwargs)
693
694 def GetNextSibling(*args, **kwargs):
695 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
696 return _gizmos.TreeListCtrl_GetNextSibling(*args, **kwargs)
697
698 def GetPrevSibling(*args, **kwargs):
699 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
700 return _gizmos.TreeListCtrl_GetPrevSibling(*args, **kwargs)
701
702 def GetFirstVisibleItem(*args, **kwargs):
703 """GetFirstVisibleItem(self) -> TreeItemId"""
704 return _gizmos.TreeListCtrl_GetFirstVisibleItem(*args, **kwargs)
705
706 def GetNextVisible(*args, **kwargs):
707 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
708 return _gizmos.TreeListCtrl_GetNextVisible(*args, **kwargs)
709
710 def GetPrevVisible(*args, **kwargs):
711 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
712 return _gizmos.TreeListCtrl_GetPrevVisible(*args, **kwargs)
713
714 def GetNext(*args, **kwargs):
715 """GetNext(self, TreeItemId item) -> TreeItemId"""
716 return _gizmos.TreeListCtrl_GetNext(*args, **kwargs)
717
718 def AddRoot(*args, **kwargs):
719 """AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId"""
720 return _gizmos.TreeListCtrl_AddRoot(*args, **kwargs)
721
722 def PrependItem(*args, **kwargs):
723 """
724 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
725 TreeItemData data=None) -> TreeItemId
726 """
727 return _gizmos.TreeListCtrl_PrependItem(*args, **kwargs)
728
729 def InsertItem(*args, **kwargs):
730 """
731 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
732 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
733 """
734 return _gizmos.TreeListCtrl_InsertItem(*args, **kwargs)
735
736 def InsertItemBefore(*args, **kwargs):
737 """
738 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
739 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
740 """
741 return _gizmos.TreeListCtrl_InsertItemBefore(*args, **kwargs)
742
743 def AppendItem(*args, **kwargs):
744 """
745 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
746 TreeItemData data=None) -> TreeItemId
747 """
748 return _gizmos.TreeListCtrl_AppendItem(*args, **kwargs)
749
750 def Delete(*args, **kwargs):
751 """Delete(self, TreeItemId item)"""
752 return _gizmos.TreeListCtrl_Delete(*args, **kwargs)
753
754 def DeleteChildren(*args, **kwargs):
755 """DeleteChildren(self, TreeItemId item)"""
756 return _gizmos.TreeListCtrl_DeleteChildren(*args, **kwargs)
757
758 def DeleteAllItems(*args, **kwargs):
759 """DeleteAllItems(self)"""
760 return _gizmos.TreeListCtrl_DeleteAllItems(*args, **kwargs)
761
762 def Expand(*args, **kwargs):
763 """Expand(self, TreeItemId item)"""
764 return _gizmos.TreeListCtrl_Expand(*args, **kwargs)
765
766 def ExpandAll(*args, **kwargs):
767 """ExpandAll(self, TreeItemId item)"""
768 return _gizmos.TreeListCtrl_ExpandAll(*args, **kwargs)
769
770 def Collapse(*args, **kwargs):
771 """Collapse(self, TreeItemId item)"""
772 return _gizmos.TreeListCtrl_Collapse(*args, **kwargs)
773
774 def CollapseAndReset(*args, **kwargs):
775 """CollapseAndReset(self, TreeItemId item)"""
776 return _gizmos.TreeListCtrl_CollapseAndReset(*args, **kwargs)
777
778 def Toggle(*args, **kwargs):
779 """Toggle(self, TreeItemId item)"""
780 return _gizmos.TreeListCtrl_Toggle(*args, **kwargs)
781
782 def Unselect(*args, **kwargs):
783 """Unselect(self)"""
784 return _gizmos.TreeListCtrl_Unselect(*args, **kwargs)
785
786 def UnselectAll(*args, **kwargs):
787 """UnselectAll(self)"""
788 return _gizmos.TreeListCtrl_UnselectAll(*args, **kwargs)
789
790 def SelectItem(*args, **kwargs):
791 """SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)"""
792 return _gizmos.TreeListCtrl_SelectItem(*args, **kwargs)
793
794 def SelectAll(*args, **kwargs):
795 """SelectAll(self, bool extended_select=False)"""
796 return _gizmos.TreeListCtrl_SelectAll(*args, **kwargs)
797
798 def EnsureVisible(*args, **kwargs):
799 """EnsureVisible(self, TreeItemId item)"""
800 return _gizmos.TreeListCtrl_EnsureVisible(*args, **kwargs)
801
802 def ScrollTo(*args, **kwargs):
803 """ScrollTo(self, TreeItemId item)"""
804 return _gizmos.TreeListCtrl_ScrollTo(*args, **kwargs)
805
806 def HitTest(*args, **kwargs):
807 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
808 return _gizmos.TreeListCtrl_HitTest(*args, **kwargs)
809
810 def GetBoundingRect(*args, **kwargs):
811 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
812 return _gizmos.TreeListCtrl_GetBoundingRect(*args, **kwargs)
813
814 def EditLabel(*args, **kwargs):
815 """EditLabel(self, TreeItemId item)"""
816 return _gizmos.TreeListCtrl_EditLabel(*args, **kwargs)
817
818 def Edit(*args, **kwargs):
819 """Edit(self, TreeItemId item)"""
820 return _gizmos.TreeListCtrl_Edit(*args, **kwargs)
821
822 def SortChildren(*args, **kwargs):
823 """SortChildren(self, TreeItemId item)"""
824 return _gizmos.TreeListCtrl_SortChildren(*args, **kwargs)
825
826 def FindItem(*args, **kwargs):
827 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
828 return _gizmos.TreeListCtrl_FindItem(*args, **kwargs)
829
830 def GetHeaderWindow(*args, **kwargs):
831 """GetHeaderWindow(self) -> Window"""
832 return _gizmos.TreeListCtrl_GetHeaderWindow(*args, **kwargs)
833
834 def GetMainWindow(*args, **kwargs):
835 """GetMainWindow(self) -> ScrolledWindow"""
836 return _gizmos.TreeListCtrl_GetMainWindow(*args, **kwargs)
837
838 _gizmos.TreeListCtrl_swigregister(TreeListCtrl)
839
840 def PreTreeListCtrl(*args, **kwargs):
841 """PreTreeListCtrl() -> TreeListCtrl"""
842 val = _gizmos.new_PreTreeListCtrl(*args, **kwargs)
843 return val
844
845 SCALE_HORIZONTAL = _gizmos.SCALE_HORIZONTAL
846 SCALE_VERTICAL = _gizmos.SCALE_VERTICAL
847 SCALE_UNIFORM = _gizmos.SCALE_UNIFORM
848 SCALE_CUSTOM = _gizmos.SCALE_CUSTOM
849 class StaticPicture(_core.Control):
850 """Proxy of C++ StaticPicture class"""
851 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
852 __repr__ = _swig_repr
853 def __init__(self, *args, **kwargs):
854 """
855 __init__(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
856 Point pos=DefaultPosition, Size size=DefaultSize,
857 long style=0, String name=StaticPictureNameStr) -> StaticPicture
858 """
859 _gizmos.StaticPicture_swiginit(self,_gizmos.new_StaticPicture(*args, **kwargs))
860 self._setOORInfo(self)
861
862 def Create(*args, **kwargs):
863 """
864 Create(self, Window parent, int id=-1, Bitmap label=wxNullBitmap,
865 Point pos=DefaultPosition, Size size=DefaultSize,
866 long style=0, String name=StaticPictureNameStr) -> bool
867 """
868 return _gizmos.StaticPicture_Create(*args, **kwargs)
869
870 def SetBitmap(*args, **kwargs):
871 """SetBitmap(self, Bitmap bmp)"""
872 return _gizmos.StaticPicture_SetBitmap(*args, **kwargs)
873
874 def GetBitmap(*args, **kwargs):
875 """GetBitmap(self) -> Bitmap"""
876 return _gizmos.StaticPicture_GetBitmap(*args, **kwargs)
877
878 def SetIcon(*args, **kwargs):
879 """SetIcon(self, Icon icon)"""
880 return _gizmos.StaticPicture_SetIcon(*args, **kwargs)
881
882 def GetIcon(*args, **kwargs):
883 """GetIcon(self) -> Icon"""
884 return _gizmos.StaticPicture_GetIcon(*args, **kwargs)
885
886 def SetAlignment(*args, **kwargs):
887 """SetAlignment(self, int align)"""
888 return _gizmos.StaticPicture_SetAlignment(*args, **kwargs)
889
890 def GetAlignment(*args, **kwargs):
891 """
892 GetAlignment(self) -> int
893
894 Get the control alignment (left/right/centre, top/bottom/centre)
895 """
896 return _gizmos.StaticPicture_GetAlignment(*args, **kwargs)
897
898 def SetScale(*args, **kwargs):
899 """SetScale(self, int scale)"""
900 return _gizmos.StaticPicture_SetScale(*args, **kwargs)
901
902 def GetScale(*args, **kwargs):
903 """GetScale(self) -> int"""
904 return _gizmos.StaticPicture_GetScale(*args, **kwargs)
905
906 def SetCustomScale(*args, **kwargs):
907 """SetCustomScale(self, float sx, float sy)"""
908 return _gizmos.StaticPicture_SetCustomScale(*args, **kwargs)
909
910 def GetCustomScale(*args, **kwargs):
911 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
912 return _gizmos.StaticPicture_GetCustomScale(*args, **kwargs)
913
914 _gizmos.StaticPicture_swigregister(StaticPicture)
915
916 def PreStaticPicture(*args, **kwargs):
917 """PreStaticPicture() -> StaticPicture"""
918 val = _gizmos.new_PreStaticPicture(*args, **kwargs)
919 return val
920
921
922