Re: GTK rc binding question
- From: Neil Bird <neil fnxweb com>
- To: GTK Mailing List <gtk-list gnome org>
- Cc: Havoc Pennington <hp redhat com>
- Subject: Re: GTK rc binding question
- Date: Thu, 26 Apr 2001 10:55:57 +0100
Neil Bird wrote:
> I've tried following the code through, but it's a maze of signals &
> event-queues - I got hopelessly lost!
Further info. In the gtkbindings code, if one of the buttons has the
focus, *it* gets the key_press event; the widget path is:
But when the GtkEntry is the current widget, it's *not* the one that
'receives' the event, it's thw window: the path is "GtkWindow".
So it seems impossible to bind to GtkEntry/Editable as key_press events
when an editable is active only 'go' to the top window!?
I haven't figured out how they get to the editable yet ... I guess it's
something to do with the widget somehow claiming sole key-input focus for
thw window (hence the window-level binding).
=====================- http://www.thalesgroup.com/ -=====================
Neil Bird Principal Engineer |
work - mailto:neil bird uk thalesgroup com | $> cd /pub
personal - mailto:neil fnxweb com | $> more beer
] [Thread Prev