[wxpython-users] remove image of a tree item

wxPython user mailing list, post #18,501
Author:
Date:
Subject:
 Xingzhi Pan
 2008-07-19 00:38:51
 [wxpython-users] remove image of a tree item
Hi list,

Is there a way to remove the image of a TreeCtrl item (as if I never called
TreeCtrl.SetItemImage)?

Thanks,
Pan Xingzhi
<div dir="ltr">Hi list,<br><br>Is there a way to remove the image of a TreeCtrl item (as if I never called TreeCtrl.SetItemImage)?<br><br>Thanks,<br>Pan Xingzhi<br></div>
_______________________________________________
wxpython-users mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Author:
Date:
Subject:
 Robin Dunn
 2008-07-18 12:13:46
 Re: [wxpython-users] remove image of a tree item
Xingzhi Pan wrote:
> Hi list,
>
> Is there a way to remove the image of a TreeCtrl item (as if I never
> called TreeCtrl.SetItemImage)?

Call SetItemImage with an image ID of -1.


--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

_______________________________________________
wxpython-users mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users