[wxPython-users] What's PyData?
Robin Dunn
robin at alldunn.com
Sun Dec 3 16:28:09 PST 2006
Rich Shepard wrote:
> On Fri, 1 Dec 2006, Robin Dunn wrote:
>
>> The PyData term comes from wx.TreeCtrl where we have both the original
>> SetItemData method that takes a wx.TreeItemData object, and also an added
>> SetItemPyData that has been adapted for convenience to take any python
>> object and wrap it in a wx.TreeItemData
>
> Robin,
>
> I _think_ I understand the need for a different term in each case, but I
> don't have enough experience to know when the PyData variant is needed. I
> suspect that with my current application I don't need to know this
> difference.
Just use SetItemPyData with tree ctrls and don't worry about the
implementation details. That's why it's there. ;-)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list