Re: Simple Gtk app.

Angelo Cano <acano systec com> writes: 
/*FIXME the values for GDK_(left|up|righ|down)arrow from gdkkeysyms.h
 * don't seem to match the values reported in the key press callback :(
 * I guess I'm doing something wrong here.
 * #include <gdk/gdkkeysyms.h>
#define LEFT_KEY  (65361)
#define UP_KEY    (65362)
#define RIGHT_KEY (65363)
#define DOWN_KEY  (65364)

Use GDK_Up, GDK_Right, rather than GDK_uparrow, etc.


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