Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Wx::Perl: How to change/set font and size of Wx::ListCtrl column headings? (wxGrid::SetTable virtual wxGridTableBase)

by jmlynesjr (Friar)
on Mar 29, 2013 at 13:56 UTC ( #1026155=note: print w/ replies, xml ) Need Help??


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...


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-12-20 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (98 votes), past polls