I’m sorry but I haven’t been able to find any examples for using AppendIconTextColumn in a DataViewListCtrl: how should I modify the following script in order to make the icon created with List.make_icon appear next to the ‘Test’ item?
I'm sorry but I haven't been able to find any examples for using
AppendIconTextColumn in a DataViewListCtrl: how should I modify the
following script in order to make the icon created with List.make_icon
appear next to the 'Test' item?
Instead of using a plain string in the data for the row, try using a wx.dataview.DataViewIconText. Like this:
Uh now I get it, that does work indeed, thank you!
···
On 15/03/14 12:49, Robin Dunn wrote:
dariogiova@gmail.com wrote:
I'm sorry but I haven't been able to find any examples for using
AppendIconTextColumn in a DataViewListCtrl: how should I modify the
following script in order to make the icon created with List.make_icon
appear next to the 'Test' item?
Instead of using a plain string in the data for the row, try using a wx.dataview.DataViewIconText. Like this: