Detecting if a key is pressed in a callback function


I have a callback function like this:
g_signal_connect ((gpointer) exe_menu, "activate", G_CALLBACK (xa_convert_sfx), NULL);

I would like to detect if the SHIFT key is pressed in the xa_convert_sfx() routine. Is this possible?
Xarchiver, a Linux GTK+2 only archive manager -
Xscreencast, a DE independent desktop session recorder -
Cpsed, a Linux OpenGL 3D scene editor -

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