Re: [gtk-list] The GdkEventAny structure




On Wed, 3 Nov 1999, Gustavo Joćo Alves Marques Carneiro wrote:
> 	Hi. In a custom widget I've made, I'm trying to synchronize two
> instances of that widget, that is, whatever the user does to one of the
> widgets automatically happens to the other.

Why not write a wrapper function for sending the events:

 send_event(widget, event)

then if the widget gets an event this way it doesn't propagate it.

Of course Federico is right, his way is better.

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]