[wxPython-users] Re: SetItemPyData() Clarification

Rich Shepard rshepard at appl-ecosys.com
Tue Dec 5 06:13:29 PST 2006


On Tue, 5 Dec 2006, Werner F. Bruhin wrote:

> The return value when adding an item is the TreeItemId.

Good afternoon, Werner,

   I was publicly thinking how to get the appropriate ID when I wrote my
response.

> or if you add later on:
> child = treectrl.GetSelection()

   When I looked at the available functions I saw that GetSelection() would
automagically return the ID of the item to gain a new child.

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863




More information about the wxpython-users mailing list