From: phlip_cpp@... (Phlip) Date: 2001-10-16T04:45:00+09:00 Subject: [ruby-talk:22586] Re: Gtk - convert keyval to descriptivestring? Neil Conway wrote: > Not anymore ;-) -- I just checked support for this into CVS. If you get > a checkout of the CVS tree from ruby-gnome.sf.net, the new module > Gdk::Keyval should handle this (it implement gdk_keyval_*). For example, > > irb(main):003:0> Gdk::Keyval::name(65470) > "F1" > > I just hacked it up in the past few minutes so if I've missed anything, > let me know. It works great! My line count just went down, and the feature count went up. I would have needed to work for stuff like PageUp, PageDn, Left, Home, etc. I will report to this newsgroup when my little project is ready to conquer the universe. -- Phlip http://www.greencheese.org/HatTrick