Re: "key-release-event" not detected
- From: Ian Bell <ian redtommo com>
- To: gtk-app-devel-list gnome org
- Subject: Re: "key-release-event" not detected
- Date: Sat, 14 Jun 2003 11:34:27 +0100
On Saturday 14 Jun 2003 12:41 am, Loban A Rahman wrote:
I'm having trouble getting a callback called when a "key-release-event"
occurs. I do the following:
g_signal_connect(G_OBJECT(applet->w_applet), "key-press-event",
G_CALLBACK(applet_key_cb), applet);
g_signal_connect(G_OBJECT(applet->w_applet), "key-release-event",
G_CALLBACK(applet_key_cb), applet);
But the applet_key_cb() callback only gets called on "key-press-event"s.
Any ideas what I'm doing wrong?
First check that the event is enabled.
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]