]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls2.py
added carbonaccessors.o
[wxWidgets.git] / wxPython / src / gtk / controls2.py
1 # This file was created automatically by SWIG.
2 import controls2c
3
4 from misc import *
5
6 from windows import *
7
8 from gdi import *
9
10 from clip_dnd import *
11
12 from events import *
13
14 from controls import *
15 import wx
16
17 def EVT_LIST_BEGIN_DRAG(win, id, func):
18 win.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_DRAG, func)
19
20 def EVT_LIST_BEGIN_RDRAG(win, id, func):
21 win.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_RDRAG, func)
22
23 def EVT_LIST_BEGIN_LABEL_EDIT(win, id, func):
24 win.Connect(id, -1, wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, func)
25
26 def EVT_LIST_END_LABEL_EDIT(win, id, func):
27 win.Connect(id, -1, wxEVT_COMMAND_LIST_END_LABEL_EDIT, func)
28
29 def EVT_LIST_DELETE_ITEM(win, id, func):
30 win.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ITEM, func)
31
32 def EVT_LIST_DELETE_ALL_ITEMS(win, id, func):
33 win.Connect(id, -1, wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, func)
34
35 def EVT_LIST_GET_INFO(win, id, func):
36 win.Connect(id, -1, wxEVT_COMMAND_LIST_GET_INFO, func)
37
38 def EVT_LIST_SET_INFO(win, id, func):
39 win.Connect(id, -1, wxEVT_COMMAND_LIST_SET_INFO, func)
40
41 def EVT_LIST_ITEM_SELECTED(win, id, func):
42 win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_SELECTED, func)
43
44 def EVT_LIST_ITEM_DESELECTED(win, id, func):
45 win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_DESELECTED, func)
46
47 def EVT_LIST_KEY_DOWN(win, id, func):
48 win.Connect(id, -1, wxEVT_COMMAND_LIST_KEY_DOWN, func)
49
50 def EVT_LIST_INSERT_ITEM(win, id, func):
51 win.Connect(id, -1, wxEVT_COMMAND_LIST_INSERT_ITEM, func)
52
53 def EVT_LIST_COL_CLICK(win, id, func):
54 win.Connect(id, -1, wxEVT_COMMAND_LIST_COL_CLICK, func)
55
56 def EVT_LIST_ITEM_RIGHT_CLICK(win, id, func):
57 win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, func)
58
59 def EVT_LIST_ITEM_MIDDLE_CLICK(win, id, func):
60 win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, func)
61
62 def EVT_LIST_ITEM_ACTIVATED(win, id, func):
63 win.Connect(id, -1, wxEVT_COMMAND_LIST_ITEM_ACTIVATED, func)
64
65 def EVT_LIST_CACHE_HINT(win, id, func):
66 win.Connect(id, -1, wxEVT_COMMAND_LIST_CACHE_HINT, func)
67
68 class wxListItemAttrPtr :
69 def __init__(self,this):
70 self.this = this
71 self.thisown = 0
72 def SetTextColour(self, *_args, **_kwargs):
73 val = apply(controls2c.wxListItemAttr_SetTextColour,(self,) + _args, _kwargs)
74 return val
75 def SetBackgroundColour(self, *_args, **_kwargs):
76 val = apply(controls2c.wxListItemAttr_SetBackgroundColour,(self,) + _args, _kwargs)
77 return val
78 def SetFont(self, *_args, **_kwargs):
79 val = apply(controls2c.wxListItemAttr_SetFont,(self,) + _args, _kwargs)
80 return val
81 def HasTextColour(self, *_args, **_kwargs):
82 val = apply(controls2c.wxListItemAttr_HasTextColour,(self,) + _args, _kwargs)
83 return val
84 def HasBackgroundColour(self, *_args, **_kwargs):
85 val = apply(controls2c.wxListItemAttr_HasBackgroundColour,(self,) + _args, _kwargs)
86 return val
87 def HasFont(self, *_args, **_kwargs):
88 val = apply(controls2c.wxListItemAttr_HasFont,(self,) + _args, _kwargs)
89 return val
90 def GetTextColour(self, *_args, **_kwargs):
91 val = apply(controls2c.wxListItemAttr_GetTextColour,(self,) + _args, _kwargs)
92 if val: val = wxColourPtr(val)
93 return val
94 def GetBackgroundColour(self, *_args, **_kwargs):
95 val = apply(controls2c.wxListItemAttr_GetBackgroundColour,(self,) + _args, _kwargs)
96 if val: val = wxColourPtr(val)
97 return val
98 def GetFont(self, *_args, **_kwargs):
99 val = apply(controls2c.wxListItemAttr_GetFont,(self,) + _args, _kwargs)
100 if val: val = wxFontPtr(val)
101 return val
102 def __repr__(self):
103 return "<C wxListItemAttr instance at %s>" % (self.this,)
104 class wxListItemAttr(wxListItemAttrPtr):
105 def __init__(self,*_args,**_kwargs):
106 self.this = apply(controls2c.new_wxListItemAttr,_args,_kwargs)
107 self.thisown = 1
108
109
110
111
112 class wxListItemPtr(wxObjectPtr):
113 def __init__(self,this):
114 self.this = this
115 self.thisown = 0
116 def __del__(self,controls2c=controls2c):
117 if self.thisown == 1 :
118 controls2c.delete_wxListItem(self)
119 def Clear(self, *_args, **_kwargs):
120 val = apply(controls2c.wxListItem_Clear,(self,) + _args, _kwargs)
121 return val
122 def ClearAttributes(self, *_args, **_kwargs):
123 val = apply(controls2c.wxListItem_ClearAttributes,(self,) + _args, _kwargs)
124 return val
125 def SetMask(self, *_args, **_kwargs):
126 val = apply(controls2c.wxListItem_SetMask,(self,) + _args, _kwargs)
127 return val
128 def SetId(self, *_args, **_kwargs):
129 val = apply(controls2c.wxListItem_SetId,(self,) + _args, _kwargs)
130 return val
131 def SetColumn(self, *_args, **_kwargs):
132 val = apply(controls2c.wxListItem_SetColumn,(self,) + _args, _kwargs)
133 return val
134 def SetState(self, *_args, **_kwargs):
135 val = apply(controls2c.wxListItem_SetState,(self,) + _args, _kwargs)
136 return val
137 def SetStateMask(self, *_args, **_kwargs):
138 val = apply(controls2c.wxListItem_SetStateMask,(self,) + _args, _kwargs)
139 return val
140 def SetText(self, *_args, **_kwargs):
141 val = apply(controls2c.wxListItem_SetText,(self,) + _args, _kwargs)
142 return val
143 def SetImage(self, *_args, **_kwargs):
144 val = apply(controls2c.wxListItem_SetImage,(self,) + _args, _kwargs)
145 return val
146 def SetData(self, *_args, **_kwargs):
147 val = apply(controls2c.wxListItem_SetData,(self,) + _args, _kwargs)
148 return val
149 def SetWidth(self, *_args, **_kwargs):
150 val = apply(controls2c.wxListItem_SetWidth,(self,) + _args, _kwargs)
151 return val
152 def SetAlign(self, *_args, **_kwargs):
153 val = apply(controls2c.wxListItem_SetAlign,(self,) + _args, _kwargs)
154 return val
155 def SetTextColour(self, *_args, **_kwargs):
156 val = apply(controls2c.wxListItem_SetTextColour,(self,) + _args, _kwargs)
157 return val
158 def SetBackgroundColour(self, *_args, **_kwargs):
159 val = apply(controls2c.wxListItem_SetBackgroundColour,(self,) + _args, _kwargs)
160 return val
161 def SetFont(self, *_args, **_kwargs):
162 val = apply(controls2c.wxListItem_SetFont,(self,) + _args, _kwargs)
163 return val
164 def GetMask(self, *_args, **_kwargs):
165 val = apply(controls2c.wxListItem_GetMask,(self,) + _args, _kwargs)
166 return val
167 def GetId(self, *_args, **_kwargs):
168 val = apply(controls2c.wxListItem_GetId,(self,) + _args, _kwargs)
169 return val
170 def GetColumn(self, *_args, **_kwargs):
171 val = apply(controls2c.wxListItem_GetColumn,(self,) + _args, _kwargs)
172 return val
173 def GetState(self, *_args, **_kwargs):
174 val = apply(controls2c.wxListItem_GetState,(self,) + _args, _kwargs)
175 return val
176 def GetText(self, *_args, **_kwargs):
177 val = apply(controls2c.wxListItem_GetText,(self,) + _args, _kwargs)
178 return val
179 def GetImage(self, *_args, **_kwargs):
180 val = apply(controls2c.wxListItem_GetImage,(self,) + _args, _kwargs)
181 return val
182 def GetData(self, *_args, **_kwargs):
183 val = apply(controls2c.wxListItem_GetData,(self,) + _args, _kwargs)
184 return val
185 def GetWidth(self, *_args, **_kwargs):
186 val = apply(controls2c.wxListItem_GetWidth,(self,) + _args, _kwargs)
187 return val
188 def GetAlign(self, *_args, **_kwargs):
189 val = apply(controls2c.wxListItem_GetAlign,(self,) + _args, _kwargs)
190 return val
191 def GetAttributes(self, *_args, **_kwargs):
192 val = apply(controls2c.wxListItem_GetAttributes,(self,) + _args, _kwargs)
193 if val: val = wxListItemAttrPtr(val)
194 return val
195 def HasAttributes(self, *_args, **_kwargs):
196 val = apply(controls2c.wxListItem_HasAttributes,(self,) + _args, _kwargs)
197 return val
198 def GetTextColour(self, *_args, **_kwargs):
199 val = apply(controls2c.wxListItem_GetTextColour,(self,) + _args, _kwargs)
200 if val: val = wxColourPtr(val) ; val.thisown = 1
201 return val
202 def GetBackgroundColour(self, *_args, **_kwargs):
203 val = apply(controls2c.wxListItem_GetBackgroundColour,(self,) + _args, _kwargs)
204 if val: val = wxColourPtr(val) ; val.thisown = 1
205 return val
206 def GetFont(self, *_args, **_kwargs):
207 val = apply(controls2c.wxListItem_GetFont,(self,) + _args, _kwargs)
208 if val: val = wxFontPtr(val) ; val.thisown = 1
209 return val
210 def __setattr__(self,name,value):
211 if name == "m_mask" :
212 controls2c.wxListItem_m_mask_set(self,value)
213 return
214 if name == "m_itemId" :
215 controls2c.wxListItem_m_itemId_set(self,value)
216 return
217 if name == "m_col" :
218 controls2c.wxListItem_m_col_set(self,value)
219 return
220 if name == "m_state" :
221 controls2c.wxListItem_m_state_set(self,value)
222 return
223 if name == "m_stateMask" :
224 controls2c.wxListItem_m_stateMask_set(self,value)
225 return
226 if name == "m_text" :
227 controls2c.wxListItem_m_text_set(self,value)
228 return
229 if name == "m_image" :
230 controls2c.wxListItem_m_image_set(self,value)
231 return
232 if name == "m_data" :
233 controls2c.wxListItem_m_data_set(self,value)
234 return
235 if name == "m_format" :
236 controls2c.wxListItem_m_format_set(self,value)
237 return
238 if name == "m_width" :
239 controls2c.wxListItem_m_width_set(self,value)
240 return
241 self.__dict__[name] = value
242 def __getattr__(self,name):
243 if name == "m_mask" :
244 return controls2c.wxListItem_m_mask_get(self)
245 if name == "m_itemId" :
246 return controls2c.wxListItem_m_itemId_get(self)
247 if name == "m_col" :
248 return controls2c.wxListItem_m_col_get(self)
249 if name == "m_state" :
250 return controls2c.wxListItem_m_state_get(self)
251 if name == "m_stateMask" :
252 return controls2c.wxListItem_m_stateMask_get(self)
253 if name == "m_text" :
254 return controls2c.wxListItem_m_text_get(self)
255 if name == "m_image" :
256 return controls2c.wxListItem_m_image_get(self)
257 if name == "m_data" :
258 return controls2c.wxListItem_m_data_get(self)
259 if name == "m_format" :
260 return controls2c.wxListItem_m_format_get(self)
261 if name == "m_width" :
262 return controls2c.wxListItem_m_width_get(self)
263 raise AttributeError,name
264 def __repr__(self):
265 return "<C wxListItem instance at %s>" % (self.this,)
266 class wxListItem(wxListItemPtr):
267 def __init__(self,*_args,**_kwargs):
268 self.this = apply(controls2c.new_wxListItem,_args,_kwargs)
269 self.thisown = 1
270
271
272
273
274 class wxListEventPtr(wxNotifyEventPtr):
275 def __init__(self,this):
276 self.this = this
277 self.thisown = 0
278 def GetCode(self, *_args, **_kwargs):
279 val = apply(controls2c.wxListEvent_GetCode,(self,) + _args, _kwargs)
280 return val
281 def GetIndex(self, *_args, **_kwargs):
282 val = apply(controls2c.wxListEvent_GetIndex,(self,) + _args, _kwargs)
283 return val
284 def GetOldIndex(self, *_args, **_kwargs):
285 val = apply(controls2c.wxListEvent_GetOldIndex,(self,) + _args, _kwargs)
286 return val
287 def GetOldItem(self, *_args, **_kwargs):
288 val = apply(controls2c.wxListEvent_GetOldItem,(self,) + _args, _kwargs)
289 return val
290 def GetColumn(self, *_args, **_kwargs):
291 val = apply(controls2c.wxListEvent_GetColumn,(self,) + _args, _kwargs)
292 return val
293 def Cancelled(self, *_args, **_kwargs):
294 val = apply(controls2c.wxListEvent_Cancelled,(self,) + _args, _kwargs)
295 return val
296 def GetPoint(self, *_args, **_kwargs):
297 val = apply(controls2c.wxListEvent_GetPoint,(self,) + _args, _kwargs)
298 if val: val = wxPointPtr(val) ; val.thisown = 1
299 return val
300 def GetLabel(self, *_args, **_kwargs):
301 val = apply(controls2c.wxListEvent_GetLabel,(self,) + _args, _kwargs)
302 return val
303 def GetText(self, *_args, **_kwargs):
304 val = apply(controls2c.wxListEvent_GetText,(self,) + _args, _kwargs)
305 return val
306 def GetImage(self, *_args, **_kwargs):
307 val = apply(controls2c.wxListEvent_GetImage,(self,) + _args, _kwargs)
308 return val
309 def GetData(self, *_args, **_kwargs):
310 val = apply(controls2c.wxListEvent_GetData,(self,) + _args, _kwargs)
311 return val
312 def GetMask(self, *_args, **_kwargs):
313 val = apply(controls2c.wxListEvent_GetMask,(self,) + _args, _kwargs)
314 return val
315 def GetItem(self, *_args, **_kwargs):
316 val = apply(controls2c.wxListEvent_GetItem,(self,) + _args, _kwargs)
317 return val
318 def __setattr__(self,name,value):
319 if name == "m_code" :
320 controls2c.wxListEvent_m_code_set(self,value)
321 return
322 if name == "m_itemIndex" :
323 controls2c.wxListEvent_m_itemIndex_set(self,value)
324 return
325 if name == "m_oldItemIndex" :
326 controls2c.wxListEvent_m_oldItemIndex_set(self,value)
327 return
328 if name == "m_col" :
329 controls2c.wxListEvent_m_col_set(self,value)
330 return
331 if name == "m_cancelled" :
332 controls2c.wxListEvent_m_cancelled_set(self,value)
333 return
334 if name == "m_pointDrag" :
335 controls2c.wxListEvent_m_pointDrag_set(self,value.this)
336 return
337 if name == "m_item" :
338 controls2c.wxListEvent_m_item_set(self,value.this)
339 return
340 self.__dict__[name] = value
341 def __getattr__(self,name):
342 if name == "m_code" :
343 return controls2c.wxListEvent_m_code_get(self)
344 if name == "m_itemIndex" :
345 return controls2c.wxListEvent_m_itemIndex_get(self)
346 if name == "m_oldItemIndex" :
347 return controls2c.wxListEvent_m_oldItemIndex_get(self)
348 if name == "m_col" :
349 return controls2c.wxListEvent_m_col_get(self)
350 if name == "m_cancelled" :
351 return controls2c.wxListEvent_m_cancelled_get(self)
352 if name == "m_pointDrag" :
353 return wxPointPtr(controls2c.wxListEvent_m_pointDrag_get(self))
354 if name == "m_item" :
355 return wxListItemPtr(controls2c.wxListEvent_m_item_get(self))
356 raise AttributeError,name
357 def __repr__(self):
358 return "<C wxListEvent instance at %s>" % (self.this,)
359 class wxListEvent(wxListEventPtr):
360 def __init__(self,this):
361 self.this = this
362
363
364
365
366 class wxListCtrlPtr(wxControlPtr):
367 def __init__(self,this):
368 self.this = this
369 self.thisown = 0
370 def _setSelf(self, *_args, **_kwargs):
371 val = apply(controls2c.wxListCtrl__setSelf,(self,) + _args, _kwargs)
372 return val
373 def SetForegroundColour(self, *_args, **_kwargs):
374 val = apply(controls2c.wxListCtrl_SetForegroundColour,(self,) + _args, _kwargs)
375 return val
376 def SetBackgroundColour(self, *_args, **_kwargs):
377 val = apply(controls2c.wxListCtrl_SetBackgroundColour,(self,) + _args, _kwargs)
378 return val
379 def GetColumn(self, *_args, **_kwargs):
380 val = apply(controls2c.wxListCtrl_GetColumn,(self,) + _args, _kwargs)
381 return val
382 def SetColumn(self, *_args, **_kwargs):
383 val = apply(controls2c.wxListCtrl_SetColumn,(self,) + _args, _kwargs)
384 return val
385 def GetColumnWidth(self, *_args, **_kwargs):
386 val = apply(controls2c.wxListCtrl_GetColumnWidth,(self,) + _args, _kwargs)
387 return val
388 def SetColumnWidth(self, *_args, **_kwargs):
389 val = apply(controls2c.wxListCtrl_SetColumnWidth,(self,) + _args, _kwargs)
390 return val
391 def GetCountPerPage(self, *_args, **_kwargs):
392 val = apply(controls2c.wxListCtrl_GetCountPerPage,(self,) + _args, _kwargs)
393 return val
394 def GetItem(self, *_args, **_kwargs):
395 val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
396 return val
397 def SetItem(self, *_args, **_kwargs):
398 val = apply(controls2c.wxListCtrl_SetItem,(self,) + _args, _kwargs)
399 return val
400 def SetStringItem(self, *_args, **_kwargs):
401 val = apply(controls2c.wxListCtrl_SetStringItem,(self,) + _args, _kwargs)
402 return val
403 def GetItemState(self, *_args, **_kwargs):
404 val = apply(controls2c.wxListCtrl_GetItemState,(self,) + _args, _kwargs)
405 return val
406 def SetItemState(self, *_args, **_kwargs):
407 val = apply(controls2c.wxListCtrl_SetItemState,(self,) + _args, _kwargs)
408 return val
409 def SetItemImage(self, *_args, **_kwargs):
410 val = apply(controls2c.wxListCtrl_SetItemImage,(self,) + _args, _kwargs)
411 return val
412 def GetItemText(self, *_args, **_kwargs):
413 val = apply(controls2c.wxListCtrl_GetItemText,(self,) + _args, _kwargs)
414 return val
415 def SetItemText(self, *_args, **_kwargs):
416 val = apply(controls2c.wxListCtrl_SetItemText,(self,) + _args, _kwargs)
417 return val
418 def GetItemData(self, *_args, **_kwargs):
419 val = apply(controls2c.wxListCtrl_GetItemData,(self,) + _args, _kwargs)
420 return val
421 def SetItemData(self, *_args, **_kwargs):
422 val = apply(controls2c.wxListCtrl_SetItemData,(self,) + _args, _kwargs)
423 return val
424 def GetItemPosition(self, *_args, **_kwargs):
425 val = apply(controls2c.wxListCtrl_GetItemPosition,(self,) + _args, _kwargs)
426 if val: val = wxPointPtr(val) ; val.thisown = 1
427 return val
428 def GetItemRect(self, *_args, **_kwargs):
429 val = apply(controls2c.wxListCtrl_GetItemRect,(self,) + _args, _kwargs)
430 if val: val = wxRectPtr(val) ; val.thisown = 1
431 return val
432 def SetItemPosition(self, *_args, **_kwargs):
433 val = apply(controls2c.wxListCtrl_SetItemPosition,(self,) + _args, _kwargs)
434 return val
435 def GetItemCount(self, *_args, **_kwargs):
436 val = apply(controls2c.wxListCtrl_GetItemCount,(self,) + _args, _kwargs)
437 return val
438 def GetColumnCount(self, *_args, **_kwargs):
439 val = apply(controls2c.wxListCtrl_GetColumnCount,(self,) + _args, _kwargs)
440 return val
441 def GetItemSpacing(self, *_args, **_kwargs):
442 val = apply(controls2c.wxListCtrl_GetItemSpacing,(self,) + _args, _kwargs)
443 return val
444 def GetSelectedItemCount(self, *_args, **_kwargs):
445 val = apply(controls2c.wxListCtrl_GetSelectedItemCount,(self,) + _args, _kwargs)
446 return val
447 def GetTextColour(self, *_args, **_kwargs):
448 val = apply(controls2c.wxListCtrl_GetTextColour,(self,) + _args, _kwargs)
449 if val: val = wxColourPtr(val) ; val.thisown = 1
450 return val
451 def SetTextColour(self, *_args, **_kwargs):
452 val = apply(controls2c.wxListCtrl_SetTextColour,(self,) + _args, _kwargs)
453 return val
454 def GetTopItem(self, *_args, **_kwargs):
455 val = apply(controls2c.wxListCtrl_GetTopItem,(self,) + _args, _kwargs)
456 return val
457 def SetSingleStyle(self, *_args, **_kwargs):
458 val = apply(controls2c.wxListCtrl_SetSingleStyle,(self,) + _args, _kwargs)
459 return val
460 def SetWindowStyleFlag(self, *_args, **_kwargs):
461 val = apply(controls2c.wxListCtrl_SetWindowStyleFlag,(self,) + _args, _kwargs)
462 return val
463 def GetNextItem(self, *_args, **_kwargs):
464 val = apply(controls2c.wxListCtrl_GetNextItem,(self,) + _args, _kwargs)
465 return val
466 def GetImageList(self, *_args, **_kwargs):
467 val = apply(controls2c.wxListCtrl_GetImageList,(self,) + _args, _kwargs)
468 return val
469 def SetImageList(self, *_args, **_kwargs):
470 val = apply(controls2c.wxListCtrl_SetImageList,(self,) + _args, _kwargs)
471 return val
472 def AssignImageList(self, *_args, **_kwargs):
473 val = apply(controls2c.wxListCtrl_AssignImageList,(self,) + _args, _kwargs)
474 _args[0].thisown = 0
475 return val
476 def IsVirtual(self, *_args, **_kwargs):
477 val = apply(controls2c.wxListCtrl_IsVirtual,(self,) + _args, _kwargs)
478 return val
479 def RefreshItem(self, *_args, **_kwargs):
480 val = apply(controls2c.wxListCtrl_RefreshItem,(self,) + _args, _kwargs)
481 return val
482 def RefreshItems(self, *_args, **_kwargs):
483 val = apply(controls2c.wxListCtrl_RefreshItems,(self,) + _args, _kwargs)
484 return val
485 def Arrange(self, *_args, **_kwargs):
486 val = apply(controls2c.wxListCtrl_Arrange,(self,) + _args, _kwargs)
487 return val
488 def DeleteItem(self, *_args, **_kwargs):
489 val = apply(controls2c.wxListCtrl_DeleteItem,(self,) + _args, _kwargs)
490 return val
491 def DeleteAllItems(self, *_args, **_kwargs):
492 val = apply(controls2c.wxListCtrl_DeleteAllItems,(self,) + _args, _kwargs)
493 return val
494 def DeleteColumn(self, *_args, **_kwargs):
495 val = apply(controls2c.wxListCtrl_DeleteColumn,(self,) + _args, _kwargs)
496 return val
497 def DeleteAllColumns(self, *_args, **_kwargs):
498 val = apply(controls2c.wxListCtrl_DeleteAllColumns,(self,) + _args, _kwargs)
499 return val
500 def ClearAll(self, *_args, **_kwargs):
501 val = apply(controls2c.wxListCtrl_ClearAll,(self,) + _args, _kwargs)
502 return val
503 def EnsureVisible(self, *_args, **_kwargs):
504 val = apply(controls2c.wxListCtrl_EnsureVisible,(self,) + _args, _kwargs)
505 return val
506 def FindItem(self, *_args, **_kwargs):
507 val = apply(controls2c.wxListCtrl_FindItem,(self,) + _args, _kwargs)
508 return val
509 def FindItemData(self, *_args, **_kwargs):
510 val = apply(controls2c.wxListCtrl_FindItemData,(self,) + _args, _kwargs)
511 return val
512 def FindItemAtPos(self, *_args, **_kwargs):
513 val = apply(controls2c.wxListCtrl_FindItemAtPos,(self,) + _args, _kwargs)
514 return val
515 def HitTest(self, *_args, **_kwargs):
516 val = apply(controls2c.wxListCtrl_HitTest,(self,) + _args, _kwargs)
517 return val
518 def InsertItem(self, *_args, **_kwargs):
519 val = apply(controls2c.wxListCtrl_InsertItem,(self,) + _args, _kwargs)
520 return val
521 def InsertStringItem(self, *_args, **_kwargs):
522 val = apply(controls2c.wxListCtrl_InsertStringItem,(self,) + _args, _kwargs)
523 return val
524 def InsertImageItem(self, *_args, **_kwargs):
525 val = apply(controls2c.wxListCtrl_InsertImageItem,(self,) + _args, _kwargs)
526 return val
527 def InsertImageStringItem(self, *_args, **_kwargs):
528 val = apply(controls2c.wxListCtrl_InsertImageStringItem,(self,) + _args, _kwargs)
529 return val
530 def InsertColumnInfo(self, *_args, **_kwargs):
531 val = apply(controls2c.wxListCtrl_InsertColumnInfo,(self,) + _args, _kwargs)
532 return val
533 def InsertColumn(self, *_args, **_kwargs):
534 val = apply(controls2c.wxListCtrl_InsertColumn,(self,) + _args, _kwargs)
535 return val
536 def SetItemCount(self, *_args, **_kwargs):
537 val = apply(controls2c.wxListCtrl_SetItemCount,(self,) + _args, _kwargs)
538 return val
539 def ScrollList(self, *_args, **_kwargs):
540 val = apply(controls2c.wxListCtrl_ScrollList,(self,) + _args, _kwargs)
541 return val
542 def SortItems(self, *_args, **_kwargs):
543 val = apply(controls2c.wxListCtrl_SortItems,(self,) + _args, _kwargs)
544 return val
545 def __repr__(self):
546 return "<C wxListCtrl instance at %s>" % (self.this,)
547
548 def GetItem(self, *_args, **_kwargs):
549 val = apply(controls2c.wxListCtrl_GetItem,(self,) + _args, _kwargs)
550 val.thisown = 1
551 return val
552
553 class wxListCtrl(wxListCtrlPtr):
554 def __init__(self,*_args,**_kwargs):
555 self.this = apply(controls2c.new_wxListCtrl,_args,_kwargs)
556 self.thisown = 1
557 #wx._StdWindowCallbacks(self)
558 self._setSelf(self, wxListCtrl)
559
560
561
562
563 class wxTreeItemIdPtr :
564 def __init__(self,this):
565 self.this = this
566 self.thisown = 0
567 def __del__(self,controls2c=controls2c):
568 if self.thisown == 1 :
569 controls2c.delete_wxTreeItemId(self)
570 def IsOk(self, *_args, **_kwargs):
571 val = apply(controls2c.wxTreeItemId_IsOk,(self,) + _args, _kwargs)
572 return val
573 def __cmp__(self, *_args, **_kwargs):
574 val = apply(controls2c.wxTreeItemId___cmp__,(self,) + _args, _kwargs)
575 return val
576 def __repr__(self):
577 return "<C wxTreeItemId instance at %s>" % (self.this,)
578 class wxTreeItemId(wxTreeItemIdPtr):
579 def __init__(self,*_args,**_kwargs):
580 self.this = apply(controls2c.new_wxTreeItemId,_args,_kwargs)
581 self.thisown = 1
582
583
584
585
586 class wxTreeItemDataPtr(wxObjectPtr):
587 def __init__(self,this):
588 self.this = this
589 self.thisown = 0
590 def GetData(self, *_args, **_kwargs):
591 val = apply(controls2c.wxTreeItemData_GetData,(self,) + _args, _kwargs)
592 return val
593 def SetData(self, *_args, **_kwargs):
594 val = apply(controls2c.wxTreeItemData_SetData,(self,) + _args, _kwargs)
595 return val
596 def GetId(self, *_args, **_kwargs):
597 val = apply(controls2c.wxTreeItemData_GetId,(self,) + _args, _kwargs)
598 if val: val = wxTreeItemIdPtr(val)
599 return val
600 def SetId(self, *_args, **_kwargs):
601 val = apply(controls2c.wxTreeItemData_SetId,(self,) + _args, _kwargs)
602 return val
603 def __repr__(self):
604 return "<C wxTreeItemData instance at %s>" % (self.this,)
605 class wxTreeItemData(wxTreeItemDataPtr):
606 def __init__(self,*_args,**_kwargs):
607 self.this = apply(controls2c.new_wxTreeItemData,_args,_kwargs)
608 self.thisown = 1
609
610
611
612
613 class wxTreeEventPtr(wxNotifyEventPtr):
614 def __init__(self,this):
615 self.this = this
616 self.thisown = 0
617 def GetItem(self, *_args, **_kwargs):
618 val = apply(controls2c.wxTreeEvent_GetItem,(self,) + _args, _kwargs)
619 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
620 return val
621 def GetOldItem(self, *_args, **_kwargs):
622 val = apply(controls2c.wxTreeEvent_GetOldItem,(self,) + _args, _kwargs)
623 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
624 return val
625 def GetPoint(self, *_args, **_kwargs):
626 val = apply(controls2c.wxTreeEvent_GetPoint,(self,) + _args, _kwargs)
627 if val: val = wxPointPtr(val) ; val.thisown = 1
628 return val
629 def GetCode(self, *_args, **_kwargs):
630 val = apply(controls2c.wxTreeEvent_GetCode,(self,) + _args, _kwargs)
631 return val
632 def GetLabel(self, *_args, **_kwargs):
633 val = apply(controls2c.wxTreeEvent_GetLabel,(self,) + _args, _kwargs)
634 return val
635 def __repr__(self):
636 return "<C wxTreeEvent instance at %s>" % (self.this,)
637 class wxTreeEvent(wxTreeEventPtr):
638 def __init__(self,this):
639 self.this = this
640
641
642
643
644 class wxTreeCtrlPtr(wxControlPtr):
645 def __init__(self,this):
646 self.this = this
647 self.thisown = 0
648 def _setSelf(self, *_args, **_kwargs):
649 val = apply(controls2c.wxTreeCtrl__setSelf,(self,) + _args, _kwargs)
650 return val
651 def AssignImageList(self, *_args, **_kwargs):
652 val = apply(controls2c.wxTreeCtrl_AssignImageList,(self,) + _args, _kwargs)
653 _args[0].thisown = 0
654 return val
655 def GetCount(self, *_args, **_kwargs):
656 val = apply(controls2c.wxTreeCtrl_GetCount,(self,) + _args, _kwargs)
657 return val
658 def GetIndent(self, *_args, **_kwargs):
659 val = apply(controls2c.wxTreeCtrl_GetIndent,(self,) + _args, _kwargs)
660 return val
661 def SetIndent(self, *_args, **_kwargs):
662 val = apply(controls2c.wxTreeCtrl_SetIndent,(self,) + _args, _kwargs)
663 return val
664 def GetImageList(self, *_args, **_kwargs):
665 val = apply(controls2c.wxTreeCtrl_GetImageList,(self,) + _args, _kwargs)
666 return val
667 def GetStateImageList(self, *_args, **_kwargs):
668 val = apply(controls2c.wxTreeCtrl_GetStateImageList,(self,) + _args, _kwargs)
669 return val
670 def SetImageList(self, *_args, **_kwargs):
671 val = apply(controls2c.wxTreeCtrl_SetImageList,(self,) + _args, _kwargs)
672 return val
673 def SetStateImageList(self, *_args, **_kwargs):
674 val = apply(controls2c.wxTreeCtrl_SetStateImageList,(self,) + _args, _kwargs)
675 return val
676 def GetSpacing(self, *_args, **_kwargs):
677 val = apply(controls2c.wxTreeCtrl_GetSpacing,(self,) + _args, _kwargs)
678 return val
679 def SetSpacing(self, *_args, **_kwargs):
680 val = apply(controls2c.wxTreeCtrl_SetSpacing,(self,) + _args, _kwargs)
681 return val
682 def GetItemText(self, *_args, **_kwargs):
683 val = apply(controls2c.wxTreeCtrl_GetItemText,(self,) + _args, _kwargs)
684 return val
685 def GetItemImage(self, *_args, **_kwargs):
686 val = apply(controls2c.wxTreeCtrl_GetItemImage,(self,) + _args, _kwargs)
687 return val
688 def GetItemSelectedImage(self, *_args, **_kwargs):
689 val = apply(controls2c.wxTreeCtrl_GetItemSelectedImage,(self,) + _args, _kwargs)
690 return val
691 def SetItemText(self, *_args, **_kwargs):
692 val = apply(controls2c.wxTreeCtrl_SetItemText,(self,) + _args, _kwargs)
693 return val
694 def SetItemImage(self, *_args, **_kwargs):
695 val = apply(controls2c.wxTreeCtrl_SetItemImage,(self,) + _args, _kwargs)
696 return val
697 def SetItemSelectedImage(self, *_args, **_kwargs):
698 val = apply(controls2c.wxTreeCtrl_SetItemSelectedImage,(self,) + _args, _kwargs)
699 return val
700 def SetItemHasChildren(self, *_args, **_kwargs):
701 val = apply(controls2c.wxTreeCtrl_SetItemHasChildren,(self,) + _args, _kwargs)
702 return val
703 def GetItemData(self, *_args, **_kwargs):
704 val = apply(controls2c.wxTreeCtrl_GetItemData,(self,) + _args, _kwargs)
705 if val: val = wxTreeItemDataPtr(val)
706 return val
707 def SetItemData(self, *_args, **_kwargs):
708 val = apply(controls2c.wxTreeCtrl_SetItemData,(self,) + _args, _kwargs)
709 return val
710 def GetPyData(self, *_args, **_kwargs):
711 val = apply(controls2c.wxTreeCtrl_GetPyData,(self,) + _args, _kwargs)
712 return val
713 def SetPyData(self, *_args, **_kwargs):
714 val = apply(controls2c.wxTreeCtrl_SetPyData,(self,) + _args, _kwargs)
715 return val
716 def IsVisible(self, *_args, **_kwargs):
717 val = apply(controls2c.wxTreeCtrl_IsVisible,(self,) + _args, _kwargs)
718 return val
719 def ItemHasChildren(self, *_args, **_kwargs):
720 val = apply(controls2c.wxTreeCtrl_ItemHasChildren,(self,) + _args, _kwargs)
721 return val
722 def IsExpanded(self, *_args, **_kwargs):
723 val = apply(controls2c.wxTreeCtrl_IsExpanded,(self,) + _args, _kwargs)
724 return val
725 def IsSelected(self, *_args, **_kwargs):
726 val = apply(controls2c.wxTreeCtrl_IsSelected,(self,) + _args, _kwargs)
727 return val
728 def GetRootItem(self, *_args, **_kwargs):
729 val = apply(controls2c.wxTreeCtrl_GetRootItem,(self,) + _args, _kwargs)
730 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
731 return val
732 def GetSelection(self, *_args, **_kwargs):
733 val = apply(controls2c.wxTreeCtrl_GetSelection,(self,) + _args, _kwargs)
734 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
735 return val
736 def GetItemParent(self, *_args, **_kwargs):
737 val = apply(controls2c.wxTreeCtrl_GetItemParent,(self,) + _args, _kwargs)
738 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
739 return val
740 def GetSelections(self, *_args, **_kwargs):
741 val = apply(controls2c.wxTreeCtrl_GetSelections,(self,) + _args, _kwargs)
742 return val
743 def GetChildrenCount(self, *_args, **_kwargs):
744 val = apply(controls2c.wxTreeCtrl_GetChildrenCount,(self,) + _args, _kwargs)
745 return val
746 def GetFirstChild(self, *_args, **_kwargs):
747 val = apply(controls2c.wxTreeCtrl_GetFirstChild,(self,) + _args, _kwargs)
748 return val
749 def GetNextChild(self, *_args, **_kwargs):
750 val = apply(controls2c.wxTreeCtrl_GetNextChild,(self,) + _args, _kwargs)
751 return val
752 def GetNextSibling(self, *_args, **_kwargs):
753 val = apply(controls2c.wxTreeCtrl_GetNextSibling,(self,) + _args, _kwargs)
754 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
755 return val
756 def GetPrevSibling(self, *_args, **_kwargs):
757 val = apply(controls2c.wxTreeCtrl_GetPrevSibling,(self,) + _args, _kwargs)
758 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
759 return val
760 def GetFirstVisibleItem(self, *_args, **_kwargs):
761 val = apply(controls2c.wxTreeCtrl_GetFirstVisibleItem,(self,) + _args, _kwargs)
762 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
763 return val
764 def GetNextVisible(self, *_args, **_kwargs):
765 val = apply(controls2c.wxTreeCtrl_GetNextVisible,(self,) + _args, _kwargs)
766 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
767 return val
768 def GetPrevVisible(self, *_args, **_kwargs):
769 val = apply(controls2c.wxTreeCtrl_GetPrevVisible,(self,) + _args, _kwargs)
770 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
771 return val
772 def GetLastChild(self, *_args, **_kwargs):
773 val = apply(controls2c.wxTreeCtrl_GetLastChild,(self,) + _args, _kwargs)
774 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
775 return val
776 def AddRoot(self, *_args, **_kwargs):
777 val = apply(controls2c.wxTreeCtrl_AddRoot,(self,) + _args, _kwargs)
778 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
779 return val
780 def PrependItem(self, *_args, **_kwargs):
781 val = apply(controls2c.wxTreeCtrl_PrependItem,(self,) + _args, _kwargs)
782 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
783 return val
784 def InsertItem(self, *_args, **_kwargs):
785 val = apply(controls2c.wxTreeCtrl_InsertItem,(self,) + _args, _kwargs)
786 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
787 return val
788 def InsertItemBefore(self, *_args, **_kwargs):
789 val = apply(controls2c.wxTreeCtrl_InsertItemBefore,(self,) + _args, _kwargs)
790 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
791 return val
792 def AppendItem(self, *_args, **_kwargs):
793 val = apply(controls2c.wxTreeCtrl_AppendItem,(self,) + _args, _kwargs)
794 if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1
795 return val
796 def Delete(self, *_args, **_kwargs):
797 val = apply(controls2c.wxTreeCtrl_Delete,(self,) + _args, _kwargs)
798 return val
799 def DeleteChildren(self, *_args, **_kwargs):
800 val = apply(controls2c.wxTreeCtrl_DeleteChildren,(self,) + _args, _kwargs)
801 return val
802 def DeleteAllItems(self, *_args, **_kwargs):
803 val = apply(controls2c.wxTreeCtrl_DeleteAllItems,(self,) + _args, _kwargs)
804 return val
805 def Expand(self, *_args, **_kwargs):
806 val = apply(controls2c.wxTreeCtrl_Expand,(self,) + _args, _kwargs)
807 return val
808 def Collapse(self, *_args, **_kwargs):
809 val = apply(controls2c.wxTreeCtrl_Collapse,(self,) + _args, _kwargs)
810 return val
811 def CollapseAndReset(self, *_args, **_kwargs):
812 val = apply(controls2c.wxTreeCtrl_CollapseAndReset,(self,) + _args, _kwargs)
813 return val
814 def Toggle(self, *_args, **_kwargs):
815 val = apply(controls2c.wxTreeCtrl_Toggle,(self,) + _args, _kwargs)
816 return val
817 def Unselect(self, *_args, **_kwargs):
818 val = apply(controls2c.wxTreeCtrl_Unselect,(self,) + _args, _kwargs)
819 return val
820 def UnselectAll(self, *_args, **_kwargs):
821 val = apply(controls2c.wxTreeCtrl_UnselectAll,(self,) + _args, _kwargs)
822 return val
823 def SelectItem(self, *_args, **_kwargs):
824 val = apply(controls2c.wxTreeCtrl_SelectItem,(self,) + _args, _kwargs)
825 return val
826 def EnsureVisible(self, *_args, **_kwargs):
827 val = apply(controls2c.wxTreeCtrl_EnsureVisible,(self,) + _args, _kwargs)
828 return val
829 def ScrollTo(self, *_args, **_kwargs):
830 val = apply(controls2c.wxTreeCtrl_ScrollTo,(self,) + _args, _kwargs)
831 return val
832 def EditLabel(self, *_args, **_kwargs):
833 val = apply(controls2c.wxTreeCtrl_EditLabel,(self,) + _args, _kwargs)
834 return val
835 def SortChildren(self, *_args, **_kwargs):
836 val = apply(controls2c.wxTreeCtrl_SortChildren,(self,) + _args, _kwargs)
837 return val
838 def SetItemBold(self, *_args, **_kwargs):
839 val = apply(controls2c.wxTreeCtrl_SetItemBold,(self,) + _args, _kwargs)
840 return val
841 def IsBold(self, *_args, **_kwargs):
842 val = apply(controls2c.wxTreeCtrl_IsBold,(self,) + _args, _kwargs)
843 return val
844 def HitTest(self, *_args, **_kwargs):
845 val = apply(controls2c.wxTreeCtrl_HitTest,(self,) + _args, _kwargs)
846 return val
847 def SetItemTextColour(self, *_args, **_kwargs):
848 val = apply(controls2c.wxTreeCtrl_SetItemTextColour,(self,) + _args, _kwargs)
849 return val
850 def SetItemBackgroundColour(self, *_args, **_kwargs):
851 val = apply(controls2c.wxTreeCtrl_SetItemBackgroundColour,(self,) + _args, _kwargs)
852 return val
853 def SetItemFont(self, *_args, **_kwargs):
854 val = apply(controls2c.wxTreeCtrl_SetItemFont,(self,) + _args, _kwargs)
855 return val
856 def __repr__(self):
857 return "<C wxTreeCtrl instance at %s>" % (self.this,)
858
859 # Redefine some methods that SWIG gets a bit confused on...
860 def GetFirstChild(self, *_args, **_kwargs):
861 val1,val2 = apply(controls2c.wxTreeCtrl_GetFirstChild,(self,) + _args, _kwargs)
862 val1 = wxTreeItemIdPtr(val1)
863 val1.thisown = 1
864 return (val1,val2)
865 def GetNextChild(self, *_args, **_kwargs):
866 val1,val2 = apply(controls2c.wxTreeCtrl_GetNextChild,(self,) + _args, _kwargs)
867 val1 = wxTreeItemIdPtr(val1)
868 val1.thisown = 1
869 return (val1,val2)
870 def HitTest(self, *_args, **_kwargs):
871 val1, val2 = apply(controls2c.wxTreeCtrl_HitTest,(self,) + _args, _kwargs)
872 val1 = wxTreeItemIdPtr(val1)
873 val1.thisown = 1
874 return (val1,val2)
875
876 class wxTreeCtrl(wxTreeCtrlPtr):
877 def __init__(self,*_args,**_kwargs):
878 self.this = apply(controls2c.new_wxTreeCtrl,_args,_kwargs)
879 self.thisown = 1
880 #wx._StdWindowCallbacks(self)
881 self._setSelf(self, wxTreeCtrl)
882
883
884
885
886
887
888 #-------------- FUNCTION WRAPPERS ------------------
889
890
891
892 #-------------- VARIABLE WRAPPERS ------------------
893
894 wxEVT_COMMAND_LIST_BEGIN_DRAG = controls2c.wxEVT_COMMAND_LIST_BEGIN_DRAG
895 wxEVT_COMMAND_LIST_BEGIN_RDRAG = controls2c.wxEVT_COMMAND_LIST_BEGIN_RDRAG
896 wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT = controls2c.wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
897 wxEVT_COMMAND_LIST_END_LABEL_EDIT = controls2c.wxEVT_COMMAND_LIST_END_LABEL_EDIT
898 wxEVT_COMMAND_LIST_DELETE_ITEM = controls2c.wxEVT_COMMAND_LIST_DELETE_ITEM
899 wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS = controls2c.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
900 wxEVT_COMMAND_LIST_GET_INFO = controls2c.wxEVT_COMMAND_LIST_GET_INFO
901 wxEVT_COMMAND_LIST_SET_INFO = controls2c.wxEVT_COMMAND_LIST_SET_INFO
902 wxEVT_COMMAND_LIST_ITEM_SELECTED = controls2c.wxEVT_COMMAND_LIST_ITEM_SELECTED
903 wxEVT_COMMAND_LIST_ITEM_DESELECTED = controls2c.wxEVT_COMMAND_LIST_ITEM_DESELECTED
904 wxEVT_COMMAND_LIST_KEY_DOWN = controls2c.wxEVT_COMMAND_LIST_KEY_DOWN
905 wxEVT_COMMAND_LIST_INSERT_ITEM = controls2c.wxEVT_COMMAND_LIST_INSERT_ITEM
906 wxEVT_COMMAND_LIST_COL_CLICK = controls2c.wxEVT_COMMAND_LIST_COL_CLICK
907 wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
908 wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK = controls2c.wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
909 wxEVT_COMMAND_LIST_ITEM_ACTIVATED = controls2c.wxEVT_COMMAND_LIST_ITEM_ACTIVATED
910 wxEVT_COMMAND_LIST_CACHE_HINT = controls2c.wxEVT_COMMAND_LIST_CACHE_HINT
911 wxLC_VRULES = controls2c.wxLC_VRULES
912 wxLC_HRULES = controls2c.wxLC_HRULES
913 wxLC_ICON = controls2c.wxLC_ICON
914 wxLC_SMALL_ICON = controls2c.wxLC_SMALL_ICON
915 wxLC_LIST = controls2c.wxLC_LIST
916 wxLC_REPORT = controls2c.wxLC_REPORT
917 wxLC_ALIGN_TOP = controls2c.wxLC_ALIGN_TOP
918 wxLC_ALIGN_LEFT = controls2c.wxLC_ALIGN_LEFT
919 wxLC_AUTOARRANGE = controls2c.wxLC_AUTOARRANGE
920 wxLC_VIRTUAL = controls2c.wxLC_VIRTUAL
921 wxLC_EDIT_LABELS = controls2c.wxLC_EDIT_LABELS
922 wxLC_NO_HEADER = controls2c.wxLC_NO_HEADER
923 wxLC_NO_SORT_HEADER = controls2c.wxLC_NO_SORT_HEADER
924 wxLC_SINGLE_SEL = controls2c.wxLC_SINGLE_SEL
925 wxLC_SORT_ASCENDING = controls2c.wxLC_SORT_ASCENDING
926 wxLC_SORT_DESCENDING = controls2c.wxLC_SORT_DESCENDING
927 wxLC_MASK_TYPE = controls2c.wxLC_MASK_TYPE
928 wxLC_MASK_ALIGN = controls2c.wxLC_MASK_ALIGN
929 wxLC_MASK_SORT = controls2c.wxLC_MASK_SORT
930 wxLIST_MASK_STATE = controls2c.wxLIST_MASK_STATE
931 wxLIST_MASK_TEXT = controls2c.wxLIST_MASK_TEXT
932 wxLIST_MASK_IMAGE = controls2c.wxLIST_MASK_IMAGE
933 wxLIST_MASK_DATA = controls2c.wxLIST_MASK_DATA
934 wxLIST_SET_ITEM = controls2c.wxLIST_SET_ITEM
935 wxLIST_MASK_WIDTH = controls2c.wxLIST_MASK_WIDTH
936 wxLIST_MASK_FORMAT = controls2c.wxLIST_MASK_FORMAT
937 wxLIST_STATE_DONTCARE = controls2c.wxLIST_STATE_DONTCARE
938 wxLIST_STATE_DROPHILITED = controls2c.wxLIST_STATE_DROPHILITED
939 wxLIST_STATE_FOCUSED = controls2c.wxLIST_STATE_FOCUSED
940 wxLIST_STATE_SELECTED = controls2c.wxLIST_STATE_SELECTED
941 wxLIST_STATE_CUT = controls2c.wxLIST_STATE_CUT
942 wxLIST_HITTEST_ABOVE = controls2c.wxLIST_HITTEST_ABOVE
943 wxLIST_HITTEST_BELOW = controls2c.wxLIST_HITTEST_BELOW
944 wxLIST_HITTEST_NOWHERE = controls2c.wxLIST_HITTEST_NOWHERE
945 wxLIST_HITTEST_ONITEMICON = controls2c.wxLIST_HITTEST_ONITEMICON
946 wxLIST_HITTEST_ONITEMLABEL = controls2c.wxLIST_HITTEST_ONITEMLABEL
947 wxLIST_HITTEST_ONITEMRIGHT = controls2c.wxLIST_HITTEST_ONITEMRIGHT
948 wxLIST_HITTEST_ONITEMSTATEICON = controls2c.wxLIST_HITTEST_ONITEMSTATEICON
949 wxLIST_HITTEST_TOLEFT = controls2c.wxLIST_HITTEST_TOLEFT
950 wxLIST_HITTEST_TORIGHT = controls2c.wxLIST_HITTEST_TORIGHT
951 wxLIST_HITTEST_ONITEM = controls2c.wxLIST_HITTEST_ONITEM
952 wxLIST_NEXT_ABOVE = controls2c.wxLIST_NEXT_ABOVE
953 wxLIST_NEXT_ALL = controls2c.wxLIST_NEXT_ALL
954 wxLIST_NEXT_BELOW = controls2c.wxLIST_NEXT_BELOW
955 wxLIST_NEXT_LEFT = controls2c.wxLIST_NEXT_LEFT
956 wxLIST_NEXT_RIGHT = controls2c.wxLIST_NEXT_RIGHT
957 wxLIST_ALIGN_DEFAULT = controls2c.wxLIST_ALIGN_DEFAULT
958 wxLIST_ALIGN_LEFT = controls2c.wxLIST_ALIGN_LEFT
959 wxLIST_ALIGN_TOP = controls2c.wxLIST_ALIGN_TOP
960 wxLIST_ALIGN_SNAP_TO_GRID = controls2c.wxLIST_ALIGN_SNAP_TO_GRID
961 wxLIST_AUTOSIZE = controls2c.wxLIST_AUTOSIZE
962 wxLIST_AUTOSIZE_USEHEADER = controls2c.wxLIST_AUTOSIZE_USEHEADER
963 wxLIST_RECT_BOUNDS = controls2c.wxLIST_RECT_BOUNDS
964 wxLIST_RECT_ICON = controls2c.wxLIST_RECT_ICON
965 wxLIST_RECT_LABEL = controls2c.wxLIST_RECT_LABEL
966 wxLIST_FIND_UP = controls2c.wxLIST_FIND_UP
967 wxLIST_FIND_DOWN = controls2c.wxLIST_FIND_DOWN
968 wxLIST_FIND_LEFT = controls2c.wxLIST_FIND_LEFT
969 wxLIST_FIND_RIGHT = controls2c.wxLIST_FIND_RIGHT
970 wxLIST_FORMAT_LEFT = controls2c.wxLIST_FORMAT_LEFT
971 wxLIST_FORMAT_RIGHT = controls2c.wxLIST_FORMAT_RIGHT
972 wxLIST_FORMAT_CENTRE = controls2c.wxLIST_FORMAT_CENTRE
973 wxLIST_FORMAT_CENTER = controls2c.wxLIST_FORMAT_CENTER
974 wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal
975 wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected
976 wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded
977 wxTreeItemIcon_SelectedExpanded = controls2c.wxTreeItemIcon_SelectedExpanded
978 wxTreeItemIcon_Max = controls2c.wxTreeItemIcon_Max
979 wxTREE_HITTEST_ABOVE = controls2c.wxTREE_HITTEST_ABOVE
980 wxTREE_HITTEST_BELOW = controls2c.wxTREE_HITTEST_BELOW
981 wxTREE_HITTEST_NOWHERE = controls2c.wxTREE_HITTEST_NOWHERE
982 wxTREE_HITTEST_ONITEMBUTTON = controls2c.wxTREE_HITTEST_ONITEMBUTTON
983 wxTREE_HITTEST_ONITEMICON = controls2c.wxTREE_HITTEST_ONITEMICON
984 wxTREE_HITTEST_ONITEMINDENT = controls2c.wxTREE_HITTEST_ONITEMINDENT
985 wxTREE_HITTEST_ONITEMLABEL = controls2c.wxTREE_HITTEST_ONITEMLABEL
986 wxTREE_HITTEST_ONITEMRIGHT = controls2c.wxTREE_HITTEST_ONITEMRIGHT
987 wxTREE_HITTEST_ONITEMSTATEICON = controls2c.wxTREE_HITTEST_ONITEMSTATEICON
988 wxTREE_HITTEST_TOLEFT = controls2c.wxTREE_HITTEST_TOLEFT
989 wxTREE_HITTEST_TORIGHT = controls2c.wxTREE_HITTEST_TORIGHT
990 wxTREE_HITTEST_ONITEMUPPERPART = controls2c.wxTREE_HITTEST_ONITEMUPPERPART
991 wxTREE_HITTEST_ONITEMLOWERPART = controls2c.wxTREE_HITTEST_ONITEMLOWERPART
992 wxTREE_HITTEST_ONITEM = controls2c.wxTREE_HITTEST_ONITEM
993 wxEVT_COMMAND_TREE_BEGIN_DRAG = controls2c.wxEVT_COMMAND_TREE_BEGIN_DRAG
994 wxEVT_COMMAND_TREE_BEGIN_RDRAG = controls2c.wxEVT_COMMAND_TREE_BEGIN_RDRAG
995 wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT = controls2c.wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
996 wxEVT_COMMAND_TREE_END_LABEL_EDIT = controls2c.wxEVT_COMMAND_TREE_END_LABEL_EDIT
997 wxEVT_COMMAND_TREE_DELETE_ITEM = controls2c.wxEVT_COMMAND_TREE_DELETE_ITEM
998 wxEVT_COMMAND_TREE_GET_INFO = controls2c.wxEVT_COMMAND_TREE_GET_INFO
999 wxEVT_COMMAND_TREE_SET_INFO = controls2c.wxEVT_COMMAND_TREE_SET_INFO
1000 wxEVT_COMMAND_TREE_ITEM_EXPANDED = controls2c.wxEVT_COMMAND_TREE_ITEM_EXPANDED
1001 wxEVT_COMMAND_TREE_ITEM_EXPANDING = controls2c.wxEVT_COMMAND_TREE_ITEM_EXPANDING
1002 wxEVT_COMMAND_TREE_ITEM_COLLAPSED = controls2c.wxEVT_COMMAND_TREE_ITEM_COLLAPSED
1003 wxEVT_COMMAND_TREE_ITEM_COLLAPSING = controls2c.wxEVT_COMMAND_TREE_ITEM_COLLAPSING
1004 wxEVT_COMMAND_TREE_SEL_CHANGED = controls2c.wxEVT_COMMAND_TREE_SEL_CHANGED
1005 wxEVT_COMMAND_TREE_SEL_CHANGING = controls2c.wxEVT_COMMAND_TREE_SEL_CHANGING
1006 wxEVT_COMMAND_TREE_KEY_DOWN = controls2c.wxEVT_COMMAND_TREE_KEY_DOWN
1007 wxEVT_COMMAND_TREE_ITEM_ACTIVATED = controls2c.wxEVT_COMMAND_TREE_ITEM_ACTIVATED
1008 wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK = controls2c.wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
1009 wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK = controls2c.wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
1010 wxEVT_COMMAND_TREE_END_DRAG = controls2c.wxEVT_COMMAND_TREE_END_DRAG