Re: dynamic menu shortcut allocation in gtk+ 1.2
- From: Tim Janik <timj gtk org>
- To: Havoc Pennington <hp redhat com>
- Cc: timecop japan co jp, gtk-list gnome org
- Subject: Re: dynamic menu shortcut allocation in gtk+ 1.2
- Date: Sun, 29 Apr 2001 05:15:06 +0200 (CEST)
On 22 Apr 2001, Havoc Pennington wrote:
>
> <timecop japan co jp> writes:
> > This feature seems absolutely unnecessary for my application. The goal I
> > am trying to achieve is a consistent user inteface, and changing shortcuts
> > is out of the question.
> >
> > I would like to know how to disable this feature, immediately after the
> > application starts, for each new menu that is created.
> >
> > Thank you very much
> >
>
> You call gtk_accel_group_lock() on the accel group to disable this, I
> believe.
>
> It will probably be turned off by default in GTK 2.
changing accelerators on the fly is definitely not going to be default-disabled
in newer gtk versions. it will however be possible to disable this per-user
through gtkrc options, and the current behaviour of conflict resulution will
be refined to be more sensible e.g. about mnemonics.
>
> Havoc
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]