border color

Hi,

it is possible to set the border color of a widget independently of the rest
of this widget? I wouldn't ask if I had found some example.

TIA
Christian

I don't believe you can, but you can fake it.

Create a wx.Window instance, set its background color, give it a sizer,
create the child window, add the child window to the sizer and give it a
border of however much border you want.

- Josiah

···

Christian Meesters <meesters@uni-mainz.de> wrote:

Hi,

it is possible to set the border color of a widget independently of the rest
of this widget? I wouldn't ask if I had found some example.

Christian Meesters wrote:

Hi,

it is possible to set the border color of a widget independently of the rest of this widget? I wouldn't ask if I had found some example.

No, borders are left up to the native implementation to handle.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!