vern@2007-08-12:/var% ls tags

Get ascii code from GdkEventKey-Keyval

FROM: http://mail.gnome.org/archives/gtk-app-devel-list/2003-December/msg00352.html

gdk_keyval_name() which converts a key value to a symbolic name, 
or
gdk_keyval_from_name(), which converts a key name to an actual keyvalue.