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