From: Liam C. <cy...@gm...> - 2005-04-10 10:13:06
|
Hi there,=20 Sorry to resurrect an old topic, but just working with the multi-column=20 list. I have the column headings stored in the resource file, but I want to chang= e=20 how the column headings are formatted. AFAIK, in wxPython you can only set= =20 formatting when calling wx.ListCtrl.InsertColumn, which is I believe what= =20 MultiColumnList (MCL) does for my column headings upon instantiation. What I was wondering was would it be possible to have a optional attribute= =20 for that list like=20 'format': None in the resource file? Then you could add in the basic format= s=20 (list_left) if you needed them. I dunno, MultiColumnList is so easy to use compared to the wxPython=20 ListCtrl, so, in my pursuit of maximum effect for minimum effort, I'd rathe= r=20 avoid wx stuff as much as possible. I'm having nightmares after trying to= =20 figure out how to use wx.DC's effectively.=20 Alternatively, would it be possible to stick a method in MCL to effectively= ,=20 destroy the existing MCL and create it again, but with formatting?=20 I know that it would be a 95% un-needed method/attribute, so I'm asking=20 'just in case' someone's poking at MCL and feels creative. Regards,=20 Liam Clarke --=20 'There is only one basic human right, and that is to do as you damn well=20 please. And with it comes the only basic human duty, to take the consequences.' |