Re: [gtk-list] key_release_event
- From: Stephen Witkop <switk worldnet att net>
- To: gtk-list <gtk-list redhat com>
- Subject: Re: [gtk-list] key_release_event
- Date: Mon, 03 May 1999 22:13:56 -0400
I haven't used the perl bindings but it works for me with Gtk+ with the
following code.
gtk_widget_set_events(GTK_WIDGET(window),
GDK_EXPOSURE_MASK|
GDK_KEY_PRESS_MASK|
GDK_KEY_RELEASE_MASK);
gtk_signal_connect(GTK_OBJECT (window), "key_press_event",
GTK_SIGNAL_FUNC(key_press_event), entry);
gtk_signal_connect(GTK_OBJECT (window), "key_release_event",
GTK_SIGNAL_FUNC(key_release_event), entry);
HTH
--
Stephen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]