On Sat, Jun 19, 2010 at 6:30 AM, sledge hammer
<[email protected]> wrote:

> I want the action to fire to both key-presses, both with GDK_asterisk(in my
> keyboard shift+8) and GDK_KP_Multiply (in numpad).
> Is this even possible?

basically, no.

bindings are from keycodes to actions, not characters to actions.
KP_Multiply and "*" are entirely different keycodes even if they might
often be associated with the same character when used for text entry
etc.

if you want to do this, you'd have to take over keyboard event
handling yourself and then lookup the actions/closures and activate
them.
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to