Aw: Re: actual ID on treectrl
Karsten Hilbert <[email protected]> Tue, 8 Feb 2022 08:19:10 +0100
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <trinity-f2e31da1-26ee-4301-bbab-99c02d30efe7-1644304750319@3c-app-gmx-bs63> |
> maybe this is what he is looking for > =C2=A0 > def onTreeRightClick( self, event, gui): > cf =3D currentframe() > filename =3D getframeinfo(cf).filename > self.trace(sys._getframe().f_code.co_name, cf.f_lineno, getframeinfo(= cf).filename) >=20 > child =3D event.GetItem() <---- return item reference =C2=A0 Perhaps, but then that's the item itself, not an ID thereof (of which there is none AFAIK). Karsten --=20 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 e= mail to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/= wxpython-users/trinity-f2e31da1-26ee-4301-bbab-99c02d30efe7-1644304750319%4= 03c-app-gmx-bs63.