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