[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Galleries and focus handling
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Wed, 03 May 2006 12:01:21 +0100
- Subject: Re: [XaraXtreme-dev] Galleries and focus handling
--On 03 May 2006 11:51 +0100 Luke Hart <lukeh@xxxxxxxx> wrote:
No, events can be eaten by native (GTK) controls before the wx frame work
even know about them. In order to get all the events I need to handle
them at the application level, which means I pass them on or not based on
the type of control. If we need fine grain control I may have to have
someway of overriding whether a control instance gets keys or not (or
going further allowing a callback to allow a decision as to whether a
particular key should be passed or not).
Can you not prevent these controls from getting focus in the first
place, then give the focus to the window, as opposed to the control?
I suppose that does limit us to the "binary" approach (i.e. controls
either take keys or not).