Re: key_press_event

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

 




> 
> Hello everybody, I would like to know wich key has been pressed when a
key_press_event happen. Do you know how can I do that ??
> 

key_press_hook_function (GtkWidget  *widget,GdkEventKey *event)
{
  look at (event->keyval)
}

To understand the codes:
vi /usr/include/gtk-2.0/gdk/gdkkeysyms.h
                                     Jose Hevia

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux