1 # This file was created automatically by SWIG 1.3.29.
2 # Don't modify this file, modify the SWIG interface instead.
5 Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
6 `LEDNumberCtrl`, `TreeListCtrl`, etc.
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
)
15 if type(value
).__name
__ == 'PySwigObject':
16 self
.__dict
__[name
] = value
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
23 raise AttributeError("You cannot add attributes to %s" % self
)
25 def _swig_setattr(self
,class_type
,name
,value
):
26 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
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
35 try: strthis
= "proxy of " + self
.this
.__repr
__()
37 return "<%s.%s; %s >" % (self
.__class
__.__module
__, self
.__class
__.__name
__, strthis
,)
41 _object
= types
.ObjectType
43 except AttributeError:
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"):
55 raise AttributeError("You cannot add attributes to %s" % self
)
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')
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
)
77 DynamicSashNameStr
= cvar
.DynamicSashNameStr
78 EditableListBoxNameStr
= cvar
.EditableListBoxNameStr
79 TreeListCtrlNameStr
= cvar
.TreeListCtrlNameStr
80 StaticPictureNameStr
= cvar
.StaticPictureNameStr
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')
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
)
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')
95 def __init__(self
, *args
, **kwargs
):
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
101 _gizmos
.DynamicSashWindow_swiginit(self
,_gizmos
.new_DynamicSashWindow(*args
, **kwargs
))
102 self
._setOORInfo
(self
)
104 def Create(*args
, **kwargs
):
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
110 return _gizmos
.DynamicSashWindow_Create(*args
, **kwargs
)
112 def GetHScrollBar(*args
, **kwargs
):
113 """GetHScrollBar(self, Window child) -> ScrollBar"""
114 return _gizmos
.DynamicSashWindow_GetHScrollBar(*args
, **kwargs
)
116 def GetVScrollBar(*args
, **kwargs
):
117 """GetVScrollBar(self, Window child) -> ScrollBar"""
118 return _gizmos
.DynamicSashWindow_GetVScrollBar(*args
, **kwargs
)
120 _gizmos
.DynamicSashWindow_swigregister(DynamicSashWindow
)
122 def PreDynamicSashWindow(*args
, **kwargs
):
123 """PreDynamicSashWindow() -> DynamicSashWindow"""
124 val
= _gizmos
.new_PreDynamicSashWindow(*args
, **kwargs
)
127 EVT_DYNAMIC_SASH_SPLIT
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_SPLIT
, 1 )
128 EVT_DYNAMIC_SASH_UNIFY
= wx
.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY
, 1 )
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
):
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
144 _gizmos
.EditableListBox_swiginit(self
,_gizmos
.new_EditableListBox(*args
, **kwargs
))
145 self
._setOORInfo
(self
)
147 def SetStrings(*args
, **kwargs
):
148 """SetStrings(self, wxArrayString strings)"""
149 return _gizmos
.EditableListBox_SetStrings(*args
, **kwargs
)
151 def GetStrings(*args
, **kwargs
):
152 """GetStrings(self) -> PyObject"""
153 return _gizmos
.EditableListBox_GetStrings(*args
, **kwargs
)
155 def GetListCtrl(*args
, **kwargs
):
156 """GetListCtrl(self) -> ListCtrl"""
157 return _gizmos
.EditableListBox_GetListCtrl(*args
, **kwargs
)
159 def GetDelButton(*args
, **kwargs
):
160 """GetDelButton(self) -> BitmapButton"""
161 return _gizmos
.EditableListBox_GetDelButton(*args
, **kwargs
)
163 def GetNewButton(*args
, **kwargs
):
164 """GetNewButton(self) -> BitmapButton"""
165 return _gizmos
.EditableListBox_GetNewButton(*args
, **kwargs
)
167 def GetUpButton(*args
, **kwargs
):
168 """GetUpButton(self) -> BitmapButton"""
169 return _gizmos
.EditableListBox_GetUpButton(*args
, **kwargs
)
171 def GetDownButton(*args
, **kwargs
):
172 """GetDownButton(self) -> BitmapButton"""
173 return _gizmos
.EditableListBox_GetDownButton(*args
, **kwargs
)
175 def GetEditButton(*args
, **kwargs
):
176 """GetEditButton(self) -> BitmapButton"""
177 return _gizmos
.EditableListBox_GetEditButton(*args
, **kwargs
)
179 _gizmos
.EditableListBox_swigregister(EditableListBox
)
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
):
187 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
188 long style=TR_HAS_BUTTONS) -> RemotelyScrolledTreeCtrl
190 _gizmos
.RemotelyScrolledTreeCtrl_swiginit(self
,_gizmos
.new_RemotelyScrolledTreeCtrl(*args
, **kwargs
))
191 self
._setOORInfo
(self
)
193 def HideVScrollbar(*args
, **kwargs
):
194 """HideVScrollbar(self)"""
195 return _gizmos
.RemotelyScrolledTreeCtrl_HideVScrollbar(*args
, **kwargs
)
197 def AdjustRemoteScrollbars(*args
, **kwargs
):
198 """AdjustRemoteScrollbars(self)"""
199 return _gizmos
.RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(*args
, **kwargs
)
201 def GetScrolledWindow(*args
, **kwargs
):
202 """GetScrolledWindow(self) -> ScrolledWindow"""
203 return _gizmos
.RemotelyScrolledTreeCtrl_GetScrolledWindow(*args
, **kwargs
)
205 def ScrollToLine(*args
, **kwargs
):
206 """ScrollToLine(self, int posHoriz, int posVert)"""
207 return _gizmos
.RemotelyScrolledTreeCtrl_ScrollToLine(*args
, **kwargs
)
209 def SetCompanionWindow(*args
, **kwargs
):
210 """SetCompanionWindow(self, Window companion)"""
211 return _gizmos
.RemotelyScrolledTreeCtrl_SetCompanionWindow(*args
, **kwargs
)
213 def GetCompanionWindow(*args
, **kwargs
):
214 """GetCompanionWindow(self) -> Window"""
215 return _gizmos
.RemotelyScrolledTreeCtrl_GetCompanionWindow(*args
, **kwargs
)
217 _gizmos
.RemotelyScrolledTreeCtrl_swigregister(RemotelyScrolledTreeCtrl
)
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
):
225 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
226 Size size=DefaultSize, long style=0) -> TreeCompanionWindow
228 _gizmos
.TreeCompanionWindow_swiginit(self
,_gizmos
.new_TreeCompanionWindow(*args
, **kwargs
))
229 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeCompanionWindow
)
231 def _setCallbackInfo(*args
, **kwargs
):
232 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
233 return _gizmos
.TreeCompanionWindow__setCallbackInfo(*args
, **kwargs
)
235 def GetTreeCtrl(*args
, **kwargs
):
236 """GetTreeCtrl(self) -> RemotelyScrolledTreeCtrl"""
237 return _gizmos
.TreeCompanionWindow_GetTreeCtrl(*args
, **kwargs
)
239 def SetTreeCtrl(*args
, **kwargs
):
240 """SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)"""
241 return _gizmos
.TreeCompanionWindow_SetTreeCtrl(*args
, **kwargs
)
243 _gizmos
.TreeCompanionWindow_swigregister(TreeCompanionWindow
)
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
):
251 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
252 Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -> ThinSplitterWindow
254 _gizmos
.ThinSplitterWindow_swiginit(self
,_gizmos
.new_ThinSplitterWindow(*args
, **kwargs
))
255 self
._setOORInfo
(self
)
257 _gizmos
.ThinSplitterWindow_swigregister(ThinSplitterWindow
)
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
):
265 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
266 Size size=DefaultSize, long style=0) -> SplitterScrolledWindow
268 _gizmos
.SplitterScrolledWindow_swiginit(self
,_gizmos
.new_SplitterScrolledWindow(*args
, **kwargs
))
269 self
._setOORInfo
(self
)
271 _gizmos
.SplitterScrolledWindow_swigregister(SplitterScrolledWindow
)
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
):
284 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
285 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> LEDNumberCtrl
287 _gizmos
.LEDNumberCtrl_swiginit(self
,_gizmos
.new_LEDNumberCtrl(*args
, **kwargs
))
288 self
._setOORInfo
(self
)
290 def Create(*args
, **kwargs
):
292 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
293 Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -> bool
295 Do the 2nd phase and create the GUI control.
297 return _gizmos
.LEDNumberCtrl_Create(*args
, **kwargs
)
299 def GetAlignment(*args
, **kwargs
):
301 GetAlignment(self) -> int
303 Get the control alignment (left/right/centre, top/bottom/centre)
305 return _gizmos
.LEDNumberCtrl_GetAlignment(*args
, **kwargs
)
307 def GetDrawFaded(*args
, **kwargs
):
308 """GetDrawFaded(self) -> bool"""
309 return _gizmos
.LEDNumberCtrl_GetDrawFaded(*args
, **kwargs
)
311 def GetValue(*args
, **kwargs
):
312 """GetValue(self) -> String"""
313 return _gizmos
.LEDNumberCtrl_GetValue(*args
, **kwargs
)
315 def SetAlignment(*args
, **kwargs
):
316 """SetAlignment(self, int Alignment, bool Redraw=True)"""
317 return _gizmos
.LEDNumberCtrl_SetAlignment(*args
, **kwargs
)
319 def SetDrawFaded(*args
, **kwargs
):
320 """SetDrawFaded(self, bool DrawFaded, bool Redraw=True)"""
321 return _gizmos
.LEDNumberCtrl_SetDrawFaded(*args
, **kwargs
)
323 def SetValue(*args
, **kwargs
):
324 """SetValue(self, String Value, bool Redraw=True)"""
325 return _gizmos
.LEDNumberCtrl_SetValue(*args
, **kwargs
)
327 _gizmos
.LEDNumberCtrl_swigregister(LEDNumberCtrl
)
329 def PreLEDNumberCtrl(*args
, **kwargs
):
330 """PreLEDNumberCtrl() -> LEDNumberCtrl"""
331 val
= _gizmos
.new_PreLEDNumberCtrl(*args
, **kwargs
)
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
):
351 __init__(self, String text=EmptyString, int image=-1, size_t width=100,
352 bool shown=True, int alignment=TL_ALIGN_LEFT) -> TreeListColumnInfo
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
)
361 def GetAlignment(*args
, **kwargs
):
362 """GetAlignment(self) -> int"""
363 return _gizmos
.TreeListColumnInfo_GetAlignment(*args
, **kwargs
)
365 def GetText(*args
, **kwargs
):
366 """GetText(self) -> String"""
367 return _gizmos
.TreeListColumnInfo_GetText(*args
, **kwargs
)
369 def GetImage(*args
, **kwargs
):
370 """GetImage(self) -> int"""
371 return _gizmos
.TreeListColumnInfo_GetImage(*args
, **kwargs
)
373 def GetSelectedImage(*args
, **kwargs
):
374 """GetSelectedImage(self) -> int"""
375 return _gizmos
.TreeListColumnInfo_GetSelectedImage(*args
, **kwargs
)
377 def GetWidth(*args
, **kwargs
):
378 """GetWidth(self) -> size_t"""
379 return _gizmos
.TreeListColumnInfo_GetWidth(*args
, **kwargs
)
381 def SetShown(*args
, **kwargs
):
382 """SetShown(self, bool shown)"""
383 return _gizmos
.TreeListColumnInfo_SetShown(*args
, **kwargs
)
385 def SetAlignment(*args
, **kwargs
):
386 """SetAlignment(self, int alignment)"""
387 return _gizmos
.TreeListColumnInfo_SetAlignment(*args
, **kwargs
)
389 def SetText(*args
, **kwargs
):
390 """SetText(self, String text)"""
391 return _gizmos
.TreeListColumnInfo_SetText(*args
, **kwargs
)
393 def SetImage(*args
, **kwargs
):
394 """SetImage(self, int image)"""
395 return _gizmos
.TreeListColumnInfo_SetImage(*args
, **kwargs
)
397 def SetSelectedImage(*args
, **kwargs
):
398 """SetSelectedImage(self, int image)"""
399 return _gizmos
.TreeListColumnInfo_SetSelectedImage(*args
, **kwargs
)
401 def SetWidth(*args
, **kwargs
):
402 """SetWidth(self, size_t with)"""
403 return _gizmos
.TreeListColumnInfo_SetWidth(*args
, **kwargs
)
405 _gizmos
.TreeListColumnInfo_swigregister(TreeListColumnInfo
)
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
):
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
418 _gizmos
.TreeListCtrl_swiginit(self
,_gizmos
.new_TreeListCtrl(*args
, **kwargs
))
419 self
._setOORInfo
(self
);self
._setCallbackInfo
(self
, TreeListCtrl
)
421 def Create(*args
, **kwargs
):
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
428 Do the 2nd phase and create the GUI control.
430 return _gizmos
.TreeListCtrl_Create(*args
, **kwargs
)
432 def _setCallbackInfo(*args
, **kwargs
):
433 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
434 return _gizmos
.TreeListCtrl__setCallbackInfo(*args
, **kwargs
)
436 def GetCount(*args
, **kwargs
):
437 """GetCount(self) -> size_t"""
438 return _gizmos
.TreeListCtrl_GetCount(*args
, **kwargs
)
440 def GetIndent(*args
, **kwargs
):
441 """GetIndent(self) -> unsigned int"""
442 return _gizmos
.TreeListCtrl_GetIndent(*args
, **kwargs
)
444 def SetIndent(*args
, **kwargs
):
445 """SetIndent(self, unsigned int indent)"""
446 return _gizmos
.TreeListCtrl_SetIndent(*args
, **kwargs
)
448 def GetLineSpacing(*args
, **kwargs
):
449 """GetLineSpacing(self) -> unsigned int"""
450 return _gizmos
.TreeListCtrl_GetLineSpacing(*args
, **kwargs
)
452 def SetLineSpacing(*args
, **kwargs
):
453 """SetLineSpacing(self, unsigned int spacing)"""
454 return _gizmos
.TreeListCtrl_SetLineSpacing(*args
, **kwargs
)
456 def GetImageList(*args
, **kwargs
):
457 """GetImageList(self) -> ImageList"""
458 return _gizmos
.TreeListCtrl_GetImageList(*args
, **kwargs
)
460 def GetStateImageList(*args
, **kwargs
):
461 """GetStateImageList(self) -> ImageList"""
462 return _gizmos
.TreeListCtrl_GetStateImageList(*args
, **kwargs
)
464 def GetButtonsImageList(*args
, **kwargs
):
465 """GetButtonsImageList(self) -> ImageList"""
466 return _gizmos
.TreeListCtrl_GetButtonsImageList(*args
, **kwargs
)
468 def SetImageList(*args
, **kwargs
):
469 """SetImageList(self, ImageList imageList)"""
470 return _gizmos
.TreeListCtrl_SetImageList(*args
, **kwargs
)
472 def SetStateImageList(*args
, **kwargs
):
473 """SetStateImageList(self, ImageList imageList)"""
474 return _gizmos
.TreeListCtrl_SetStateImageList(*args
, **kwargs
)
476 def SetButtonsImageList(*args
, **kwargs
):
477 """SetButtonsImageList(self, ImageList imageList)"""
478 return _gizmos
.TreeListCtrl_SetButtonsImageList(*args
, **kwargs
)
480 def AssignImageList(*args
, **kwargs
):
481 """AssignImageList(self, ImageList imageList)"""
482 return _gizmos
.TreeListCtrl_AssignImageList(*args
, **kwargs
)
484 def AssignStateImageList(*args
, **kwargs
):
485 """AssignStateImageList(self, ImageList imageList)"""
486 return _gizmos
.TreeListCtrl_AssignStateImageList(*args
, **kwargs
)
488 def AssignButtonsImageList(*args
, **kwargs
):
489 """AssignButtonsImageList(self, ImageList imageList)"""
490 return _gizmos
.TreeListCtrl_AssignButtonsImageList(*args
, **kwargs
)
492 def AddColumn(*args
, **kwargs
):
493 """AddColumn(self, String text)"""
494 return _gizmos
.TreeListCtrl_AddColumn(*args
, **kwargs
)
496 def AddColumnInfo(*args
, **kwargs
):
497 """AddColumnInfo(self, TreeListColumnInfo col)"""
498 return _gizmos
.TreeListCtrl_AddColumnInfo(*args
, **kwargs
)
500 def InsertColumn(*args
, **kwargs
):
501 """InsertColumn(self, size_t before, String text)"""
502 return _gizmos
.TreeListCtrl_InsertColumn(*args
, **kwargs
)
504 def InsertColumnInfo(*args
, **kwargs
):
505 """InsertColumnInfo(self, size_t before, TreeListColumnInfo col)"""
506 return _gizmos
.TreeListCtrl_InsertColumnInfo(*args
, **kwargs
)
508 def RemoveColumn(*args
, **kwargs
):
509 """RemoveColumn(self, size_t column)"""
510 return _gizmos
.TreeListCtrl_RemoveColumn(*args
, **kwargs
)
512 def GetColumnCount(*args
, **kwargs
):
513 """GetColumnCount(self) -> size_t"""
514 return _gizmos
.TreeListCtrl_GetColumnCount(*args
, **kwargs
)
516 def SetColumnWidth(*args
, **kwargs
):
517 """SetColumnWidth(self, size_t column, size_t width)"""
518 return _gizmos
.TreeListCtrl_SetColumnWidth(*args
, **kwargs
)
520 def GetColumnWidth(*args
, **kwargs
):
521 """GetColumnWidth(self, size_t column) -> int"""
522 return _gizmos
.TreeListCtrl_GetColumnWidth(*args
, **kwargs
)
524 def SetMainColumn(*args
, **kwargs
):
525 """SetMainColumn(self, size_t column)"""
526 return _gizmos
.TreeListCtrl_SetMainColumn(*args
, **kwargs
)
528 def GetMainColumn(*args
, **kwargs
):
529 """GetMainColumn(self) -> size_t"""
530 return _gizmos
.TreeListCtrl_GetMainColumn(*args
, **kwargs
)
532 def SetColumnText(*args
, **kwargs
):
533 """SetColumnText(self, size_t column, String text)"""
534 return _gizmos
.TreeListCtrl_SetColumnText(*args
, **kwargs
)
536 def GetColumnText(*args
, **kwargs
):
537 """GetColumnText(self, size_t column) -> String"""
538 return _gizmos
.TreeListCtrl_GetColumnText(*args
, **kwargs
)
540 def SetColumn(*args
, **kwargs
):
541 """SetColumn(self, size_t column, TreeListColumnInfo info)"""
542 return _gizmos
.TreeListCtrl_SetColumn(*args
, **kwargs
)
544 def GetColumn(*args
, **kwargs
):
545 """GetColumn(self, size_t column) -> TreeListColumnInfo"""
546 return _gizmos
.TreeListCtrl_GetColumn(*args
, **kwargs
)
548 def SetColumnAlignment(*args
, **kwargs
):
549 """SetColumnAlignment(self, size_t column, int align)"""
550 return _gizmos
.TreeListCtrl_SetColumnAlignment(*args
, **kwargs
)
552 def GetColumnAlignment(*args
, **kwargs
):
553 """GetColumnAlignment(self, size_t column) -> int"""
554 return _gizmos
.TreeListCtrl_GetColumnAlignment(*args
, **kwargs
)
556 def SetColumnImage(*args
, **kwargs
):
557 """SetColumnImage(self, size_t column, int image)"""
558 return _gizmos
.TreeListCtrl_SetColumnImage(*args
, **kwargs
)
560 def GetColumnImage(*args
, **kwargs
):
561 """GetColumnImage(self, size_t column) -> int"""
562 return _gizmos
.TreeListCtrl_GetColumnImage(*args
, **kwargs
)
564 def ShowColumn(*args
, **kwargs
):
565 """ShowColumn(self, size_t column, bool shown)"""
566 return _gizmos
.TreeListCtrl_ShowColumn(*args
, **kwargs
)
568 def IsColumnShown(*args
, **kwargs
):
569 """IsColumnShown(self, size_t column) -> bool"""
570 return _gizmos
.TreeListCtrl_IsColumnShown(*args
, **kwargs
)
572 def GetItemText(*args
, **kwargs
):
573 """GetItemText(self, TreeItemId item, int column=-1) -> String"""
574 return _gizmos
.TreeListCtrl_GetItemText(*args
, **kwargs
)
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
)
580 def SetItemText(*args
, **kwargs
):
581 """SetItemText(self, TreeItemId item, String text, int column=-1)"""
582 return _gizmos
.TreeListCtrl_SetItemText(*args
, **kwargs
)
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
)
588 def GetItemData(*args
, **kwargs
):
589 """GetItemData(self, TreeItemId item) -> TreeItemData"""
590 return _gizmos
.TreeListCtrl_GetItemData(*args
, **kwargs
)
592 def SetItemData(*args
, **kwargs
):
593 """SetItemData(self, TreeItemId item, TreeItemData data)"""
594 return _gizmos
.TreeListCtrl_SetItemData(*args
, **kwargs
)
596 def GetItemPyData(*args
, **kwargs
):
597 """GetItemPyData(self, TreeItemId item) -> PyObject"""
598 return _gizmos
.TreeListCtrl_GetItemPyData(*args
, **kwargs
)
600 def SetItemPyData(*args
, **kwargs
):
601 """SetItemPyData(self, TreeItemId item, PyObject obj)"""
602 return _gizmos
.TreeListCtrl_SetItemPyData(*args
, **kwargs
)
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
)
610 def SetItemBold(*args
, **kwargs
):
611 """SetItemBold(self, TreeItemId item, bool bold=True)"""
612 return _gizmos
.TreeListCtrl_SetItemBold(*args
, **kwargs
)
614 def SetItemTextColour(*args
, **kwargs
):
615 """SetItemTextColour(self, TreeItemId item, Colour colour)"""
616 return _gizmos
.TreeListCtrl_SetItemTextColour(*args
, **kwargs
)
618 def SetItemBackgroundColour(*args
, **kwargs
):
619 """SetItemBackgroundColour(self, TreeItemId item, Colour colour)"""
620 return _gizmos
.TreeListCtrl_SetItemBackgroundColour(*args
, **kwargs
)
622 def SetItemFont(*args
, **kwargs
):
623 """SetItemFont(self, TreeItemId item, Font font)"""
624 return _gizmos
.TreeListCtrl_SetItemFont(*args
, **kwargs
)
626 def GetItemBold(*args
, **kwargs
):
627 """GetItemBold(self, TreeItemId item) -> bool"""
628 return _gizmos
.TreeListCtrl_GetItemBold(*args
, **kwargs
)
630 def GetItemTextColour(*args
, **kwargs
):
631 """GetItemTextColour(self, TreeItemId item) -> Colour"""
632 return _gizmos
.TreeListCtrl_GetItemTextColour(*args
, **kwargs
)
634 def GetItemBackgroundColour(*args
, **kwargs
):
635 """GetItemBackgroundColour(self, TreeItemId item) -> Colour"""
636 return _gizmos
.TreeListCtrl_GetItemBackgroundColour(*args
, **kwargs
)
638 def GetItemFont(*args
, **kwargs
):
639 """GetItemFont(self, TreeItemId item) -> Font"""
640 return _gizmos
.TreeListCtrl_GetItemFont(*args
, **kwargs
)
642 def IsVisible(*args
, **kwargs
):
643 """IsVisible(self, TreeItemId item) -> bool"""
644 return _gizmos
.TreeListCtrl_IsVisible(*args
, **kwargs
)
646 def ItemHasChildren(*args
, **kwargs
):
647 """ItemHasChildren(self, TreeItemId item) -> bool"""
648 return _gizmos
.TreeListCtrl_ItemHasChildren(*args
, **kwargs
)
650 def IsExpanded(*args
, **kwargs
):
651 """IsExpanded(self, TreeItemId item) -> bool"""
652 return _gizmos
.TreeListCtrl_IsExpanded(*args
, **kwargs
)
654 def IsSelected(*args
, **kwargs
):
655 """IsSelected(self, TreeItemId item) -> bool"""
656 return _gizmos
.TreeListCtrl_IsSelected(*args
, **kwargs
)
658 def IsBold(*args
, **kwargs
):
659 """IsBold(self, TreeItemId item) -> bool"""
660 return _gizmos
.TreeListCtrl_IsBold(*args
, **kwargs
)
662 def GetChildrenCount(*args
, **kwargs
):
663 """GetChildrenCount(self, TreeItemId item, bool recursively=True) -> size_t"""
664 return _gizmos
.TreeListCtrl_GetChildrenCount(*args
, **kwargs
)
666 def GetRootItem(*args
, **kwargs
):
667 """GetRootItem(self) -> TreeItemId"""
668 return _gizmos
.TreeListCtrl_GetRootItem(*args
, **kwargs
)
670 def GetSelection(*args
, **kwargs
):
671 """GetSelection(self) -> TreeItemId"""
672 return _gizmos
.TreeListCtrl_GetSelection(*args
, **kwargs
)
674 def GetSelections(*args
, **kwargs
):
675 """GetSelections(self) -> PyObject"""
676 return _gizmos
.TreeListCtrl_GetSelections(*args
, **kwargs
)
678 def GetItemParent(*args
, **kwargs
):
679 """GetItemParent(self, TreeItemId item) -> TreeItemId"""
680 return _gizmos
.TreeListCtrl_GetItemParent(*args
, **kwargs
)
682 def GetFirstChild(*args
, **kwargs
):
683 """GetFirstChild(self, TreeItemId item) -> PyObject"""
684 return _gizmos
.TreeListCtrl_GetFirstChild(*args
, **kwargs
)
686 def GetNextChild(*args
, **kwargs
):
687 """GetNextChild(self, TreeItemId item, void cookie) -> PyObject"""
688 return _gizmos
.TreeListCtrl_GetNextChild(*args
, **kwargs
)
690 def GetLastChild(*args
, **kwargs
):
691 """GetLastChild(self, TreeItemId item) -> TreeItemId"""
692 return _gizmos
.TreeListCtrl_GetLastChild(*args
, **kwargs
)
694 def GetNextSibling(*args
, **kwargs
):
695 """GetNextSibling(self, TreeItemId item) -> TreeItemId"""
696 return _gizmos
.TreeListCtrl_GetNextSibling(*args
, **kwargs
)
698 def GetPrevSibling(*args
, **kwargs
):
699 """GetPrevSibling(self, TreeItemId item) -> TreeItemId"""
700 return _gizmos
.TreeListCtrl_GetPrevSibling(*args
, **kwargs
)
702 def GetFirstVisibleItem(*args
, **kwargs
):
703 """GetFirstVisibleItem(self) -> TreeItemId"""
704 return _gizmos
.TreeListCtrl_GetFirstVisibleItem(*args
, **kwargs
)
706 def GetNextVisible(*args
, **kwargs
):
707 """GetNextVisible(self, TreeItemId item) -> TreeItemId"""
708 return _gizmos
.TreeListCtrl_GetNextVisible(*args
, **kwargs
)
710 def GetPrevVisible(*args
, **kwargs
):
711 """GetPrevVisible(self, TreeItemId item) -> TreeItemId"""
712 return _gizmos
.TreeListCtrl_GetPrevVisible(*args
, **kwargs
)
714 def GetNext(*args
, **kwargs
):
715 """GetNext(self, TreeItemId item) -> TreeItemId"""
716 return _gizmos
.TreeListCtrl_GetNext(*args
, **kwargs
)
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
)
722 def PrependItem(*args
, **kwargs
):
724 PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
725 TreeItemData data=None) -> TreeItemId
727 return _gizmos
.TreeListCtrl_PrependItem(*args
, **kwargs
)
729 def InsertItem(*args
, **kwargs
):
731 InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text,
732 int image=-1, int selectedImage=-1, TreeItemData data=None) -> TreeItemId
734 return _gizmos
.TreeListCtrl_InsertItem(*args
, **kwargs
)
736 def InsertItemBefore(*args
, **kwargs
):
738 InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1,
739 int selectedImage=-1, TreeItemData data=None) -> TreeItemId
741 return _gizmos
.TreeListCtrl_InsertItemBefore(*args
, **kwargs
)
743 def AppendItem(*args
, **kwargs
):
745 AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1,
746 TreeItemData data=None) -> TreeItemId
748 return _gizmos
.TreeListCtrl_AppendItem(*args
, **kwargs
)
750 def Delete(*args
, **kwargs
):
751 """Delete(self, TreeItemId item)"""
752 return _gizmos
.TreeListCtrl_Delete(*args
, **kwargs
)
754 def DeleteChildren(*args
, **kwargs
):
755 """DeleteChildren(self, TreeItemId item)"""
756 return _gizmos
.TreeListCtrl_DeleteChildren(*args
, **kwargs
)
758 def DeleteAllItems(*args
, **kwargs
):
759 """DeleteAllItems(self)"""
760 return _gizmos
.TreeListCtrl_DeleteAllItems(*args
, **kwargs
)
762 def Expand(*args
, **kwargs
):
763 """Expand(self, TreeItemId item)"""
764 return _gizmos
.TreeListCtrl_Expand(*args
, **kwargs
)
766 def ExpandAll(*args
, **kwargs
):
767 """ExpandAll(self, TreeItemId item)"""
768 return _gizmos
.TreeListCtrl_ExpandAll(*args
, **kwargs
)
770 def Collapse(*args
, **kwargs
):
771 """Collapse(self, TreeItemId item)"""
772 return _gizmos
.TreeListCtrl_Collapse(*args
, **kwargs
)
774 def CollapseAndReset(*args
, **kwargs
):
775 """CollapseAndReset(self, TreeItemId item)"""
776 return _gizmos
.TreeListCtrl_CollapseAndReset(*args
, **kwargs
)
778 def Toggle(*args
, **kwargs
):
779 """Toggle(self, TreeItemId item)"""
780 return _gizmos
.TreeListCtrl_Toggle(*args
, **kwargs
)
782 def Unselect(*args
, **kwargs
):
784 return _gizmos
.TreeListCtrl_Unselect(*args
, **kwargs
)
786 def UnselectAll(*args
, **kwargs
):
787 """UnselectAll(self)"""
788 return _gizmos
.TreeListCtrl_UnselectAll(*args
, **kwargs
)
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
)
794 def SelectAll(*args
, **kwargs
):
795 """SelectAll(self, bool extended_select=False)"""
796 return _gizmos
.TreeListCtrl_SelectAll(*args
, **kwargs
)
798 def EnsureVisible(*args
, **kwargs
):
799 """EnsureVisible(self, TreeItemId item)"""
800 return _gizmos
.TreeListCtrl_EnsureVisible(*args
, **kwargs
)
802 def ScrollTo(*args
, **kwargs
):
803 """ScrollTo(self, TreeItemId item)"""
804 return _gizmos
.TreeListCtrl_ScrollTo(*args
, **kwargs
)
806 def HitTest(*args
, **kwargs
):
807 """HitTest(self, Point point, int OUTPUT, int OUTPUT) -> TreeItemId"""
808 return _gizmos
.TreeListCtrl_HitTest(*args
, **kwargs
)
810 def GetBoundingRect(*args
, **kwargs
):
811 """GetBoundingRect(self, TreeItemId item, bool textOnly=False) -> PyObject"""
812 return _gizmos
.TreeListCtrl_GetBoundingRect(*args
, **kwargs
)
814 def EditLabel(*args
, **kwargs
):
815 """EditLabel(self, TreeItemId item)"""
816 return _gizmos
.TreeListCtrl_EditLabel(*args
, **kwargs
)
818 def Edit(*args
, **kwargs
):
819 """Edit(self, TreeItemId item)"""
820 return _gizmos
.TreeListCtrl_Edit(*args
, **kwargs
)
822 def SortChildren(*args
, **kwargs
):
823 """SortChildren(self, TreeItemId item)"""
824 return _gizmos
.TreeListCtrl_SortChildren(*args
, **kwargs
)
826 def FindItem(*args
, **kwargs
):
827 """FindItem(self, TreeItemId item, String str, int flags=0) -> TreeItemId"""
828 return _gizmos
.TreeListCtrl_FindItem(*args
, **kwargs
)
830 def GetHeaderWindow(*args
, **kwargs
):
831 """GetHeaderWindow(self) -> Window"""
832 return _gizmos
.TreeListCtrl_GetHeaderWindow(*args
, **kwargs
)
834 def GetMainWindow(*args
, **kwargs
):
835 """GetMainWindow(self) -> ScrolledWindow"""
836 return _gizmos
.TreeListCtrl_GetMainWindow(*args
, **kwargs
)
838 _gizmos
.TreeListCtrl_swigregister(TreeListCtrl
)
840 def PreTreeListCtrl(*args
, **kwargs
):
841 """PreTreeListCtrl() -> TreeListCtrl"""
842 val
= _gizmos
.new_PreTreeListCtrl(*args
, **kwargs
)
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
):
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
859 _gizmos
.StaticPicture_swiginit(self
,_gizmos
.new_StaticPicture(*args
, **kwargs
))
860 self
._setOORInfo
(self
)
862 def Create(*args
, **kwargs
):
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
868 return _gizmos
.StaticPicture_Create(*args
, **kwargs
)
870 def SetBitmap(*args
, **kwargs
):
871 """SetBitmap(self, Bitmap bmp)"""
872 return _gizmos
.StaticPicture_SetBitmap(*args
, **kwargs
)
874 def GetBitmap(*args
, **kwargs
):
875 """GetBitmap(self) -> Bitmap"""
876 return _gizmos
.StaticPicture_GetBitmap(*args
, **kwargs
)
878 def SetIcon(*args
, **kwargs
):
879 """SetIcon(self, Icon icon)"""
880 return _gizmos
.StaticPicture_SetIcon(*args
, **kwargs
)
882 def GetIcon(*args
, **kwargs
):
883 """GetIcon(self) -> Icon"""
884 return _gizmos
.StaticPicture_GetIcon(*args
, **kwargs
)
886 def SetAlignment(*args
, **kwargs
):
887 """SetAlignment(self, int align)"""
888 return _gizmos
.StaticPicture_SetAlignment(*args
, **kwargs
)
890 def GetAlignment(*args
, **kwargs
):
892 GetAlignment(self) -> int
894 Get the control alignment (left/right/centre, top/bottom/centre)
896 return _gizmos
.StaticPicture_GetAlignment(*args
, **kwargs
)
898 def SetScale(*args
, **kwargs
):
899 """SetScale(self, int scale)"""
900 return _gizmos
.StaticPicture_SetScale(*args
, **kwargs
)
902 def GetScale(*args
, **kwargs
):
903 """GetScale(self) -> int"""
904 return _gizmos
.StaticPicture_GetScale(*args
, **kwargs
)
906 def SetCustomScale(*args
, **kwargs
):
907 """SetCustomScale(self, float sx, float sy)"""
908 return _gizmos
.StaticPicture_SetCustomScale(*args
, **kwargs
)
910 def GetCustomScale(*args
, **kwargs
):
911 """GetCustomScale(self, float OUTPUT, float OUTPUT)"""
912 return _gizmos
.StaticPicture_GetCustomScale(*args
, **kwargs
)
914 _gizmos
.StaticPicture_swigregister(StaticPicture
)
916 def PreStaticPicture(*args
, **kwargs
):
917 """PreStaticPicture() -> StaticPicture"""
918 val
= _gizmos
.new_PreStaticPicture(*args
, **kwargs
)