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