Is it possible to hide row/column lables in a wxPython Grid window?

Paul McNett p at ulmcnett.com
Mon Oct 4 15:20:47 EDT 2004


Kevin Dahlhausen writes:

> I looked around the wiki, google, and CLP.  Does anybody know
> if this is possible out of the box?

Try this:

# turn off row labels
grid.SetRowLabelSize(0)
grid.SetColLabelSize(0)

The GUI windows for these labels will still exist, but they 
won't be visible, which is probably all you care about.


-- 
Paul McNett
Independent Software Consultant
http://www.paulmcnett.com



More information about the Python-list mailing list