Events on GtkScrolledWindow "leak" to underlying GtkEventBox



Hello all,

The situation is as follows; I have a GtkEventBox which contains a
GtkScrolledWindow which contains a GtkLayout (at least this is how Glade
represents the situation; for the rationale behind this setup see my
previous posting).

The problem is that when the GtkScrolledWindow has scrollbars, any
button-press events that happen on those scrollbars "leak" through to the
GtkEventBox. 

The question is how to prevent this, or, how to distinguish between a
button-press event that originated in a scrollbar versus a button-press
event that originated in the GtkLayout space?

Again, your help would be much appreciated :)

Thanks,




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