wxButton demo

System: Debian, Sarge; wxPython 2.4.0.7

When the "Hello" button in blue is used,
it is surrounded by a sunken area that
is blue too.

When something else is clicked, the sunken
area around the blue button disappears and
only the button itself is blue.

···

--
Antoon Pardon

Antoon Pardon wrote:

System: Debian, Sarge; wxPython 2.4.0.7

When the "Hello" button in blue is used,
it is surrounded by a sunken area that
is blue too.

When something else is clicked, the sunken
area around the blue button disappears and
only the button itself is blue.

The sunken area is how the some themes (and the default theme I think) show that a button is the default button. The button sample in the demo calls SetDefault on that button.

···

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

But as far as I understand, each button becomes the default button
once it has been clicked. Each time you click a button and then
tap the return or space key, it repeats the message of the last
button clicked. Yet the two other buttons don't get such a sunken
area when they are the default. They only get a one pixel black
border.

···

On Thu, Apr 10, 2003 at 10:49:55AM -0700, Robin Dunn wrote:

Antoon Pardon wrote:
>System: Debian, Sarge; wxPython 2.4.0.7
>
>When the "Hello" button in blue is used,
>it is surrounded by a sunken area that
>is blue too.
>
>When something else is clicked, the sunken
>area around the blue button disappears and
>only the button itself is blue.
>

The sunken area is how the some themes (and the default theme I think)
show that a button is the default button. The button sample in the demo
calls SetDefault on that button.

--
Antoon Pardon