Just a quick question,
Is it possible to get animated icon on a tree item in a TreeCtrl?
Hi,
Just a quick question,
Is it possible to get animated icon on a tree item in a TreeCtrl?
No, unless you make the animation yourself, i.e. by using a wx.Timer
and every time the timer is polled you use SetItemImage on the item
you want, by looping through all the images you have. Oh, and be sure
to add every single image composing your GIF to the wx.TreeCtrl image
list with their proper index.
Messy, but it can be done.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
···
On 9 December 2011 11:21, Paul wrote:
Never tried but u sure could use wx.Timer to 'rotate' images and thus
create an animated gif- effect. Plus it gives you way more flexibility ...
Cheers
Tobi
···
Am 09.12.11 11:21, schrieb Paul:
Just a quick question,
Is it possible to get animated icon on a tree item in a TreeCtrl?
Ah thanks, I wouldn't have thought of doing it like that. I think I'll just put
in a static hour glass for now though in favour of an animated spinner until I
get a bit of time