Re: actual ID on treectrl
Karsten Hilbert <[email protected]> Mon, 7 Feb 2022 23:37:54 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <YgGfQqmilptuNxL/@hermes.hilbert.loc> |
Am Sat, Feb 05, 2022 at 11:42:01PM +0000 schrieb Nathan smith: > I have a feeling I'm missing something supremely obvious. > > self.comments.AppendItem > > Returns a treeItemID > > but what I want is an actual item ID, like that returned by event.GetId() from a > listctrl. Tree items don't have a (persistent) ID. But you can supply one by using the TreeHelper mixin. Karsten -- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/YgGfQqmilptuNxL/%40hermes.hilbert.loc.