Re: Gtk2::Gdk::Keysyms - different platforms

2011-01-25 Thread Kevin Ryde
Mario Kemper mario.kem...@googlemail.com writes: What else do we - from a gtk2-perl perspective - have to take into account? Some sort of gdk_list_keysyms() func could have %Gtk2::Gdk::Keysyms built from the library at runtime instead of grepped out of the sources. It could even be a tied hash

Re: Gtk2::Gdk::Keysyms - different platforms

2011-01-25 Thread Mario Kemper
Thanks, Kevin. In order to understand this correctly: I do not have to change my applications any time soon, right? Something like if ($event-keyval == $Gtk2::Gdk::Keysyms{Escape}) { abort_whatever (); return 1; } will still work in the future? Regards Mario Am

Re: Gtk2::Gdk::Keysyms - different platforms

2011-01-25 Thread Kevin Ryde
Mario Kemper mario.kem...@googlemail.com writes: if ($event-keyval == $Gtk2::Gdk::Keysyms{Escape}) { I imagine that can stay. You could also do though ... == Gtk2::Gdk-keyval_from_name('Escape') if that seemed like less loading, or a workaround, or whatever. (It's also one of those