Re: trouble with event propagation

2008-04-05 Thread vronskij
Hi, thanks for the clarification. Now I get the picture. I am familiar with the wxWidgets library (wrapper of the GTK+), where the propagation with wxButton works. But it works due to wxWidgets own event handling system. I was a bit misled by this. jan bodnar On Wed, Apr 2, 2008 at 6:28 AM, var

Re: trouble with event propagation

2008-04-01 Thread varun shrivastava
hi the GtkButton widget is handling the event and is returning TRUE, thats why the event is not getting propagated to parents . button-press-event is RUN-LAST so first your handler is called which returns FALSE, than default handler from GtkButton is called which returns true. Thats why if y

trouble with event propagation

2008-03-31 Thread vronskij
Hi, I have a small code example, It should demonstrate the event propagation in GTK+. I have three widgets. A button, fixed container and a window. I have three callbacks. After I click on the button, I expect a message from all these three widgets. First from the button, then from fixed containe