I'm trying to create a sudoku solving program with wxPython, and I
like the look of the buttons when they are disabled more so than
enabled for this program, but I still need to capture events from the
button. So is there a way to change the look of a button without
actually disabling it?
like the look of the buttons when they are disabled more so than
enabled for this program, but I still need to capture events from the
button. So is there a way to change the look of a button without
actually disabling it?
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Okay thanks for the replies and that code! I think taking a screenshot
of a disabled button and then placing that on a bitmap button is the
way to go.
···
On Apr 23, 3:34 pm, Christopher Barker <Chris.Bar...@noaa.gov> wrote:
Kevin wrote:
> I'm trying to create a sudoku solving program with wxPython,
See what you think of this. I put it together for fun a while back.
license: do with it what you will.
-Chris
and I
> like the look of the buttons when they are disabled more so than
> enabled for this program, but I still need to capture events from the
> button. So is there a way to change the look of a button without
> actually disabling it?
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Bar...@noaa.gov
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visithttp://groups.google.com/group/wxPython-users?hl=en
Although you are of course free to create your GUI any way you want, if you are thinking of distributing your app to others, I would think a button that ought to be pressed but looks like it is disabled is not a good choice–although I guess not as bad as a button that cannot be pressed but looks like it is enabled