[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: discriminating accelerators
- From: M Santhoff t-online de (Marc Santhoff)
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: discriminating accelerators
- Date: Wed, 24 Mar 2004 05:29:04 +0100
Am Mi, den 24.03.2004 schrieb Tim Evans um 05:06:
> Marc Santhoff wrote:
>
> > Hi!
> >
> > In my app I want to reach the following:
> >
> > - one toplevel window
> > - a notebook with several pages for input
> > - on the notebook pages some buttons with accelerators attached
> > - some of the accelerator keys are the same and should behave
> > differently
> >
> > May question:
> >
> > If page one has an accel key "F1" and page two either, how can i prevent
> > page two form taking over the accelerator?
> >
> > It seems to be always the last created who wins. But actually the active
> > page in the notebook should be steering the reaction on the keypress.
>
> This looks a lot like this bug:
> http://bugzilla.gnome.org/show_bug.cgi?id=122912
>
> Gnome bugzilla is currently down, so you can't follow that link right
> now. The bug was an error in starting accelerators where a widgets
> visibility was not checked. I believe that it is fixed in gtk+-2.4.0.
Umm, forgot to say: I have to use GTK 1.2 and cannot change it ... any
solution in sight for this case ?
Maybe i can selctively activate and deactivate the accelerator groups
for the individual tabs (my understanding of those accel groups and the
related functions is rather small)?
Marc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]