I've been doing some html work, and tables allow you to make some good
looking UIs with just background colors and border colors...
I was thinking this could be duplicated in wxPython by using panels,
but is there a way to set the border color? Is there a way to say only
draw the border on the top and not the other sides?
If not - is there a python based fill in for the panel that draws its
own border and which I could modify to add these?
I think most desktop developers would be inclined to use a ListCtrll in Report mode for the things an HTML table is used for in web apps. If you really want the same look, there is always the wx.HtmlWindow. Otherwise, I think you’ll have to roll your own, starting with a wx.Window, and drawing everything yourself.
Yeah subclassing and drawing my own partial borders got me where I
wanted
to be. Wasn't sure it would be so straightforward. I have need of this
all over my
apps - say making a simple border between two panels without then
drawing a
border around the whole panel.
HtmlWindow would be useful for parts of my GUI if it had a real
renderer
behind it.
I can't stand having everything be the OS default grays and crappy
colors. I
want my apps to be my apps.. AGW thankfully allows me to do most of
what
I want and in my own colors.
Mark
···
On Jul 25, 8:21 am, Michael Moriarity <datasm...@gmail.com> wrote:
Hello Mark:
I think most desktop developers would be inclined to use a ListCtrll in
Report mode for the things an HTML table is used for in web apps. If you
really want the same look, there is always the wx.HtmlWindow. Otherwise, I
think you'll have to roll your own, starting with a wx.Window, and drawing
everything yourself.