Re: action based menu code
- From: Tim Janik <timj gtk org>
- To: James Henstridge <james daa com au>
- Cc: Vlad Harchev <hvv hippo ru>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: action based menu code
- Date: Tue, 7 Aug 2001 03:51:44 +0200 (CEST)
On Tue, 7 Aug 2001, James Henstridge wrote:
> On Mon, 6 Aug 2001, Vlad Harchev wrote:
>
> > > Well, GtkAccelGroups support this, and that is what my code is using, so
> > > this is already possible.
> >
> > OK, thanks for the explanation!
> > Just one more (may be stupid) question - will the list of accelerators next
> > to the menuitem show all accelerators or just one (randomly chosen)? Will user
> > be able to delete/reassign/assign accelerator for menu item that has several
> > accelerators?
>
> Well as I said, I used the existing infrastructure in that code, so it is
> possible to set multiple accelerators. The GtkAccelLabel (which is used
> to display the accels in menus) will show all the accelerators that have
> been marked with the visible flag. However, the code in GtkMenu seems to
> delete the existing accels before setting the new one.
yeah, it's hard to tell which one to replace if there are a multitude of
accelerators on a menu item.
>
> James.
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]