Is it possible to insert a hyperlink into a ListCtrl? Or do I need to fake it by setting each item’s font and bind to wx.EVT_LIST_ITEM_SELECTED? Thanks.
wx.ListCtrl doesn't support embedding other widgets, although with some work it can be forced, so all that is left is to manipulate what wx.ListCtrl makes available to you. So yes, you need to fake it.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Thanks for the clarification about embedding widgets into the ListCtrl.
I had a sneaky suspicion that was the way it was.
wx.ListCtrl doesn't support embedding other widgets, although with
some
work it can be forced
When you say this do you mean like how the CheckListCtrlMixin works by
drawing checkboxes where the image in the list would be? Or by some
other method, like positioning a widget over the list giving the
appearance that it's embedded?
Yes, the latter is what I was thinking of. For example, the TextEditMixin class in wx.lib.mixins.listctrl.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!