Re: Virtual wxListCtrl
<[email protected]> Tue, 4 Jan 2022 08:05:40 -0700
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
I'm using Append and send in the whole list for the item. I do that in a loop. It seems to be a very happy camper and nicely displays the number just as I sent it (float rounded to two decimals and the ints). I didn't know it wasn't supposed to work 😊 David -----Original Message----- From: Dietmar Schwertberger <[email protected]> Sent: Tuesday, January 4, 2022 3:08 AM To: [email protected] Subject: Re: [wxGlade] Virtual wxListCtrl On 04.01.2022 06:00, [email protected] wrote: > Second question, why does going virtual require you to return a > string? You can put a number in with the regular listctrl but virtual requires the On.. > to return a string. I can handle it ok, but just wondering why. How do you put a number into the list? 'SetItem' does only accept strings. Regards, Dietmar _______________________________________________ wxGlade-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxglade-general _______________________________________________ wxGlade-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxglade-general