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