Re: Automatic focus handling? How do I turn it off?
- From: Ken Simpson <kens ActiveState com>
- To: Havoc Pennington <hp redhat com>
- Cc: <gtk-list gnome org>, <blizzard redhat com>, David Ascher <DavidA ActiveState com>, Mark Hammond <markh ActiveState com>
- Subject: Re: Automatic focus handling? How do I turn it off?
- Date: Mon, 11 Jun 2001 22:06:50 -0700 (PDT)
> Or do you mean GTK has support for moving focus via the Tab key, etc.?
> This is handled initially in the key_press_event default handler in
> gtkwindow.c and from there moves into the "focus" virtual
> function/signal on specific sub-containers.
I apologize if I wasn't clear in my email. The problem is that pressing
keys such as the arrow keys, the backspace, and the tab cause my widget to
lose focus and for its containing window to gain focus. The key press
event first hits my widget and then, once I have returned 0 from the
key_press handler, control returns to gtk, the focus is removed, and the
event is propagated to the containing window where it is handled.
So I suppose it could have something to do with gtk's support for moving
the focus with tab, etc.. How does one turn this functionality off?
Thanks very much for your help, Havoc.
Regards,
Ken
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]