Thread: wxPython Help
View Single Post
Old May 28th, 2006, 3:16 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,024
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
wxPython Help

I've got several questions about wxPython, and I'm trying my best to solve them all myself. So, for now, I'll just start with a basic question I've been trying to figure out myself.

How do I make a flat button? The darker ones that you can not click? I have tried...

        but_cancel = wx.Button(panel, ID_CANCEL, "Cancel", style=wxNO_BORDER )

wxNO_BORDER, is supposed to flatten it in Windows and GTK+. However, it still displays as a normal button.

Help?
Sane is offline   Reply With Quote