in reply to Re^2: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings? (wxGrid::SetTable virtual wxGridTableBase)
in thread Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings?
AM, thank you for the correction. Always more to learn.
Response to my inquiry on the wxPerl mailing list:
Hi,
It isn't implemented in wxWidgets - probably because the library attempts to either use the native platform controls or mimic them as closely as possible. If you cannot do it with a native control, you most likely can't do it in wxWidgets. I doubt this is seen as a missing feature so you're unlikely to see it implemented in the future.
Wx::Grid is the way to go to do what you want.
By the way, I noticed on Perl Monks some information regarding how Wx::ListCtrl handles a large number of items.
For that you need to use the wxLC_VIRTUAL|wxREPORT style. See the Wx::Demo where the virtual list control reports 100,000 items.
For a Wx::Grid control with a large number of items, you should use a custom Wx::GridTable. The example in Wx::Demo reports 100,000 columns by 100,000 rows.
Hope it helps. Sorry no positive answer on the column formatting.
Regards
Mark(Dootson)
James
There's never enough time to do it right, but always enough time to do it over...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings? (wxGrid::SetTable virtual wxGridTableBase)
by Anonymous Monk on Mar 29, 2013 at 15:00 UTC |