[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: keyboard shortcuts



Fred Jolly wrote:
> 
> Hello.
> 
> I'd like to create keyboard shortcuts in my GTK application, using
> accelerator groups.
> Where can I find the list of all the keys that can be attached in a
> accel_group ? (I'd like to use  : TAB, SPACE, ENTER, ESC)
> 
> And I've another problem : some keys (F2 for example) are yet keyboard
> shortcuts for the window manager. Is there a way to grab them first in
> my gtk app ?
> 
> Thanks.
> 
> Fred.

Look in gtkentry.c, or maybe it's gtkentry.h.  You'll see a
list there.  If you're not using gtkentry, or gtkeditable,
or gtktext, then you don't have to worry about those.

As far as I know Alt-b Alt-d and Alt-f are also trapped, but
most of the rest of the alt keys might be OK.
> 
> --
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
> 
>         Mailing list concerns should be mailed to <listmaster@redhat.com>

-- 
> ===============================================================
> + Bob Lissner                      lissnerr@coldsprings.net   +
> + ColdSpringsVillage.com           Lifestyle Homes, Inc.      +
> + A web site -- a new town -- a new standard for new homes    +
> ===============================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]