[Y-devel] event propagation

Scott Beck sbeck at gossamer-threads.com
Sun Feb 22 23:03:57 GMT 2004


There was a mistake in the original patch pointed out by Cardoe on IRC.
Here is the update.

On Sat, 2004-02-21 at 12:48, Scott Beck wrote:
> Hi,
> 
> This patch adds event propagation to the client side widget code. It
> works similar to Gtk in that the handler returning true means the event
> was handled in not to propagate it upwards. All events start at the
> widget of focus and bubble up. This is needed for things like
> application key bindings and can be used for a number of other things. I
> am not sure what I have here is the best way to handle it. Suggestions
> welcome.
> 
> Cheers,
> 
> Scott
-- 
Scott Beck <sbeck at gossamer-threads.com>
Gossamer Threads
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event-propagation.patch
Type: text/x-patch
Size: 6075 bytes
Desc: not available
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040222/e404468a/event-propagation-0001.bin


More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved