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