Re: Re: wx.tree
Tim Roberts <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Organization | Providenza & Boekelheide, Inc. |
| Message-ID | <[email protected]> |
Nathan smith wrote: > > > I'm doing a conversion from wx.listctrl to wx.treectrl for this > project, and admit I'm stuck on these two points: > > 1. How do you verify an item is selected? In listctrl this would be > if(self.list.GetFocusedItem()!=-1) > But that produces an error in treectrl if ! self.tree.GetSelection().IsOk(): > and 2, how do you retrieve the focused item? self.tree.GetSelection(). -- Tim Roberts, [email protected] Providenza & Boekelheide, Inc. -- 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/57ca9025-e74b-7b0f-ec6f-eb831963b4f8%40probo.com.
smime.p7s
(application/pkcs7-signature, 3.3 KB) - not displayed