Re: focus questions
- From: Havoc Pennington <hp redhat com>
- To: <pavel klebanov ne mediaone net>
- Cc: Mark Leisher <mleisher crl nmsu edu>, gtk-app-devel-list gnome org
- Subject: Re: focus questions
- Date: 02 Jan 2001 19:37:03 -0500
<pavel klebanov ne mediaone net> writes:
Thanks! Another one. How do I prevent the window (within which my widgets
are) from getting the signal. For instance, I want to use the arrow to
move something but instead focus shifts to another widget.
To override that it's easiest to connect to key_press_event on the
toplevel GtkWindow, then gtk_signal_emit_stop_by_name() the
key_press_event if it's an arrow key.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]