[wxPython-users] Choicebook - icons in choice control?
Robin Dunn
robin at alldunn.com
Thu Jan 24 09:57:46 PST 2008
Kevin Dahlhausen wrote:
> I'd like to have an icon next to the label text in the choice control of
> my Choicebook.
>
> I haven't found any ideas on this. I did see Andrea Gavana's
> ExtendedChoice at
> http://xoomer.alice.it/infinity77/main/ExtendedChoice.html, but I've
> reached a dead
> end on trying to replace the normal Choice with the Extended one.
>
> Does anyone have a suggestion or link to a solution?
The Choicebook uses a native wxChoice widget which doesn't support
icons. If you want to use the ExtendedChoice you'll have to replicate
the notebook part of the functionality yourself, but that isn't too
hard. You just need to manage a collection of panels and Show() one of
them and Hide() the others as directed by the user's choice.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list