Re: key_release_event problem
- From: Owen Taylor <otaylor gtk org>
- To: David Sundqvist <azzie netpolicy com>
- Cc: gtk-list redhat com
- Subject: Re: key_release_event problem
- Date: 17 May 1998 17:28:04 -0400
David Sundqvist <azzie@netpolicy.com> writes:
> In a project I'm working on I'm trying to install a signal handler for a
> key_release_event. However, the signal handler didnt get called when a key
> was released, so I've compiled gtk with debug options turned on. The
> output from a simple test program appears to show that events for
> keypresses are generated correctly, but it seems that there are no key
> release events generated. Am I missing something, or is there a bug here?
Key release events are not in the event mask for any widget
by default.
Does:
gtk_widget_set_events (widget, GDK_KEY_RELEASE_MASK);
help?
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]