Re: passing events to widget which is _not_ a parent of the initial widget



>if a signal handler doesn't return FALSE the event is passed on to the
>parents until top-level is reached.
>
>Let's suppose the mouse is over 2 'siblings':
>The 1st (the one with the highest z-order) gets the event, doesnt want
>it and passes it to the parent.

GTK+ doesn't deal with z-order stacking. at least, GTK+ 1.2 doesn't,
and i've never seen anything about GTK+ 2 doing anything any
different. Havoc has said several times that the current code design
specifically does not cover the idea of widgets stacked on top of each
other, even though it may work for a few things.

if you want this, you need to use the GnomeCanvas.

--p



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