[wxPython-users] How do you get the SUNKEN_BORDER effect?

Robin Dunn robin at alldunn.com
Wed Dec 12 13:41:25 PST 2007


Regan Tackett wrote:
> I'm wanting to incorporate a small x-y plotter that I have written in a panel. 
> At the present time, I just have the plotted region surrounded by a black box
> using dc.DrawRectangle.  This looks kind of bland.  I would like to make the
> plot region look sunken into the panel.  Does anyone know how I could accomplish
> this with the basic drawing tools?

See the first DrawBezel method in wx/lib/buttons.py


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




More information about the wxpython-users mailing list