1 # This file was created automatically by SWIG.
12 from controls
import *
15 def __init__(self
,this
):
19 if self
.thisown
== 1 :
20 controls2c
.delete_wxListItem(self
.this
)
21 def __setattr__(self
,name
,value
):
23 controls2c
.wxListItem_m_mask_set(self
.this
,value
)
25 if name
== "m_itemId" :
26 controls2c
.wxListItem_m_itemId_set(self
.this
,value
)
29 controls2c
.wxListItem_m_col_set(self
.this
,value
)
31 if name
== "m_state" :
32 controls2c
.wxListItem_m_state_set(self
.this
,value
)
34 if name
== "m_stateMask" :
35 controls2c
.wxListItem_m_stateMask_set(self
.this
,value
)
38 controls2c
.wxListItem_m_text_set(self
.this
,value
)
40 if name
== "m_image" :
41 controls2c
.wxListItem_m_image_set(self
.this
,value
)
44 controls2c
.wxListItem_m_data_set(self
.this
,value
)
46 if name
== "m_format" :
47 controls2c
.wxListItem_m_format_set(self
.this
,value
)
49 if name
== "m_width" :
50 controls2c
.wxListItem_m_width_set(self
.this
,value
)
52 self
.__dict
__[name
] = value
53 def __getattr__(self
,name
):
55 return controls2c
.wxListItem_m_mask_get(self
.this
)
56 if name
== "m_itemId" :
57 return controls2c
.wxListItem_m_itemId_get(self
.this
)
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
)
65 return controls2c
.wxListItem_m_text_get(self
.this
)
66 if name
== "m_image" :
67 return controls2c
.wxListItem_m_image_get(self
.this
)
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
76 return "<C wxListItem instance>"
77 class wxListItem(wxListItemPtr
):
79 self
.this
= controls2c
.new_wxListItem()
85 class wxListEventPtr(wxCommandEventPtr
):
86 def __init__(self
,this
):
89 def __setattr__(self
,name
,value
):
91 controls2c
.wxListEvent_m_code_set(self
.this
,value
)
93 if name
== "m_itemIndex" :
94 controls2c
.wxListEvent_m_itemIndex_set(self
.this
,value
)
96 if name
== "m_oldItemIndex" :
97 controls2c
.wxListEvent_m_oldItemIndex_set(self
.this
,value
)
100 controls2c
.wxListEvent_m_col_set(self
.this
,value
)
102 if name
== "m_cancelled" :
103 controls2c
.wxListEvent_m_cancelled_set(self
.this
,value
)
105 if name
== "m_pointDrag" :
106 controls2c
.wxListEvent_m_pointDrag_set(self
.this
,value
.this
)
108 if name
== "m_item" :
109 controls2c
.wxListEvent_m_item_set(self
.this
,value
.this
)
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
)
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
129 return "<C wxListEvent instance>"
130 class wxListEvent(wxListEventPtr
):
131 def __init__(self
,this
):
137 class wxListCtrlPtr(wxControlPtr
):
138 def __init__(self
,this
):
141 def Arrange(self
,*args
):
142 val
= apply(controls2c
.wxListCtrl_Arrange
,(self
.this
,)+args
)
144 def DeleteItem(self
,arg0
):
145 val
= controls2c
.wxListCtrl_DeleteItem(self
.this
,arg0
)
147 def DeleteAllItems(self
):
148 val
= controls2c
.wxListCtrl_DeleteAllItems(self
.this
)
150 def DeleteColumn(self
,arg0
):
151 val
= controls2c
.wxListCtrl_DeleteColumn(self
.this
,arg0
)
153 def DeleteAllColumns(self
):
154 val
= controls2c
.wxListCtrl_DeleteAllColumns(self
.this
)
157 val
= controls2c
.wxListCtrl_ClearAll(self
.this
)
159 def EditLabel(self
,arg0
):
160 val
= controls2c
.wxListCtrl_EditLabel(self
.this
,arg0
)
161 val
= wxTextCtrlPtr(val
)
163 def EndEditLabel(self
,arg0
):
164 val
= controls2c
.wxListCtrl_EndEditLabel(self
.this
,arg0
)
166 def GetEditControl(self
):
167 val
= controls2c
.wxListCtrl_GetEditControl(self
.this
)
168 val
= wxTextCtrlPtr(val
)
170 def EnsureVisible(self
,arg0
):
171 val
= controls2c
.wxListCtrl_EnsureVisible(self
.this
,arg0
)
173 def FindItem(self
,arg0
,arg1
,*args
):
174 val
= apply(controls2c
.wxListCtrl_FindItem
,(self
.this
,arg0
,arg1
,)+args
)
176 def FindItemData(self
,arg0
,arg1
):
177 val
= controls2c
.wxListCtrl_FindItemData(self
.this
,arg0
,arg1
)
179 def FindItemAtPos(self
,arg0
,arg1
,arg2
):
180 val
= controls2c
.wxListCtrl_FindItemAtPos(self
.this
,arg0
,arg1
.this
,arg2
)
182 def GetColumn(self
,arg0
,arg1
):
183 val
= controls2c
.wxListCtrl_GetColumn(self
.this
,arg0
,arg1
.this
)
185 def GetColumnWidth(self
,arg0
):
186 val
= controls2c
.wxListCtrl_GetColumnWidth(self
.this
,arg0
)
188 def GetCountPerPage(self
):
189 val
= controls2c
.wxListCtrl_GetCountPerPage(self
.this
)
191 def GetImageList(self
,arg0
):
192 val
= controls2c
.wxListCtrl_GetImageList(self
.this
,arg0
)
193 val
= wxImageListPtr(val
)
195 def GetItemData(self
,arg0
):
196 val
= controls2c
.wxListCtrl_GetItemData(self
.this
,arg0
)
198 def GetItem(self
,arg0
):
199 val
= controls2c
.wxListCtrl_GetItem(self
.this
,arg0
)
200 val
= wxListItemPtr(val
)
203 def GetItemPosition(self
,arg0
):
204 val
= controls2c
.wxListCtrl_GetItemPosition(self
.this
,arg0
)
205 val
= wxPointPtr(val
)
208 def GetItemRect(self
,arg0
,*args
):
209 val
= apply(controls2c
.wxListCtrl_GetItemRect
,(self
.this
,arg0
,)+args
)
213 def GetItemState(self
,arg0
,arg1
):
214 val
= controls2c
.wxListCtrl_GetItemState(self
.this
,arg0
,arg1
)
216 def GetItemCount(self
):
217 val
= controls2c
.wxListCtrl_GetItemCount(self
.this
)
219 def GetItemSpacing(self
,arg0
):
220 val
= controls2c
.wxListCtrl_GetItemSpacing(self
.this
,arg0
)
222 def GetItemText(self
,arg0
):
223 val
= controls2c
.wxListCtrl_GetItemText(self
.this
,arg0
)
225 def GetNextItem(self
,arg0
,*args
):
226 val
= apply(controls2c
.wxListCtrl_GetNextItem
,(self
.this
,arg0
,)+args
)
228 def GetSelectedItemCount(self
):
229 val
= controls2c
.wxListCtrl_GetSelectedItemCount(self
.this
)
231 def GetTextColour(self
):
232 val
= controls2c
.wxListCtrl_GetTextColour(self
.this
)
233 val
= wxColourPtr(val
)
236 def SetTextColour(self
,arg0
):
237 val
= controls2c
.wxListCtrl_SetTextColour(self
.this
,arg0
.this
)
239 def GetTopItem(self
):
240 val
= controls2c
.wxListCtrl_GetTopItem(self
.this
)
242 def HitTest(self
,arg0
):
243 val
= controls2c
.wxListCtrl_HitTest(self
.this
,arg0
.this
)
245 def InsertColumnWith(self
,arg0
,arg1
):
246 val
= controls2c
.wxListCtrl_InsertColumnWith(self
.this
,arg0
,arg1
.this
)
248 def InsertColumn(self
,arg0
,arg1
,*args
):
249 val
= apply(controls2c
.wxListCtrl_InsertColumn
,(self
.this
,arg0
,arg1
,)+args
)
251 def InsertItem(self
,arg0
):
252 val
= controls2c
.wxListCtrl_InsertItem(self
.this
,arg0
.this
)
254 def InsertStringItem(self
,arg0
,arg1
):
255 val
= controls2c
.wxListCtrl_InsertStringItem(self
.this
,arg0
,arg1
)
257 def InsertImageItem(self
,arg0
,arg1
):
258 val
= controls2c
.wxListCtrl_InsertImageItem(self
.this
,arg0
,arg1
)
260 def InsertImageStringItem(self
,arg0
,arg1
,arg2
):
261 val
= controls2c
.wxListCtrl_InsertImageStringItem(self
.this
,arg0
,arg1
,arg2
)
263 def ScrollList(self
,arg0
,arg1
):
264 val
= controls2c
.wxListCtrl_ScrollList(self
.this
,arg0
,arg1
)
266 def SetBackgroundColour(self
,arg0
):
267 val
= controls2c
.wxListCtrl_SetBackgroundColour(self
.this
,arg0
.this
)
269 def SetColumn(self
,arg0
,arg1
):
270 val
= controls2c
.wxListCtrl_SetColumn(self
.this
,arg0
,arg1
.this
)
272 def SetColumnWidth(self
,arg0
,arg1
):
273 val
= controls2c
.wxListCtrl_SetColumnWidth(self
.this
,arg0
,arg1
)
275 def SetImageList(self
,arg0
,arg1
):
276 val
= controls2c
.wxListCtrl_SetImageList(self
.this
,arg0
.this
,arg1
)
278 def SetItem(self
,arg0
):
279 val
= controls2c
.wxListCtrl_SetItem(self
.this
,arg0
.this
)
281 def SetStringItem(self
,arg0
,arg1
,arg2
,*args
):
282 val
= apply(controls2c
.wxListCtrl_SetStringItem
,(self
.this
,arg0
,arg1
,arg2
,)+args
)
284 def SetItemData(self
,arg0
,arg1
):
285 val
= controls2c
.wxListCtrl_SetItemData(self
.this
,arg0
,arg1
)
287 def SetItemImage(self
,arg0
,arg1
,arg2
):
288 val
= controls2c
.wxListCtrl_SetItemImage(self
.this
,arg0
,arg1
,arg2
)
290 def SetItemPosition(self
,arg0
,arg1
):
291 val
= controls2c
.wxListCtrl_SetItemPosition(self
.this
,arg0
,arg1
.this
)
293 def SetItemState(self
,arg0
,arg1
,arg2
):
294 val
= controls2c
.wxListCtrl_SetItemState(self
.this
,arg0
,arg1
,arg2
)
296 def SetItemText(self
,arg0
,arg1
):
297 val
= controls2c
.wxListCtrl_SetItemText(self
.this
,arg0
,arg1
)
299 def SetSingleStyle(self
,arg0
,*args
):
300 val
= apply(controls2c
.wxListCtrl_SetSingleStyle
,(self
.this
,arg0
,)+args
)
302 def SetWindowStyleFlag(self
,arg0
):
303 val
= controls2c
.wxListCtrl_SetWindowStyleFlag(self
.this
,arg0
)
306 return "<C wxListCtrl instance>"
307 class wxListCtrl(wxListCtrlPtr
):
308 def __init__(self
,arg0
,arg1
,*args
) :
309 argl
= map(None,args
)
310 try: argl
[0] = argl
[0].this
312 try: argl
[1] = argl
[1].this
315 self
.this
= apply(controls2c
.new_wxListCtrl
,(arg0
.this
,arg1
,)+args
)
317 wx
._StdWindowCallbacks
(self
)
322 class wxTreeItemIdPtr
:
323 def __init__(self
,this
):
327 if self
.thisown
== 1 :
328 controls2c
.delete_wxTreeItemId(self
.this
)
330 val
= controls2c
.wxTreeItemId_IsOk(self
.this
)
333 return "<C wxTreeItemId instance>"
334 class wxTreeItemId(wxTreeItemIdPtr
):
336 self
.this
= controls2c
.new_wxTreeItemId()
342 class wxTreeItemDataPtr
:
343 def __init__(self
,this
):
347 val
= controls2c
.wxTreeItemData_GetData(self
.this
)
349 def SetData(self
,arg0
):
350 val
= controls2c
.wxTreeItemData_SetData(self
.this
,arg0
)
353 val
= controls2c
.wxTreeItemData_GetId(self
.this
)
354 val
= wxTreeItemIdPtr(val
)
356 def SetId(self
,arg0
):
357 val
= controls2c
.wxTreeItemData_SetId(self
.this
,arg0
.this
)
360 return "<C wxTreeItemData instance>"
361 class wxTreeItemData(wxTreeItemDataPtr
):
362 def __init__(self
,*args
) :
363 self
.this
= apply(controls2c
.new_wxTreeItemData
,()+args
)
369 class wxTreeEventPtr(wxCommandEventPtr
):
370 def __init__(self
,this
):
374 val
= controls2c
.wxTreeEvent_GetItem(self
.this
)
375 val
= wxTreeItemIdPtr(val
)
378 def GetOldItem(self
):
379 val
= controls2c
.wxTreeEvent_GetOldItem(self
.this
)
380 val
= wxTreeItemIdPtr(val
)
384 val
= controls2c
.wxTreeEvent_GetPoint(self
.this
)
385 val
= wxPointPtr(val
)
389 val
= controls2c
.wxTreeEvent_GetCode(self
.this
)
392 val
= controls2c
.wxTreeEvent_Veto(self
.this
)
395 return "<C wxTreeEvent instance>"
396 class wxTreeEvent(wxTreeEventPtr
):
397 def __init__(self
,this
):
403 class wxTreeCtrlPtr(wxControlPtr
):
404 def __init__(self
,this
):
408 val
= controls2c
.wxTreeCtrl_GetCount(self
.this
)
411 val
= controls2c
.wxTreeCtrl_GetIndent(self
.this
)
413 def SetIndent(self
,arg0
):
414 val
= controls2c
.wxTreeCtrl_SetIndent(self
.this
,arg0
)
416 def GetImageList(self
):
417 val
= controls2c
.wxTreeCtrl_GetImageList(self
.this
)
418 val
= wxImageListPtr(val
)
420 def GetStateImageList(self
):
421 val
= controls2c
.wxTreeCtrl_GetStateImageList(self
.this
)
422 val
= wxImageListPtr(val
)
424 def SetImageList(self
,arg0
):
425 val
= controls2c
.wxTreeCtrl_SetImageList(self
.this
,arg0
.this
)
427 def SetStateImageList(self
,arg0
):
428 val
= controls2c
.wxTreeCtrl_SetStateImageList(self
.this
,arg0
.this
)
430 def GetItemText(self
,arg0
):
431 val
= controls2c
.wxTreeCtrl_GetItemText(self
.this
,arg0
.this
)
433 def GetItemImage(self
,arg0
):
434 val
= controls2c
.wxTreeCtrl_GetItemImage(self
.this
,arg0
.this
)
436 def GetItemSelectedImage(self
,arg0
):
437 val
= controls2c
.wxTreeCtrl_GetItemSelectedImage(self
.this
,arg0
.this
)
439 def SetItemText(self
,arg0
,arg1
):
440 val
= controls2c
.wxTreeCtrl_SetItemText(self
.this
,arg0
.this
,arg1
)
442 def SetItemImage(self
,arg0
,arg1
):
443 val
= controls2c
.wxTreeCtrl_SetItemImage(self
.this
,arg0
.this
,arg1
)
445 def SetItemSelectedImage(self
,arg0
,arg1
):
446 val
= controls2c
.wxTreeCtrl_SetItemSelectedImage(self
.this
,arg0
.this
,arg1
)
448 def SetItemHasChildren(self
,arg0
,*args
):
449 val
= apply(controls2c
.wxTreeCtrl_SetItemHasChildren
,(self
.this
,arg0
.this
,)+args
)
451 def GetItemData(self
,arg0
):
452 val
= controls2c
.wxTreeCtrl_GetItemData(self
.this
,arg0
.this
)
453 val
= wxTreeItemDataPtr(val
)
455 def SetItemData(self
,arg0
,arg1
):
456 val
= controls2c
.wxTreeCtrl_SetItemData(self
.this
,arg0
.this
,arg1
.this
)
458 def GetPyData(self
,arg0
):
459 val
= controls2c
.wxTreeCtrl_GetPyData(self
.this
,arg0
.this
)
461 def SetPyData(self
,arg0
,arg1
):
462 val
= controls2c
.wxTreeCtrl_SetPyData(self
.this
,arg0
.this
,arg1
)
464 def IsVisible(self
,arg0
):
465 val
= controls2c
.wxTreeCtrl_IsVisible(self
.this
,arg0
.this
)
467 def ItemHasChildren(self
,arg0
):
468 val
= controls2c
.wxTreeCtrl_ItemHasChildren(self
.this
,arg0
.this
)
470 def IsExpanded(self
,arg0
):
471 val
= controls2c
.wxTreeCtrl_IsExpanded(self
.this
,arg0
.this
)
473 def IsSelected(self
,arg0
):
474 val
= controls2c
.wxTreeCtrl_IsSelected(self
.this
,arg0
.this
)
476 def GetRootItem(self
):
477 val
= controls2c
.wxTreeCtrl_GetRootItem(self
.this
)
478 val
= wxTreeItemIdPtr(val
)
481 def GetSelection(self
):
482 val
= controls2c
.wxTreeCtrl_GetSelection(self
.this
)
483 val
= wxTreeItemIdPtr(val
)
486 def GetParent(self
,arg0
):
487 val
= controls2c
.wxTreeCtrl_GetParent(self
.this
,arg0
.this
)
488 val
= wxTreeItemIdPtr(val
)
491 def GetChildrenCount(self
,arg0
,*args
):
492 val
= apply(controls2c
.wxTreeCtrl_GetChildrenCount
,(self
.this
,arg0
.this
,)+args
)
494 def GetFirstChild(self
,arg0
,arg1
):
495 val
= controls2c
.wxTreeCtrl_GetFirstChild(self
.this
,arg0
.this
,arg1
)
497 def GetNextChild(self
,arg0
,arg1
):
498 val
= controls2c
.wxTreeCtrl_GetNextChild(self
.this
,arg0
.this
,arg1
)
500 def GetNextSibling(self
,arg0
):
501 val
= controls2c
.wxTreeCtrl_GetNextSibling(self
.this
,arg0
.this
)
502 val
= wxTreeItemIdPtr(val
)
505 def GetPrevSibling(self
,arg0
):
506 val
= controls2c
.wxTreeCtrl_GetPrevSibling(self
.this
,arg0
.this
)
507 val
= wxTreeItemIdPtr(val
)
510 def GetFirstVisibleItem(self
):
511 val
= controls2c
.wxTreeCtrl_GetFirstVisibleItem(self
.this
)
512 val
= wxTreeItemIdPtr(val
)
515 def GetNextVisible(self
,arg0
):
516 val
= controls2c
.wxTreeCtrl_GetNextVisible(self
.this
,arg0
.this
)
517 val
= wxTreeItemIdPtr(val
)
520 def GetPrevVisible(self
,arg0
):
521 val
= controls2c
.wxTreeCtrl_GetPrevVisible(self
.this
,arg0
.this
)
522 val
= wxTreeItemIdPtr(val
)
525 def AddRoot(self
,arg0
,*args
):
526 argl
= map(None,args
)
527 try: argl
[2] = argl
[2].this
530 val
= apply(controls2c
.wxTreeCtrl_AddRoot
,(self
.this
,arg0
,)+args
)
531 val
= wxTreeItemIdPtr(val
)
534 def PrependItem(self
,arg0
,arg1
,*args
):
535 argl
= map(None,args
)
536 try: argl
[2] = argl
[2].this
539 val
= apply(controls2c
.wxTreeCtrl_PrependItem
,(self
.this
,arg0
.this
,arg1
,)+args
)
540 val
= wxTreeItemIdPtr(val
)
543 def InsertItem(self
,arg0
,arg1
,arg2
,*args
):
544 argl
= map(None,args
)
545 try: argl
[2] = argl
[2].this
548 val
= apply(controls2c
.wxTreeCtrl_InsertItem
,(self
.this
,arg0
.this
,arg1
.this
,arg2
,)+args
)
549 val
= wxTreeItemIdPtr(val
)
552 def AppendItem(self
,arg0
,arg1
,*args
):
553 argl
= map(None,args
)
554 try: argl
[2] = argl
[2].this
557 val
= apply(controls2c
.wxTreeCtrl_AppendItem
,(self
.this
,arg0
.this
,arg1
,)+args
)
558 val
= wxTreeItemIdPtr(val
)
561 def Delete(self
,arg0
):
562 val
= controls2c
.wxTreeCtrl_Delete(self
.this
,arg0
.this
)
564 def DeleteChildren(self
,arg0
):
565 val
= controls2c
.wxTreeCtrl_DeleteChildren(self
.this
,arg0
.this
)
567 def DeleteAllItems(self
):
568 val
= controls2c
.wxTreeCtrl_DeleteAllItems(self
.this
)
570 def Expand(self
,arg0
):
571 val
= controls2c
.wxTreeCtrl_Expand(self
.this
,arg0
.this
)
573 def Collapse(self
,arg0
):
574 val
= controls2c
.wxTreeCtrl_Collapse(self
.this
,arg0
.this
)
576 def CollapseAndReset(self
,arg0
):
577 val
= controls2c
.wxTreeCtrl_CollapseAndReset(self
.this
,arg0
.this
)
579 def Toggle(self
,arg0
):
580 val
= controls2c
.wxTreeCtrl_Toggle(self
.this
,arg0
.this
)
583 val
= controls2c
.wxTreeCtrl_Unselect(self
.this
)
585 def SelectItem(self
,arg0
):
586 val
= controls2c
.wxTreeCtrl_SelectItem(self
.this
,arg0
.this
)
588 def EnsureVisible(self
,arg0
):
589 val
= controls2c
.wxTreeCtrl_EnsureVisible(self
.this
,arg0
.this
)
591 def ScrollTo(self
,arg0
):
592 val
= controls2c
.wxTreeCtrl_ScrollTo(self
.this
,arg0
.this
)
594 def EditLabel(self
,arg0
):
595 val
= controls2c
.wxTreeCtrl_EditLabel(self
.this
,arg0
.this
)
596 val
= wxTextCtrlPtr(val
)
598 def GetEditControl(self
):
599 val
= controls2c
.wxTreeCtrl_GetEditControl(self
.this
)
600 val
= wxTextCtrlPtr(val
)
602 def EndEditLabel(self
,arg0
,*args
):
603 val
= apply(controls2c
.wxTreeCtrl_EndEditLabel
,(self
.this
,arg0
.this
,)+args
)
605 def SetItemBold(self
,arg0
,*args
):
606 val
= apply(controls2c
.wxTreeCtrl_SetItemBold
,(self
.this
,arg0
.this
,)+args
)
608 def IsBold(self
,arg0
):
609 val
= controls2c
.wxTreeCtrl_IsBold(self
.this
,arg0
.this
)
611 def HitTest(self
,arg0
):
612 val
= controls2c
.wxTreeCtrl_HitTest(self
.this
,arg0
.this
)
613 val
= wxTreeItemIdPtr(val
)
617 return "<C wxTreeCtrl instance>"
619 # Redefine a couple methods that SWIG gets a bit confused on...
620 def GetFirstChild(self
,arg0
,arg1
):
621 val1
, val2
= controls2c
.wxTreeCtrl_GetFirstChild(self
.this
,arg0
.this
,arg1
)
622 val1
= wxTreeItemIdPtr(val1
)
625 def GetNextChild(self
,arg0
,arg1
):
626 val1
, val2
= controls2c
.wxTreeCtrl_GetNextChild(self
.this
,arg0
.this
,arg1
)
627 val1
= wxTreeItemIdPtr(val1
)
631 class wxTreeCtrl(wxTreeCtrlPtr
):
632 def __init__(self
,arg0
,*args
) :
633 argl
= map(None,args
)
634 try: argl
[1] = argl
[1].this
636 try: argl
[2] = argl
[2].this
639 self
.this
= apply(controls2c
.new_wxTreeCtrl
,(arg0
.this
,)+args
)
641 wx
._StdWindowCallbacks
(self
)
648 #-------------- FUNCTION WRAPPERS ------------------
652 #-------------- VARIABLE WRAPPERS ------------------
654 wxLIST_MASK_TEXT
= controls2c
.wxLIST_MASK_TEXT
655 wxLIST_MASK_IMAGE
= controls2c
.wxLIST_MASK_IMAGE
656 wxLIST_MASK_DATA
= controls2c
.wxLIST_MASK_DATA
657 wxLIST_MASK_WIDTH
= controls2c
.wxLIST_MASK_WIDTH
658 wxLIST_MASK_FORMAT
= controls2c
.wxLIST_MASK_FORMAT
659 wxLIST_MASK_STATE
= controls2c
.wxLIST_MASK_STATE
660 wxLIST_STATE_DONTCARE
= controls2c
.wxLIST_STATE_DONTCARE
661 wxLIST_STATE_DROPHILITED
= controls2c
.wxLIST_STATE_DROPHILITED
662 wxLIST_STATE_FOCUSED
= controls2c
.wxLIST_STATE_FOCUSED
663 wxLIST_STATE_SELECTED
= controls2c
.wxLIST_STATE_SELECTED
664 wxLIST_STATE_CUT
= controls2c
.wxLIST_STATE_CUT
665 wxLIST_HITTEST_ABOVE
= controls2c
.wxLIST_HITTEST_ABOVE
666 wxLIST_HITTEST_BELOW
= controls2c
.wxLIST_HITTEST_BELOW
667 wxLIST_HITTEST_NOWHERE
= controls2c
.wxLIST_HITTEST_NOWHERE
668 wxLIST_HITTEST_ONITEMICON
= controls2c
.wxLIST_HITTEST_ONITEMICON
669 wxLIST_HITTEST_ONITEMLABEL
= controls2c
.wxLIST_HITTEST_ONITEMLABEL
670 wxLIST_HITTEST_ONITEMRIGHT
= controls2c
.wxLIST_HITTEST_ONITEMRIGHT
671 wxLIST_HITTEST_ONITEMSTATEICON
= controls2c
.wxLIST_HITTEST_ONITEMSTATEICON
672 wxLIST_HITTEST_TOLEFT
= controls2c
.wxLIST_HITTEST_TOLEFT
673 wxLIST_HITTEST_TORIGHT
= controls2c
.wxLIST_HITTEST_TORIGHT
674 wxLIST_HITTEST_ONITEM
= controls2c
.wxLIST_HITTEST_ONITEM
675 wxLIST_NEXT_ABOVE
= controls2c
.wxLIST_NEXT_ABOVE
676 wxLIST_NEXT_ALL
= controls2c
.wxLIST_NEXT_ALL
677 wxLIST_NEXT_BELOW
= controls2c
.wxLIST_NEXT_BELOW
678 wxLIST_NEXT_LEFT
= controls2c
.wxLIST_NEXT_LEFT
679 wxLIST_NEXT_RIGHT
= controls2c
.wxLIST_NEXT_RIGHT
680 wxLIST_ALIGN_DEFAULT
= controls2c
.wxLIST_ALIGN_DEFAULT
681 wxLIST_ALIGN_LEFT
= controls2c
.wxLIST_ALIGN_LEFT
682 wxLIST_ALIGN_TOP
= controls2c
.wxLIST_ALIGN_TOP
683 wxLIST_ALIGN_SNAP_TO_GRID
= controls2c
.wxLIST_ALIGN_SNAP_TO_GRID
684 wxLIST_FORMAT_LEFT
= controls2c
.wxLIST_FORMAT_LEFT
685 wxLIST_FORMAT_RIGHT
= controls2c
.wxLIST_FORMAT_RIGHT
686 wxLIST_FORMAT_CENTRE
= controls2c
.wxLIST_FORMAT_CENTRE
687 wxLIST_FORMAT_CENTER
= controls2c
.wxLIST_FORMAT_CENTER
688 wxLIST_AUTOSIZE
= controls2c
.wxLIST_AUTOSIZE
689 wxLIST_AUTOSIZE_USEHEADER
= controls2c
.wxLIST_AUTOSIZE_USEHEADER
690 wxLIST_RECT_BOUNDS
= controls2c
.wxLIST_RECT_BOUNDS
691 wxLIST_RECT_ICON
= controls2c
.wxLIST_RECT_ICON
692 wxLIST_RECT_LABEL
= controls2c
.wxLIST_RECT_LABEL
693 wxLIST_FIND_UP
= controls2c
.wxLIST_FIND_UP
694 wxLIST_FIND_DOWN
= controls2c
.wxLIST_FIND_DOWN
695 wxLIST_FIND_LEFT
= controls2c
.wxLIST_FIND_LEFT
696 wxLIST_FIND_RIGHT
= controls2c
.wxLIST_FIND_RIGHT