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