Re: Keybindings



On Jun 8, 2006, at 2:45 PM, Adam Tee wrote:
Is there anyway of overriding a window managers keybindings in an
application ?

AFAIK, no. I could be wrong here, but I believe the window manager sees the keys before they ever get to the application, and eats them. Some window managers may potentially support a "pass-through" mode, but I don't know (I don't know that I've ever seen such a features, except I seem to remember one in an older version of wmii that was user-activated, not program-activated).

Besides, overriding the WM's keybindings would be detrimental to users - they expect the WM keybindings to work the same in all applications. Especially those of us using highly kbd-driven WM's.

The second concerns menued items which have been configured using an
array of GtkActionEntries.  Can I changed the associated keybindings on
the fly, i.e. after loading a keymap file ?  The menus are defined in a
xml file.

Can't help you there. I'm a bit fuzzy on the details of managing accellerator myself.

- Michael




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