[wxPython-users] Re: retrieve entire list from wx.ListCtrl?

Ken ken at sandnarrows.com
Wed Oct 10 06:05:59 PDT 2007


Sure, but the users can delete items from the list. Right now I remove 
from the list as well as the listctrl on delete which works fine, was 
just wondering if there was some method for pulling out the entire list 
from the listctrl.

Ken

Larry Bates wrote:
> Ken wrote:
>> Is there a way to retrieve the entire list at once, as a list, for a 
>> wx.ListCtrl object? I can get items individually and I could loop 
>> through and create my own list, just wondering if there was a method 
>> to do it directly?
>>
>> Thanks,
>>
>> Ken
> 
> Since normally you populated the list, wouldn't you have a copy of all 
> the items in the list stored in a list internally?
> 
> -Larry
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
> 
> 
> 




More information about the wxpython-users mailing list