Re: normal buttons don't get down when pressed with SPACE or ENTER
- From: Antonio Campos <acampos ceronet com>
- To: gtk-devel-list redhat com
- Subject: Re: normal buttons don't get down when pressed with SPACE or ENTER
- Date: Wed, 23 Feb 2000 01:09:48 +0100
Havoc Pennington wrote:
> Antonio Campos <acampos@ceronet.com> writes:
> > But Havoc, when you press a normal button with the mouse and gets down and
> > then you press it with the keyboard (or click, whatever) and doesn't get
> > down, it's really a little annoying (for the user mainly). (not really a big
> > bug, but at least I say it's annoying, because toggle, check and radio
> > buttons does respond to the keyboard presses).
> > I almost managed to change this behaviour changing the sources, but I'm still
> > having problems.
>
> I am sort of convinced you're right.
>
> The key shortcuts aren't done via key press/release on the button,
> they are accelerators; so what you need to do is implement "clicked"
> in such a way that it draws the button pressed in, and installs a
> brief timeout to redraw the button unpressed a moment later.
>
> Havoc
>
> --
> To unsubscribe: mail gtk-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
Well, I tried to do it, but I'm still missing some points, so if anybody is
interested, please e-mail me personally, and we could talk about my mid-patch...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]