[Y-devel] event propagation

Scott Beck sbeck at gossamer-threads.com
Sat Feb 21 20:48:23 GMT 2004


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: 6069 bytes
Desc: not available
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040221/cd5a9c21/event-propagation.bin


More information about the Y-devel mailing list









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