Detecting if a key is pressed in a callback function
- From: Colossus <colossus 3000 it>
- To: gtk-app-devel-list gnome org
- Subject: Detecting if a key is pressed in a callback function
- Date: Fri, 13 Oct 2006 11:38:43 +0200
Hi,
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?
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org
Xscreencast, a DE independent desktop session recorder -
http://xscreencast.berlios.de
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]