dgross@rchland.iinus1.ibm.com (Dave Gross) (10/31/90)
I would like to write an application that binds the <Esc> key to a function, rather than using it as a prefix for multiple key stroke commands. I would also like to bind the Shift-tab key to a function. Is this even possible in ATK? Where can I find a list of all the key codes I may use in keymap_BindToKey? It seems that ATK overrides many X key bindings to return different codes. For example, the F1 key returns <Esc>-S. It would be nice as a programmer of ATK to be able to have better control over key codes, so that one would be able to tell the difference between an F1 and an <Esc>-S. Couldn't ATK define unique identifiers to each key like X does and allow the programmer to use these identifiers (e.g., ATKK_F1, ATKK_Tab, etc.)? I don't know if the current state of key mappings is an historical accident or required for other window managers, but is there any way to make it more usable? Thanks, -- Dave Gross 507/286-6785