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?

Regards
Mario

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
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 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
http://mail.gnome.org/mailman/listinfo/gtk-perl-list





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