Re: FW: [g-a-devel]clarification needed on Keyboard Navigation among buttons.



"JAYARAJ P R" <jayaraj rajappan wipro com> writes:

> Hi,
> 
> A brief description of what has been discussed in the mails below.
> Consider an application (eg gnome-calculator) that has a table of
> buttons. The user can navigate the buttons using the tab key as
> well as the arrow keys. If the focus is on the last button in a
> particular row, and the user presses the right arrow, then currently
> the focus does not always go the first button in the next row (sometimes
> it does, sometimes it goes to some other row, not the next row).
> 
> Now, the requirement is to produce a system beep sound when the
> user tries to press the right arrow key when the focus is on the
> last button in a row (similarly if he/she presses the up arrow
> key when the focus is on the topmost button in a column etc).
> 
> Is it possible to implement this in the application itself ?
> If so, what are the gtk interfaces that needs to be used ?
> 
> Or this is something that has to be fixed at gtk/gdk library
> level?

See:

 http://bugzilla.gnome.org/show_bug.cgi?id=60690

I couldn't figure out any way of solving it that wouldn't be
quite a bit of work, so the assignment to the 2.0.1 milestone
is most likely wrong.

An app could implement other behavior than the GTK+ standard, 
by overriding the ::focus GtkContainer method.

Regards,
                                        Owen



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