[wxPython-users] few grid customization questions
Christopher Barker
Chris.Barker at noaa.gov
Wed Sep 6 09:53:10 PDT 2006
Jason Wang wrote:
> Is there a better way to represent a board that i have altogether missed?
I don't know if they are better, but here are a few other otpions:
1) Use a GridSizer and wx.Buttons (or maybe better yet, use the custom
buttons that are in wx.lib -- see the demo)
2) Draw the whole grid yourself with wx.DCs -- see the Wiki for various
pages that will help with this -- the double buffer page is one place to
start.
3) Use wx.lib.floatcanvas. See the demo, and send a note to me if you
want the latest version with additional demos. A ScaledTextBox for each
square could work well -- this would make the grid fully scalable.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list