Re: Out-dated Gtk2::Gdk::Keysyms document



On 2011-02-24 at 17:31, Keedi Kim wrote:
In Gtk2::Gdk::Keysyms document,
it uses $Gtk2::Gdk::Keysyms{Escape} for key code 'Escape'.
But the source code uses 'KEY_Escape' rather than 'Escape'.

I think POD needs update. :-)

no.

the script that generates the Keysyms module should be pointed to the
gdkkeysyms-compat.h header, which is where the old keysyms are defined.

the new naming scheme was added because, unlike in Perl, the C defines
were not namespaced, and could lead to collisions.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi



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