Hello,
Is there any reason why preprocessor macros are used to define the GDK
keysym constants in gdk/gdkkeysyms.h instead of an enum? For what it's
worth, there's no advantage in using macros. They are inconsistent with
other enumerations within GTK+ library, which universally use enums. An
enum offers better scoping and would be easier to wrap on the C++ side.
If there's support, I could prepare a patch that converts the keysym
macros to an enum. From the user's point of view enum and macro
constants are equivalent, so there's no need to wait for an API/ABI break.
Cheers,
Mark
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list