]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls2.py
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
[wxWidgets.git] / utils / 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 events import *
11
12 from controls import *
13 import wx
14 class wxListItemPtr :
15 def __init__(self,this):
16 self.this = this
17 self.thisown = 0
18 def __del__(self):
19 if self.thisown == 1 :
20 controls2c.delete_wxListItem(self.this)
21 def __setattr__(self,name,value):
22 if name == "m_mask" :
23 controls2c.wxListItem_m_mask_set(self.this,value)
24 return
25 if name == "m_itemId" :
26 controls2c.wxListItem_m_itemId_set(self.this,value)
27 return
28 if name == "m_col" :
29 controls2c.wxListItem_m_col_set(self.this,value)
30 return
31 if name == "m_state" :
32 controls2c.wxListItem_m_state_set(self.this,value)
33 return
34 if name == "m_stateMask" :
35 controls2c.wxListItem_m_stateMask_set(self.this,value)
36 return
37 if name == "m_text" :
38 controls2c.wxListItem_m_text_set(self.this,value)
39 return
40 if name == "m_image" :
41 controls2c.wxListItem_m_image_set(self.this,value)
42 return
43 if name == "m_data" :
44 controls2c.wxListItem_m_data_set(self.this,value)
45 return
46 if name == "m_format" :
47 controls2c.wxListItem_m_format_set(self.this,value)
48 return
49 if name == "m_width" :
50 controls2c.wxListItem_m_width_set(self.this,value)
51 return
52 self.__dict__[name] = value
53 def __getattr__(self,name):
54 if name == "m_mask" :
55 return controls2c.wxListItem_m_mask_get(self.this)
56 if name == "m_itemId" :
57 return controls2c.wxListItem_m_itemId_get(self.this)
58 if name == "m_col" :
59 return controls2c.wxListItem_m_col_get(self.this)
60 if name == "m_state" :
61 return controls2c.wxListItem_m_state_get(self.this)
62 if name == "m_stateMask" :
63 return controls2c.wxListItem_m_stateMask_get(self.this)
64 if name == "m_text" :
65 return controls2c.wxListItem_m_text_get(self.this)
66 if name == "m_image" :
67 return controls2c.wxListItem_m_image_get(self.this)
68 if name == "m_data" :
69 return controls2c.wxListItem_m_data_get(self.this)
70 if name == "m_format" :
71 return controls2c.wxListItem_m_format_get(self.this)
72 if name == "m_width" :
73 return controls2c.wxListItem_m_width_get(self.this)
74 raise AttributeError,name
75 def __repr__(self):
76 return "<C wxListItem instance>"
77 class wxListItem(wxListItemPtr):
78 def __init__(self) :
79 self.this = controls2c.new_wxListItem()
80 self.thisown = 1
81
82
83
84
85 class wxListEventPtr(wxCommandEventPtr):
86 def __init__(self,this):
87 self.this = this
88 self.thisown = 0
89 def __setattr__(self,name,value):
90 if name == "m_code" :
91 controls2c.wxListEvent_m_code_set(self.this,value)
92 return
93 if name == "m_itemIndex" :
94 controls2c.wxListEvent_m_itemIndex_set(self.this,value)
95 return
96 if name == "m_oldItemIndex" :
97 controls2c.wxListEvent_m_oldItemIndex_set(self.this,value)
98 return
99 if name == "m_col" :
100 controls2c.wxListEvent_m_col_set(self.this,value)
101 return
102 if name == "m_cancelled" :
103 controls2c.wxListEvent_m_cancelled_set(self.this,value)
104 return
105 if name == "m_pointDrag" :
106 controls2c.wxListEvent_m_pointDrag_set(self.this,value.this)
107 return
108 if name == "m_item" :
109 controls2c.wxListEvent_m_item_set(self.this,value.this)
110 return
111 self.__dict__[name] = value
112 def __getattr__(self,name):
113 if name == "m_code" :
114 return controls2c.wxListEvent_m_code_get(self.this)
115 if name == "m_itemIndex" :
116 return controls2c.wxListEvent_m_itemIndex_get(self.this)
117 if name == "m_oldItemIndex" :
118 return controls2c.wxListEvent_m_oldItemIndex_get(self.this)
119 if name == "m_col" :
120 return controls2c.wxListEvent_m_col_get(self.this)
121 if name == "m_cancelled" :
122 return controls2c.wxListEvent_m_cancelled_get(self.this)
123 if name == "m_pointDrag" :
124 return wxPointPtr(controls2c.wxListEvent_m_pointDrag_get(self.this))
125 if name == "m_item" :
126 return wxListItemPtr(controls2c.wxListEvent_m_item_get(self.this))
127 raise AttributeError,name
128 def __repr__(self):
129 return "<C wxListEvent instance>"
130 class wxListEvent(wxListEventPtr):
131 def __init__(self,this):
132 self.this = this
133
134
135
136
137 class wxListCtrlPtr(wxControlPtr):
138 def __init__(self,this):
139 self.this = this
140 self.thisown = 0
141 def Arrange(self,*args):
142 val = apply(controls2c.wxListCtrl_Arrange,(self.this,)+args)
143 return val
144 def DeleteItem(self,arg0):
145 val = controls2c.wxListCtrl_DeleteItem(self.this,arg0)
146 return val
147 def DeleteAllItems(self):
148 val = controls2c.wxListCtrl_DeleteAllItems(self.this)
149 return val
150 def DeleteColumn(self,arg0):
151 val = controls2c.wxListCtrl_DeleteColumn(self.this,arg0)
152 return val
153 def DeleteAllColumns(self):
154 val = controls2c.wxListCtrl_DeleteAllColumns(self.this)
155 return val
156 def ClearAll(self):
157 val = controls2c.wxListCtrl_ClearAll(self.this)
158 return val
159 def EnsureVisible(self,arg0):
160 val = controls2c.wxListCtrl_EnsureVisible(self.this,arg0)
161 return val
162 def FindItem(self,arg0,arg1,*args):
163 val = apply(controls2c.wxListCtrl_FindItem,(self.this,arg0,arg1,)+args)
164 return val
165 def FindItemData(self,arg0,arg1):
166 val = controls2c.wxListCtrl_FindItemData(self.this,arg0,arg1)
167 return val
168 def FindItemAtPos(self,arg0,arg1,arg2):
169 val = controls2c.wxListCtrl_FindItemAtPos(self.this,arg0,arg1.this,arg2)
170 return val
171 def GetColumn(self,arg0,arg1):
172 val = controls2c.wxListCtrl_GetColumn(self.this,arg0,arg1.this)
173 return val
174 def GetColumnWidth(self,arg0):
175 val = controls2c.wxListCtrl_GetColumnWidth(self.this,arg0)
176 return val
177 def GetCountPerPage(self):
178 val = controls2c.wxListCtrl_GetCountPerPage(self.this)
179 return val
180 def GetImageList(self,arg0):
181 val = controls2c.wxListCtrl_GetImageList(self.this,arg0)
182 val = wxImageListPtr(val)
183 return val
184 def GetItemData(self,arg0):
185 val = controls2c.wxListCtrl_GetItemData(self.this,arg0)
186 return val
187 def GetItem(self):
188 val = controls2c.wxListCtrl_GetItem(self.this)
189 val = wxListItemPtr(val)
190 val.thisown = 1
191 return val
192 def GetItemPosition(self,arg0):
193 val = controls2c.wxListCtrl_GetItemPosition(self.this,arg0)
194 val = wxPointPtr(val)
195 val.thisown = 1
196 return val
197 def GetItemRect(self,arg0,*args):
198 val = apply(controls2c.wxListCtrl_GetItemRect,(self.this,arg0,)+args)
199 val = wxRectPtr(val)
200 val.thisown = 1
201 return val
202 def GetItemState(self,arg0,arg1):
203 val = controls2c.wxListCtrl_GetItemState(self.this,arg0,arg1)
204 return val
205 def GetItemCount(self):
206 val = controls2c.wxListCtrl_GetItemCount(self.this)
207 return val
208 def GetItemSpacing(self,arg0):
209 val = controls2c.wxListCtrl_GetItemSpacing(self.this,arg0)
210 return val
211 def GetItemText(self,arg0):
212 val = controls2c.wxListCtrl_GetItemText(self.this,arg0)
213 return val
214 def GetNextItem(self,arg0,*args):
215 val = apply(controls2c.wxListCtrl_GetNextItem,(self.this,arg0,)+args)
216 return val
217 def GetSelectedItemCount(self):
218 val = controls2c.wxListCtrl_GetSelectedItemCount(self.this)
219 return val
220 def GetTopItem(self):
221 val = controls2c.wxListCtrl_GetTopItem(self.this)
222 return val
223 def HitTest(self,arg0):
224 val = controls2c.wxListCtrl_HitTest(self.this,arg0.this)
225 return val
226 def InsertColumnWithInfo(self,arg0,arg1):
227 val = controls2c.wxListCtrl_InsertColumnWithInfo(self.this,arg0,arg1.this)
228 return val
229 def InsertColumn(self,arg0,arg1,*args):
230 val = apply(controls2c.wxListCtrl_InsertColumn,(self.this,arg0,arg1,)+args)
231 return val
232 def InsertItem(self,arg0):
233 val = controls2c.wxListCtrl_InsertItem(self.this,arg0.this)
234 return val
235 def InsertStringItem(self,arg0,arg1):
236 val = controls2c.wxListCtrl_InsertStringItem(self.this,arg0,arg1)
237 return val
238 def InsertImageItem(self,arg0,arg1):
239 val = controls2c.wxListCtrl_InsertImageItem(self.this,arg0,arg1)
240 return val
241 def InsertImageStringItem(self,arg0,arg1,arg2):
242 val = controls2c.wxListCtrl_InsertImageStringItem(self.this,arg0,arg1,arg2)
243 return val
244 def ScrollList(self,arg0,arg1):
245 val = controls2c.wxListCtrl_ScrollList(self.this,arg0,arg1)
246 return val
247 def SetBackgroundColour(self,arg0):
248 val = controls2c.wxListCtrl_SetBackgroundColour(self.this,arg0.this)
249 return val
250 def SetColumn(self,arg0,arg1):
251 val = controls2c.wxListCtrl_SetColumn(self.this,arg0,arg1.this)
252 return val
253 def SetColumnWidth(self,arg0,arg1):
254 val = controls2c.wxListCtrl_SetColumnWidth(self.this,arg0,arg1)
255 return val
256 def SetImageList(self,arg0,arg1):
257 val = controls2c.wxListCtrl_SetImageList(self.this,arg0.this,arg1)
258 return val
259 def SetItem(self,arg0):
260 val = controls2c.wxListCtrl_SetItem(self.this,arg0.this)
261 return val
262 def SetStringItem(self,arg0,arg1,arg2,*args):
263 val = apply(controls2c.wxListCtrl_SetStringItem,(self.this,arg0,arg1,arg2,)+args)
264 return val
265 def SetItemData(self,arg0,arg1):
266 val = controls2c.wxListCtrl_SetItemData(self.this,arg0,arg1)
267 return val
268 def SetItemImage(self,arg0,arg1,arg2):
269 val = controls2c.wxListCtrl_SetItemImage(self.this,arg0,arg1,arg2)
270 return val
271 def SetItemPosition(self,arg0,arg1):
272 val = controls2c.wxListCtrl_SetItemPosition(self.this,arg0,arg1.this)
273 return val
274 def SetItemState(self,arg0,arg1,arg2):
275 val = controls2c.wxListCtrl_SetItemState(self.this,arg0,arg1,arg2)
276 return val
277 def SetItemText(self,arg0,arg1):
278 val = controls2c.wxListCtrl_SetItemText(self.this,arg0,arg1)
279 return val
280 def SetSingleStyle(self,arg0,*args):
281 val = apply(controls2c.wxListCtrl_SetSingleStyle,(self.this,arg0,)+args)
282 return val
283 def SetWindowStyleFlag(self,arg0):
284 val = controls2c.wxListCtrl_SetWindowStyleFlag(self.this,arg0)
285 return val
286 def __repr__(self):
287 return "<C wxListCtrl instance>"
288 class wxListCtrl(wxListCtrlPtr):
289 def __init__(self,arg0,arg1,*args) :
290 argl = map(None,args)
291 try: argl[0] = argl[0].this
292 except: pass
293 try: argl[1] = argl[1].this
294 except: pass
295 args = tuple(argl)
296 self.this = apply(controls2c.new_wxListCtrl,(arg0.this,arg1,)+args)
297 self.thisown = 1
298 wx._StdWindowCallbacks(self)
299
300
301
302
303 class wxTreeItemIdPtr :
304 def __init__(self,this):
305 self.this = this
306 self.thisown = 0
307 def __del__(self):
308 if self.thisown == 1 :
309 controls2c.delete_wxTreeItemId(self.this)
310 def IsOk(self):
311 val = controls2c.wxTreeItemId_IsOk(self.this)
312 return val
313 def __repr__(self):
314 return "<C wxTreeItemId instance>"
315 class wxTreeItemId(wxTreeItemIdPtr):
316 def __init__(self) :
317 self.this = controls2c.new_wxTreeItemId()
318 self.thisown = 1
319
320
321
322
323 class wxTreeItemDataPtr :
324 def __init__(self,this):
325 self.this = this
326 self.thisown = 0
327 def __del__(self):
328 if self.thisown == 1 :
329 controls2c.delete_wxTreeItemData(self.this)
330 def GetId(self):
331 val = controls2c.wxTreeItemData_GetId(self.this)
332 val = wxTreeItemIdPtr(val)
333 return val
334 def SetId(self,arg0):
335 val = controls2c.wxTreeItemData_SetId(self.this,arg0.this)
336 return val
337 def __repr__(self):
338 return "<C wxTreeItemData instance>"
339 class wxTreeItemData(wxTreeItemDataPtr):
340 def __init__(self) :
341 self.this = controls2c.new_wxTreeItemData()
342 self.thisown = 1
343
344
345
346
347 class wxTreeEventPtr(wxCommandEventPtr):
348 def __init__(self,this):
349 self.this = this
350 self.thisown = 0
351 def GetItem(self):
352 val = controls2c.wxTreeEvent_GetItem(self.this)
353 val = wxTreeItemIdPtr(val)
354 val.thisown = 1
355 return val
356 def GetOldItem(self):
357 val = controls2c.wxTreeEvent_GetOldItem(self.this)
358 val = wxTreeItemIdPtr(val)
359 val.thisown = 1
360 return val
361 def GetPoint(self):
362 val = controls2c.wxTreeEvent_GetPoint(self.this)
363 val = wxPointPtr(val)
364 val.thisown = 1
365 return val
366 def GetCode(self):
367 val = controls2c.wxTreeEvent_GetCode(self.this)
368 return val
369 def Veto(self):
370 val = controls2c.wxTreeEvent_Veto(self.this)
371 return val
372 def __repr__(self):
373 return "<C wxTreeEvent instance>"
374 class wxTreeEvent(wxTreeEventPtr):
375 def __init__(self,this):
376 self.this = this
377
378
379
380
381 class wxTreeCtrlPtr(wxControlPtr):
382 def __init__(self,this):
383 self.this = this
384 self.thisown = 0
385 def GetCount(self):
386 val = controls2c.wxTreeCtrl_GetCount(self.this)
387 return val
388 def GetIndent(self):
389 val = controls2c.wxTreeCtrl_GetIndent(self.this)
390 return val
391 def SetIndent(self,arg0):
392 val = controls2c.wxTreeCtrl_SetIndent(self.this,arg0)
393 return val
394 def GetImageList(self):
395 val = controls2c.wxTreeCtrl_GetImageList(self.this)
396 val = wxImageListPtr(val)
397 return val
398 def GetStateImageList(self):
399 val = controls2c.wxTreeCtrl_GetStateImageList(self.this)
400 val = wxImageListPtr(val)
401 return val
402 def SetImageList(self,arg0):
403 val = controls2c.wxTreeCtrl_SetImageList(self.this,arg0.this)
404 return val
405 def SetStateImageList(self,arg0):
406 val = controls2c.wxTreeCtrl_SetStateImageList(self.this,arg0.this)
407 return val
408 def GetItemText(self,arg0):
409 val = controls2c.wxTreeCtrl_GetItemText(self.this,arg0.this)
410 return val
411 def GetItemImage(self,arg0):
412 val = controls2c.wxTreeCtrl_GetItemImage(self.this,arg0.this)
413 return val
414 def GetItemSelectedImage(self,arg0):
415 val = controls2c.wxTreeCtrl_GetItemSelectedImage(self.this,arg0.this)
416 return val
417 def GetItemData(self,arg0):
418 val = controls2c.wxTreeCtrl_GetItemData(self.this,arg0.this)
419 val = wxTreeItemDataPtr(val)
420 return val
421 def SetItemText(self,arg0,arg1):
422 val = controls2c.wxTreeCtrl_SetItemText(self.this,arg0.this,arg1)
423 return val
424 def SetItemImage(self,arg0,arg1):
425 val = controls2c.wxTreeCtrl_SetItemImage(self.this,arg0.this,arg1)
426 return val
427 def SetItemSelectedImage(self,arg0,arg1):
428 val = controls2c.wxTreeCtrl_SetItemSelectedImage(self.this,arg0.this,arg1)
429 return val
430 def SetItemData(self,arg0,arg1):
431 val = controls2c.wxTreeCtrl_SetItemData(self.this,arg0.this,arg1.this)
432 return val
433 def SetItemHasChildren(self,arg0,*args):
434 val = apply(controls2c.wxTreeCtrl_SetItemHasChildren,(self.this,arg0.this,)+args)
435 return val
436 def IsVisible(self,arg0):
437 val = controls2c.wxTreeCtrl_IsVisible(self.this,arg0.this)
438 return val
439 def ItemHasChildren(self,arg0):
440 val = controls2c.wxTreeCtrl_ItemHasChildren(self.this,arg0.this)
441 return val
442 def IsExpanded(self,arg0):
443 val = controls2c.wxTreeCtrl_IsExpanded(self.this,arg0.this)
444 return val
445 def IsSelected(self,arg0):
446 val = controls2c.wxTreeCtrl_IsSelected(self.this,arg0.this)
447 return val
448 def GetRootItem(self):
449 val = controls2c.wxTreeCtrl_GetRootItem(self.this)
450 val = wxTreeItemIdPtr(val)
451 val.thisown = 1
452 return val
453 def GetSelection(self):
454 val = controls2c.wxTreeCtrl_GetSelection(self.this)
455 val = wxTreeItemIdPtr(val)
456 val.thisown = 1
457 return val
458 def GetParent(self,arg0):
459 val = controls2c.wxTreeCtrl_GetParent(self.this,arg0.this)
460 val = wxTreeItemIdPtr(val)
461 val.thisown = 1
462 return val
463 def GetFirstChild(self,arg0,arg1):
464 val = controls2c.wxTreeCtrl_GetFirstChild(self.this,arg0.this,arg1)
465 return val
466 def GetNextChild(self,arg0,arg1):
467 val = controls2c.wxTreeCtrl_GetNextChild(self.this,arg0.this,arg1)
468 return val
469 def GetNextSibling(self,arg0):
470 val = controls2c.wxTreeCtrl_GetNextSibling(self.this,arg0.this)
471 val = wxTreeItemIdPtr(val)
472 val.thisown = 1
473 return val
474 def GetPrevSibling(self,arg0):
475 val = controls2c.wxTreeCtrl_GetPrevSibling(self.this,arg0.this)
476 val = wxTreeItemIdPtr(val)
477 val.thisown = 1
478 return val
479 def GetFirstVisibleItem(self):
480 val = controls2c.wxTreeCtrl_GetFirstVisibleItem(self.this)
481 val = wxTreeItemIdPtr(val)
482 val.thisown = 1
483 return val
484 def GetNextVisible(self,arg0):
485 val = controls2c.wxTreeCtrl_GetNextVisible(self.this,arg0.this)
486 val = wxTreeItemIdPtr(val)
487 val.thisown = 1
488 return val
489 def GetPrevVisible(self,arg0):
490 val = controls2c.wxTreeCtrl_GetPrevVisible(self.this,arg0.this)
491 val = wxTreeItemIdPtr(val)
492 val.thisown = 1
493 return val
494 def AddRoot(self,arg0,*args):
495 argl = map(None,args)
496 try: argl[2] = argl[2].this
497 except: pass
498 args = tuple(argl)
499 val = apply(controls2c.wxTreeCtrl_AddRoot,(self.this,arg0,)+args)
500 val = wxTreeItemIdPtr(val)
501 val.thisown = 1
502 return val
503 def PrependItem(self,arg0,arg1,*args):
504 argl = map(None,args)
505 try: argl[2] = argl[2].this
506 except: pass
507 args = tuple(argl)
508 val = apply(controls2c.wxTreeCtrl_PrependItem,(self.this,arg0.this,arg1,)+args)
509 val = wxTreeItemIdPtr(val)
510 val.thisown = 1
511 return val
512 def InsertItem(self,arg0,arg1,arg2,*args):
513 argl = map(None,args)
514 try: argl[2] = argl[2].this
515 except: pass
516 args = tuple(argl)
517 val = apply(controls2c.wxTreeCtrl_InsertItem,(self.this,arg0.this,arg1.this,arg2,)+args)
518 val = wxTreeItemIdPtr(val)
519 val.thisown = 1
520 return val
521 def AppendItem(self,arg0,arg1,*args):
522 argl = map(None,args)
523 try: argl[2] = argl[2].this
524 except: pass
525 args = tuple(argl)
526 val = apply(controls2c.wxTreeCtrl_AppendItem,(self.this,arg0.this,arg1,)+args)
527 val = wxTreeItemIdPtr(val)
528 val.thisown = 1
529 return val
530 def Delete(self,arg0):
531 val = controls2c.wxTreeCtrl_Delete(self.this,arg0.this)
532 return val
533 def DeleteChildren(self,arg0):
534 val = controls2c.wxTreeCtrl_DeleteChildren(self.this,arg0.this)
535 return val
536 def DeleteAllItems(self):
537 val = controls2c.wxTreeCtrl_DeleteAllItems(self.this)
538 return val
539 def Expand(self,arg0):
540 val = controls2c.wxTreeCtrl_Expand(self.this,arg0.this)
541 return val
542 def Collapse(self,arg0):
543 val = controls2c.wxTreeCtrl_Collapse(self.this,arg0.this)
544 return val
545 def CollapseAndReset(self,arg0):
546 val = controls2c.wxTreeCtrl_CollapseAndReset(self.this,arg0.this)
547 return val
548 def Toggle(self,arg0):
549 val = controls2c.wxTreeCtrl_Toggle(self.this,arg0.this)
550 return val
551 def Unselect(self):
552 val = controls2c.wxTreeCtrl_Unselect(self.this)
553 return val
554 def SelectItem(self,arg0):
555 val = controls2c.wxTreeCtrl_SelectItem(self.this,arg0.this)
556 return val
557 def EnsureVisible(self,arg0):
558 val = controls2c.wxTreeCtrl_EnsureVisible(self.this,arg0.this)
559 return val
560 def ScrollTo(self,arg0):
561 val = controls2c.wxTreeCtrl_ScrollTo(self.this,arg0.this)
562 return val
563 def EditLabel(self,arg0):
564 val = controls2c.wxTreeCtrl_EditLabel(self.this,arg0.this)
565 val = wxTextCtrlPtr(val)
566 return val
567 def GetEditControl(self):
568 val = controls2c.wxTreeCtrl_GetEditControl(self.this)
569 val = wxTextCtrlPtr(val)
570 return val
571 def EndEditLabel(self,arg0,*args):
572 val = apply(controls2c.wxTreeCtrl_EndEditLabel,(self.this,arg0.this,)+args)
573 return val
574 def SetItemBold(self,arg0,*args):
575 val = apply(controls2c.wxTreeCtrl_SetItemBold,(self.this,arg0.this,)+args)
576 return val
577 def IsBold(self,arg0):
578 val = controls2c.wxTreeCtrl_IsBold(self.this,arg0.this)
579 return val
580 def HitTest(self,arg0):
581 val = controls2c.wxTreeCtrl_HitTest(self.this,arg0.this)
582 val = wxTreeItemIdPtr(val)
583 val.thisown = 1
584 return val
585 def __repr__(self):
586 return "<C wxTreeCtrl instance>"
587 class wxTreeCtrl(wxTreeCtrlPtr):
588 def __init__(self,arg0,*args) :
589 argl = map(None,args)
590 try: argl[1] = argl[1].this
591 except: pass
592 try: argl[2] = argl[2].this
593 except: pass
594 args = tuple(argl)
595 self.this = apply(controls2c.new_wxTreeCtrl,(arg0.this,)+args)
596 self.thisown = 1
597 wx._StdWindowCallbacks(self)
598
599
600
601
602
603
604 #-------------- FUNCTION WRAPPERS ------------------
605
606
607
608 #-------------- VARIABLE WRAPPERS ------------------
609
610 wxLIST_MASK_TEXT = controls2c.wxLIST_MASK_TEXT
611 wxLIST_MASK_IMAGE = controls2c.wxLIST_MASK_IMAGE
612 wxLIST_MASK_DATA = controls2c.wxLIST_MASK_DATA
613 wxLIST_MASK_WIDTH = controls2c.wxLIST_MASK_WIDTH
614 wxLIST_MASK_FORMAT = controls2c.wxLIST_MASK_FORMAT
615 wxLIST_STATE_DONTCARE = controls2c.wxLIST_STATE_DONTCARE
616 wxLIST_STATE_DROPHILITED = controls2c.wxLIST_STATE_DROPHILITED
617 wxLIST_STATE_FOCUSED = controls2c.wxLIST_STATE_FOCUSED
618 wxLIST_STATE_SELECTED = controls2c.wxLIST_STATE_SELECTED
619 wxLIST_STATE_CUT = controls2c.wxLIST_STATE_CUT
620 wxLIST_HITTEST_ABOVE = controls2c.wxLIST_HITTEST_ABOVE
621 wxLIST_HITTEST_BELOW = controls2c.wxLIST_HITTEST_BELOW
622 wxLIST_HITTEST_NOWHERE = controls2c.wxLIST_HITTEST_NOWHERE
623 wxLIST_HITTEST_ONITEMICON = controls2c.wxLIST_HITTEST_ONITEMICON
624 wxLIST_HITTEST_ONITEMLABEL = controls2c.wxLIST_HITTEST_ONITEMLABEL
625 wxLIST_HITTEST_ONITEMRIGHT = controls2c.wxLIST_HITTEST_ONITEMRIGHT
626 wxLIST_HITTEST_ONITEMSTATEICON = controls2c.wxLIST_HITTEST_ONITEMSTATEICON
627 wxLIST_HITTEST_TOLEFT = controls2c.wxLIST_HITTEST_TOLEFT
628 wxLIST_HITTEST_TORIGHT = controls2c.wxLIST_HITTEST_TORIGHT
629 wxLIST_HITTEST_ONITEM = controls2c.wxLIST_HITTEST_ONITEM
630 wxLIST_NEXT_ABOVE = controls2c.wxLIST_NEXT_ABOVE
631 wxLIST_NEXT_ALL = controls2c.wxLIST_NEXT_ALL
632 wxLIST_NEXT_BELOW = controls2c.wxLIST_NEXT_BELOW
633 wxLIST_NEXT_LEFT = controls2c.wxLIST_NEXT_LEFT
634 wxLIST_NEXT_RIGHT = controls2c.wxLIST_NEXT_RIGHT
635 wxLIST_ALIGN_DEFAULT = controls2c.wxLIST_ALIGN_DEFAULT
636 wxLIST_ALIGN_LEFT = controls2c.wxLIST_ALIGN_LEFT
637 wxLIST_ALIGN_TOP = controls2c.wxLIST_ALIGN_TOP
638 wxLIST_ALIGN_SNAP_TO_GRID = controls2c.wxLIST_ALIGN_SNAP_TO_GRID
639 wxLIST_FORMAT_LEFT = controls2c.wxLIST_FORMAT_LEFT
640 wxLIST_FORMAT_RIGHT = controls2c.wxLIST_FORMAT_RIGHT
641 wxLIST_FORMAT_CENTRE = controls2c.wxLIST_FORMAT_CENTRE
642 wxLIST_FORMAT_CENTER = controls2c.wxLIST_FORMAT_CENTER
643 wxLIST_AUTOSIZE = controls2c.wxLIST_AUTOSIZE
644 wxLIST_AUTOSIZE_USEHEADER = controls2c.wxLIST_AUTOSIZE_USEHEADER
645 wxLIST_RECT_BOUNDS = controls2c.wxLIST_RECT_BOUNDS
646 wxLIST_RECT_ICON = controls2c.wxLIST_RECT_ICON
647 wxLIST_RECT_LABEL = controls2c.wxLIST_RECT_LABEL
648 wxLIST_FIND_UP = controls2c.wxLIST_FIND_UP
649 wxLIST_FIND_DOWN = controls2c.wxLIST_FIND_DOWN
650 wxLIST_FIND_LEFT = controls2c.wxLIST_FIND_LEFT
651 wxLIST_FIND_RIGHT = controls2c.wxLIST_FIND_RIGHT