[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: normal buttons don't get down when pressed with SPACE or ENTER
From:       Antonio Campos <acampos () ceronet ! com>
Date:       2000-02-23 0:09:48
[Download RAW message or body]

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...


-- 
         To unsubscribe: mail gtk-devel-list-request@redhat.com with 
                       "unsubscribe" as the Subject.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic