Re: spacebar accelerator key?
- From: Vlad Harchev <hvv hippo ru>
- To: Gary Scavone <gary ccrma stanford edu>
- Cc: gtk-list gnome org
- Subject: Re: spacebar accelerator key?
- Date: Fri, 11 Aug 2000 14:18:59 +0500 (SAMST)
On Fri, 11 Aug 2000, Vlad Harchev wrote:
Just small fix.
> On Thu, 10 Aug 2000, Gary Scavone wrote:
>
> Hi Gary,
>
> >
> > This is probably a stupid question, but how does one specify that the
> > spacebar be used as an accelerator key for a menu item (using
> > GtkItemFactoryEntry)? Thanks.
>
> I have an impression that it's impossible to have plain characters without
> modifiers to be used as accelerators for menu items. I hope someone will
> correct me if I'm wrong.
>
> You can fake accelerator by connecting to button_press_event on your window,
^key_press_event of course.
> checking for space, and if it was space pressed, calling your action and
> returning TRUE.
>
> > *******************************************************
> > * Gary Scavone *
> > * Center for Computer Research in Music & Acoustics *
> > * Stanford University *
> > * gary@ccrma.stanford.edu *
> > * http://www-ccrma.stanford.edu/~gary/ *
> > *******************************************************
>
> Best regards,
> -Vlad
>
>
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]