Re: "Highlighting gtk_radio_button(s) when using only the TAB-key"



"Dr. Chiarello Davide" <ovichi tin it> writes:

On Sat, 23 Nov 2002, Owen Taylor wrote:


"Dr. Chiarello Davide" <ovichi tin it> writes:

Hi folk!
Is there a way to "highlight" a gtk_radio_button or a button when it is
selected using only the TAB-key on the keyboard?

By default, when "TABBING" around, you can only see a quick blink on the
button but then you can't understad where the 'focus' is anymore.

Can you demonstrate with a screenshot? GTK+-1.2 or GTK+-2.0?

Focus on both radio buttons and buttons should be quite obvious.
(A solid line around the control on GTK+-1.2, a dotted line
around the text of the control for GTK+-2.0.)

Regards,
                                        Owen


I use GTK+-1.2;
I've included two images : yes, there is only a thin solid
line around the button but the only way to see if the focus is on a radio
or a check button is to press the spacebar to see if it is activated or
not...
All check/radio buttons are highlighted when the mouse is on, I wish to
see a similar thing for the keyboard..

The default GTK+-1.2 theme will have the line around the check/radio
buttons; the theme you are using is broken.. switch to a better theme :-)

"Prelighting" buttons on focus would be odd and inconsistent
with standard graphical user interface conventions, but a GTK+-2.0
theme could do it easily enough. A GTK+-1.2 theme probably too,
though it might take some hackery.

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]