[9909] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Menu item selection
daemon@ATHENA.MIT.EDU (Owen Taylor)
Thu Nov 5 23:09:10 1998
To: gtk-list@redhat.com
From: Owen Taylor <otaylor@redhat.com>
Date: 05 Nov 1998 23:09:24 -0500
In-Reply-To: Conrad Steenberg's message of "Thu, 5 Nov 1998 14:22:41 -0500 (EST)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Conrad Steenberg <conrad@srl.caltech.edu> writes:
> Hi all
>
> Is there some developer out there who knows something about gtk menus who
> can answer the following question:
> What is the sequence of events that occur when a user clicks on a menu
> item?
>
> I'm trying to duplicate these events by using the keyboard, i.e. so that a
> user might get the same effect by e.g. pressing <Alt>F, O as by clicking
> on the File menu, then on the Open menu item. I don't want to create a
> global shortcut for the 'open file' action, which clutters up the keyboard
> 'action-space' needlessly.
>
> Before anyone suggests it, just emitting the "activate" signal for the
> menu item does not do the trick.
That _is_ what happens in the end. If you want the menus to pop
up, and to have arrow key navigation, etc, then you would
need to modify the menu-ing code. Luckily, this has all already
been done in the 1.1 development branch and will be available
as part of the 1.2 release pretty soon.
Regards,
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null