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

Re: keyboard shortcuts



Thus spoke Fred Jolly
> 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)

gdk/gdkkeysyms.h

> 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 ?

Nope.  Window managers have priority.  It might be possible if the window
manager does some tricks of its own, but you can't force it within your own
application.  Well, take that with a grain of salt - I'm not an expert on
window manager development.  But I'm moderatly certain about this.  Havoc
or Owen may have a better answer.
-- 
Michael J. Hammel           |
The Graphics Muse           | Tell me what you need, and I'll tell you how to
mjhammel@graphics-muse.org  | get along without it. -- Dilbert
http://www.graphics-muse.org



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