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

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?


Am Mittwoch, den 26.01.2011, 10:04 +1100 schrieb Kevin Ryde: 
Mario Kemper <mario kemper googlemail com> writes:

What else do we - from a gtk2-perl perspective - have to take into

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 with that list for the keys and
keyval_from_name() or whatever for the values.

(For most uses I expect keyval_from_name() alone is enough.)
gtk-perl-list mailing list
gtk-perl-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]