Question about wx BoxSizer background

Miki miki.tebeka at gmail.com
Thu Aug 21 21:01:25 EDT 2008


Hello,

> I'm creating a table with gridSizer,  and I'm trying to set cell
> background like I use to do with HTML
>
> so I tried this:
> BoxName =wx.BoxSizer(wx.HORIZONTAL)
> BoxName.SetBackgroundColour('#cce8fa')
>
> and it told me their is no sauce function
A sizer is just for layout management, it does not show on the screen.
You need to set the color of the items inside the sizer or the item
the this is it's main sizer.

HTH,
--
Miki <miki.tebeka at gmail.com>
http://pythonwise.blogspot.com




More information about the Python-list mailing list