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